freebsd-skq/sys
des 29c5c858fc Dissociate ptrace from procfs.
Until now, the ptrace syscall was implemented as a wrapper that called
various functions in procfs depending on which ptrace operation was
requested.  Most of these functions were themselves wrappers around
procfs_{read,write}_{,db,fp}regs(), with only some extra error checks,
which weren't necessary in the ptrace case anyway.

This commit moves procfs_rwmem() from procfs_mem.c into sys_process.c
(renaming it to proc_rwmem() in the process), and implements ptrace()
directly in terms of procfs_{read,write}_{,db,fp}regs() instead of
having it fake up a struct uio and then call procfs_do{,db,fp}regs().

It also moves the prototypes for procfs_{read,write}_{,db,fp}regs()
and proc_rwmem() from proc.h to ptrace.h, and marks all procfs files
except procfs_machdep.c as "optional procfs" instead of "standard".
2001-10-07 20:08:42 +00:00
..
alpha Dissociate ptrace from procfs. 2001-10-07 20:08:42 +00:00
amd64 Export interrupt statistics via sysctl. 2001-10-07 17:03:56 +00:00
arm o Remove some GCCisms in src/powerpc/include/endian.h. 2001-08-30 00:04:19 +00:00
boot Whitespace fixes. 2001-10-07 13:27:27 +00:00
cam o Modify access control code for the CAM SCSI pass-through device to 2001-09-26 20:13:16 +00:00
coda Use the passed in thread to selrecord() instead of curthread. 2001-09-21 22:26:51 +00:00
compat Catch up with the visibility callback stuff, and give up trying to keep the 2001-10-01 04:31:05 +00:00
conf Dissociate ptrace from procfs. 2001-10-07 20:08:42 +00:00
contrib Remove file obsoleted by the 20010920 snapshot. 2001-10-04 23:17:35 +00:00
crypto
ddb Fill out some gaps in ia64 DDB support. This involves generalising DDB's 2001-09-15 11:06:07 +00:00
dev Add some somewhat vague documentation for this driver and a list 2001-10-07 18:26:47 +00:00
fs Dissociate ptrace from procfs. 2001-10-07 20:08:42 +00:00
geom KSE Milestone 2 2001-09-12 08:38:13 +00:00
gnu The addition of i_dirhash to struct inode pushed RELENG_4's 2001-09-24 18:29:20 +00:00
i4b sppp rewrites the interface's ip address directly; this breaks when the 2001-10-01 18:03:56 +00:00
i386 Dissociate ptrace from procfs. 2001-10-07 20:08:42 +00:00
ia64 Dissociate ptrace from procfs. 2001-10-07 20:08:42 +00:00
isa Add PnP ID 'IBM3781' for TP240 mouse. 2001-10-03 07:26:28 +00:00
isofs/cd9660 KSE Milestone 2 2001-09-12 08:38:13 +00:00
kern Dissociate ptrace from procfs. 2001-10-07 20:08:42 +00:00
libkern Implement these using mux1 and extr.u. I'll update the userland versions 2001-10-06 08:35:05 +00:00
modules Activate the bridge/dummynet modules. 2001-10-05 07:09:27 +00:00
net - Fix typo in "didn't find tag in list" code -- != should have been ==. 2001-10-06 05:02:11 +00:00
netatalk KSE Milestone 2 2001-09-12 08:38:13 +00:00
netatm KSE Milestone 2 2001-09-12 08:38:13 +00:00
netgraph Hopefully improve control message passing over Unix domain sockets. 2001-10-04 13:11:48 +00:00
netinet Add a flag TF_LASTIDLE, that forces a previously idle connection 2001-10-05 21:33:38 +00:00
netinet6 Make faith loadable, unloadable, and clonable. 2001-09-25 18:40:52 +00:00
netipx KSE Milestone 2 2001-09-12 08:38:13 +00:00
netkey KSE Milestone 2 2001-09-12 08:38:13 +00:00
netnatm
netncp KSE Milestone 2 2001-09-12 08:38:13 +00:00
netns
netsmb Map errdos:67 to the ENOENT. 2001-08-21 09:16:57 +00:00
nfs Unwind some more macros. NFSMADV() was kinda silly since it was right 2001-09-28 04:37:08 +00:00
nfsclient Unwind some more macros. NFSMADV() was kinda silly since it was right 2001-09-28 04:37:08 +00:00
nfsserver Unwind some more macros. NFSMADV() was kinda silly since it was right 2001-09-28 04:37:08 +00:00
pc98 Rewrite the pc98 bus_space stuff. 2001-10-07 10:04:18 +00:00
pccard Fix, I think, The second slot problem with Cirrus Logic PD6729/30 parts: 2001-09-21 06:45:35 +00:00
pci Let's not kid ourselves- we don't *really* support jumbframes yet. 2001-10-02 22:36:49 +00:00
posix4 KSE Milestone 2 2001-09-12 08:38:13 +00:00
powerpc Dissociate ptrace from procfs. 2001-10-07 20:08:42 +00:00
rpc
sparc64 Dissociate ptrace from procfs. 2001-10-07 20:08:42 +00:00
svr4
sys Dissociate ptrace from procfs. 2001-10-07 20:08:42 +00:00
tools KSE Milestone 2 2001-09-12 08:38:13 +00:00
ufs o Replace two direct uid!=0 comparisons with suser_xxx() calls. 2001-10-02 14:41:43 +00:00
vm Remove the SSLEEP case from the load average computation. This has 2001-10-04 22:33:31 +00:00
Makefile