Skip to content

Add dmesg-/kptr-restrict options #69

Description

@0xricksanchez

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions