-
Notifications
You must be signed in to change notification settings - Fork 59
Add dmesg-/kptr-restrict options #69
Copy link
Copy link
Open
Description
Is your feature request related to a problem? Please describe.
Currently, there is no way to set these options:
# https://sysctl-explorer.net/kernel/dmesg_restrict/
echo 1 > /proc/sys/kernel/dmesg_restrict
https://sysctl-explorer.net/kernel/kptr_restrict/
echo 1 > /proc/sys/kernel/kptr_restrict
For example, fine-grained KASLR aka FG-KASLR can be set during compile options with -e CONFIG_FG_KASLR, which our current config.ini supports already
Note: FG-KASLR seems to be exclusive to x86_64 and can be disabled at runtime with the nokaslr or nofgkaslr
Describe the solution you'd like
I'd like a user exposed config options for these to be set in the debugged kernel
Reactions are currently unavailable