[ubuntu-hardened] Sysctl for set_kernel_text_r[wo]

David Windsor dwindsor at gmail.com
Mon Sep 19 01:42:59 UTC 2011


I am looking into adding a sysctl that enables toggling of
set_kernel_text_rw, set_kernel_text_ro.  It appears that the only
caller of these methods is ftrace, which can rather easily be disabled
when these methods are unavailable.

I'm afraid I'm overlooking something major here.  It seems that such a
control would have been added much earlier if it was actually as
simple as adding a guard variable, mutable via a sysctl, allowing
access to this interface.

David Windsor

PGP: 6141 5FFD 11AE 9844 153E  F268 7C98 7268 6B19 6CC9

More information about the ubuntu-hardened mailing list