freebsd-skq/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 Staticized. 1995-12-02 16:32:03 +00:00
inflate.c Removed unnecessary #includes of vm stuff. Most of them were once 1995-12-06 23:37:44 +00:00
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 A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
kern_clock.c Staticize. 1995-12-17 21:23:44 +00:00
kern_conf.c kern_conf.c: remove a now unused variable. 1995-12-22 15:56:35 +00:00
kern_descrip.c A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
kern_devconf.c A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
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 Removed unused function lkmenodev(). 1995-12-16 00:01:40 +00:00
kern_lockf.c A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
kern_malloc.c A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
kern_ntptime.c Removed unnecessary #includes of vm stuff. Most of them were once 1995-12-06 23:37:44 +00:00
kern_physio.c devsw tables are now arrays of POINTERS to struct [cb]devsw 1995-12-13 15:13:57 +00:00
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 Included <sys/sysproto.h> to get central declarations for syscall args 1995-11-12 06:43:28 +00:00
kern_random.c 1) ifdef out some unused functions (for now) 1995-12-29 08:04:32 +00:00
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 Improved hashinit panic strings. 1995-05-08 23:11:12 +00:00
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 Staticize. 1995-12-17 21:23:44 +00:00
kern_time.c Finished staticizing of timevalfix(). 1995-12-26 01:07:42 +00:00
kern_timeout.c Staticize. 1995-12-17 21:23:44 +00:00
kern_xxx.c Removed unnecessary #includes of vm stuff. Most of them were once 1995-12-06 23:37:44 +00:00
Make.tags.inc Added $Id$ 1994-08-02 07:55:43 +00:00
Makefile Generate prototypes for syscall-implementing functions. Put them in 1995-09-19 13:31:04 +00:00
makesyscalls.sh Fix misc formatting errors in makesyscalls.sh. 1995-10-07 23:56:20 +00:00
md5c.c Clean a bunch of -Wall warnings. 1995-02-24 08:51:34 +00:00
subr_autoconf.c Added $Id$ 1994-08-02 07:55:43 +00:00
subr_clist.c Convert DDB to new-style option. 1996-01-04 21:13:23 +00:00
subr_disklabel.c Update the wd.c driver to use the new TAILQ scheme for device 1995-11-23 07:24:41 +00:00
subr_diskmbr.c Remove unused functions and variables, make things static, and other cleanups. 1995-10-28 15:39:31 +00:00
subr_diskslice.c Remove local TRUE & FALSE definitions. 1996-01-16 18:11:24 +00:00
subr_dkbad.c subr_diskslice.c implements everything related to slices and labels except 1994-12-12 00:20:34 +00:00
subr_log.c A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
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 A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
subr_trap.c Eliminated many redundant vm_map_lookup operations for vm_mmap. 1996-01-19 04:00:31 +00:00
subr_xxx.c Replaced bogus macros for dummy devswitch entries by functions. 1995-11-06 00:36:19 +00:00
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 A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
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 A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
tty_conf.c Replaced bogus macros for entry points to unconfigured line disciplines 1995-11-05 20:25:59 +00:00
tty_cons.c Remove crufty "pg" function. 1995-12-22 13:09:39 +00:00
tty_pty.c Fixed pty names. The control and slave names were back to front. 1995-12-22 15:53:53 +00:00
tty_snoop.c A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
tty_subr.c Convert DDB to new-style option. 1996-01-04 21:13:23 +00:00
tty_tb.c Added $Id$ 1994-08-02 07:55:43 +00:00
tty_tty.c Fixed permissions of /dev/tty. 1995-12-22 15:57:31 +00:00
tty.c Oops, the last commit missed one change from 200 to OBUFSIZ + 100. 1995-12-16 21:45:02 +00:00
uipc_domain.c Uniformized pr_ctlinput protosw functions. The third arg is now `void 1995-12-16 02:14:44 +00:00
uipc_mbuf.c A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
uipc_proto.c A Major staticize sweep. Generates a couple of warnings that I'll deal 1995-12-14 08:32:45 +00:00
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 Nuked ambiguous sleep message strings: 1995-12-14 22:51:13 +00:00
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 Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
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 Finished (?) cleaning up sysinit stuff. 1995-12-02 17:11:20 +00:00
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 Staticize. 1995-12-17 21:23:44 +00:00
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 Finished (?) cleaning up sysinit stuff. 1995-12-02 17:11:20 +00:00
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 Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
vnode_if.sh Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
vnode_if.src Changes to support 1Tb filesizes. Pages are now named by an 1995-12-11 04:58:34 +00:00