git: kernel: Add security.ptr_restrict sysctl.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Wed Feb 14 00:14:49 PST 2018


commit 5b0aa8b6425de10a6fdfe870a9fe517027a60dd9
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sun Feb 4 19:13:02 2018 +0200

    kernel: Add security.ptr_restrict sysctl.
    
    Allow to prevent leaking kernel addresses back to the userland
    (intentionally or not). We have quite a lot debug prints already and by
    default we allow unprivileged processes to read kernel message buffers.

Summary of changes:
 sys/kern/subr_prf.c | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5b0aa8b6425de10a6fdfe870a9fe517027a60dd9


-- 
DragonFly BSD source repository



More information about the Commits mailing list