HardenedBSD/sys/kern
Peter Wemm b0281cef04 Major fixes for ptrace()...
PT_ATTACH/PT_DETACH implemented now and fully operational.
PT_{GET|SET}{REGS|FPREFS} implemented now, using code shared with procfs
PT_{READ|WRITE}_{I|D} now uses code shared with procfs
ptrace opcodes now fully permission checked, including ownerships.
doing an operation to the u-area on a swapped process should no longer
panic.
running gdb as root works for me now, where it didn't before.
general cleanup..

Note, that this has some tightening of permissions/access checks etc.
Some of these may be going too far..  In particular, the "owner" of the
traced process is enforced.  The process that created or attached to
the traced process is now the only one that can "do" things to it.
1996-01-24 18:29:00 +00:00
..
imgact_aout.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
imgact_gzip.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
imgact_shell.c
inflate.c
init_main.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
init_sysent.c Removed stale #includes of "opt_sysvipc.h". 1996-01-20 21:36:31 +00:00
kern_acct.c
kern_clock.c
kern_conf.c
kern_descrip.c
kern_devconf.c
kern_exec.c Removed stale #includes of "opt_sysvipc.h". 1996-01-20 21:36:31 +00:00
kern_exit.c Removed stale #includes of "opt_sysvipc.h". 1996-01-20 21:36:31 +00:00
kern_fork.c Converted two options over to the new scheme: USER_LDT and KTRACE. 1996-01-03 21:42:35 +00:00
kern_ktrace.c Converted two options over to the new scheme: USER_LDT and KTRACE. 1996-01-03 21:42:35 +00:00
kern_lkm.c
kern_lockf.c
kern_malloc.c
kern_ntptime.c
kern_physio.c
kern_proc.c fill in kinfo_eproc.e_login - otherwise a sysctl to read the eprocs wont 1996-01-01 17:01:03 +00:00
kern_prot.c
kern_random.c
kern_resource.c Fix a printf, well, actually break it, that is... 1996-01-16 18:10:19 +00:00
kern_sig.c Converted two options over to the new scheme: USER_LDT and KTRACE. 1996-01-03 21:42:35 +00:00
kern_subr.c
kern_synch.c Converted two options over to the new scheme: USER_LDT and KTRACE. 1996-01-03 21:42:35 +00:00
kern_sysctl.c Fix the reversed source and dest args to bcopy() in the kernel space 1996-01-01 17:05:07 +00:00
kern_tc.c
kern_time.c
kern_timeout.c
kern_xxx.c
Make.tags.inc
Makefile
makesyscalls.sh
md5c.c
subr_autoconf.c
subr_clist.c Convert DDB to new-style option. 1996-01-04 21:13:23 +00:00
subr_disklabel.c
subr_diskmbr.c
subr_diskslice.c Remove local TRUE & FALSE definitions. 1996-01-16 18:11:24 +00:00
subr_dkbad.c
subr_log.c
subr_param.c Convert SYSV IPC to new-style options. (I hope I got everything...) 1996-01-04 20:29:06 +00:00
subr_prf.c bounds check the radix, just in case. 1996-01-22 13:21:33 +00:00
subr_prof.c Implemented non-statistical kernel profiling. This is based on 1995-12-29 15:30:05 +00:00
subr_rlist.c
subr_trap.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
subr_xxx.c
sys_generic.c Converted two options over to the new scheme: USER_LDT and KTRACE. 1996-01-03 21:42:35 +00:00
sys_process.c Major fixes for ptrace()... 1996-01-24 18:29:00 +00:00
sys_socket.c
syscalls.c Add an option NFS_NOSERVER which saves 100K in the install kernel (or 1996-01-13 23:27:58 +00:00
syscalls.master Add an option NFS_NOSERVER which saves 100K in the install kernel (or 1996-01-13 23:27:58 +00:00
sysv_ipc.c (gulp!) reran makesyscalls.. 1996-01-08 04:30:48 +00:00
sysv_msg.c Somehow managed to miss these four files when converting the SYSV IPC 1996-01-05 16:38:03 +00:00
sysv_sem.c Somehow managed to miss these four files when converting the SYSV IPC 1996-01-05 16:38:03 +00:00
sysv_shm.c Somehow managed to miss these four files when converting the SYSV IPC 1996-01-05 16:38:03 +00:00
tty_compat.c
tty_conf.c
tty_cons.c
tty_pty.c
tty_snoop.c
tty_subr.c Convert DDB to new-style option. 1996-01-04 21:13:23 +00:00
tty_tb.c
tty_tty.c
tty.c
uipc_domain.c
uipc_mbuf.c
uipc_proto.c
uipc_sockbuf.c Eliminate the dramatic TCP performance decrease observed for writes in 1996-01-05 21:41:54 +00:00
uipc_socket2.c Eliminate the dramatic TCP performance decrease observed for writes in 1996-01-05 21:41:54 +00:00
uipc_socket.c
uipc_syscalls.c Converted two options over to the new scheme: USER_LDT and KTRACE. 1996-01-03 21:42:35 +00:00
uipc_usrreq.c
vfs_bio.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
vfs_cache.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
vfs_cluster.c Previous commit to vfs_cluster accidentally disabled read-ahead. Problem 1996-01-20 23:24:16 +00:00
vfs_conf.c
vfs_export.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
vfs_extattr.c Make sure the mountpoint is marked busy before doing operations on it. 1996-01-16 13:07:14 +00:00
vfs_init.c
vfs_lookup.c Converted two options over to the new scheme: USER_LDT and KTRACE. 1996-01-03 21:42:35 +00:00
vfs_mount.c
vfs_subr.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
vfs_syscalls.c Make sure the mountpoint is marked busy before doing operations on it. 1996-01-16 13:07:14 +00:00
vfs_vnops.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
vnode_if.pl
vnode_if.sh
vnode_if.src