summaryrefslogtreecommitdiff
path: root/sys/conf/files
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-03-14 00:42:26 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-03-14 00:42:26 +0000
commit4e75a2f3d47fcb4101ad6c63743e4262538a944a (patch)
tree8b4782ea02392ac0303642f999b3a00a9de95490 /sys/conf/files
parent31d9f37c33069ba39395849737d1ef3662a4c687 (diff)
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/conf/files')
-rw-r--r--sys/conf/files8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 7fcc9c1dbcc..3243e6ecd86 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1,4 +1,4 @@
-# $OpenBSD: files,v 1.240 2002/02/22 20:37:45 drahn Exp $
+# $OpenBSD: files,v 1.241 2002/03/14 00:42:25 miod Exp $
# $NetBSD: files,v 1.87 1996/05/19 17:17:50 jonathan Exp $
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
@@ -502,7 +502,7 @@ file kern/subr_userconf.c boot_config
file kern/subr_xxx.c
file kern/sys_generic.c
file kern/sys_pipe.c
-file kern/sys_process.c
+file kern/sys_process.c ptrace
file kern/sys_socket.c
file kern/syscalls.c syscall_debug
file kern/sysv_ipc.c sysvshm | sysvsem | sysvmsg
@@ -564,11 +564,11 @@ file miscfs/portal/portal_vfsops.c portal
file miscfs/portal/portal_vnops.c portal
file miscfs/procfs/procfs_cmdline.c procfs
file miscfs/procfs/procfs_ctl.c procfs
-file miscfs/procfs/procfs_fpregs.c
+file miscfs/procfs/procfs_fpregs.c ptrace
file miscfs/procfs/procfs_linux.c procfs
file miscfs/procfs/procfs_mem.c
file miscfs/procfs/procfs_note.c procfs
-file miscfs/procfs/procfs_regs.c
+file miscfs/procfs/procfs_regs.c ptrace
file miscfs/procfs/procfs_status.c procfs
file miscfs/procfs/procfs_subr.c procfs
file miscfs/procfs/procfs_vfsops.c procfs