diff options
author | 2002-03-14 00:42:20 +0000 | |
---|---|---|
committer | 2002-03-14 00:42:20 +0000 | |
commit | 477189db112285b29265105ac9553ec4cc2989a4 (patch) | |
tree | 59b27fd003c41c45c470b25c96923f686f84eb4b /sys/lib/libkern/__main.c | |
parent | Whoops. missing simple_unlock. (diff) | |
download | wireguard-openbsd-477189db112285b29265105ac9553ec4cc2989a4.tar.xz wireguard-openbsd-477189db112285b29265105ac9553ec4cc2989a4.zip |
Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in
your kernel configuration file.
By default, GENERIC will enable this.
When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).
This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.
Diffstat (limited to 'sys/lib/libkern/__main.c')
0 files changed, 0 insertions, 0 deletions