git: kernel: Add security.ptr_restrict sysctl.

Rimvydas Jasinskas zrj at
Wed Feb 14 00:14:49 PST 2018

commit 5b0aa8b6425de10a6fdfe870a9fe517027a60dd9
Author: zrj <rimvydas.jasinskas at>
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(+)

DragonFly BSD source repository

More information about the Commits mailing list