freebsd-nq/sys
Poul-Henning Kamp a9e0361b4a Introduce the new function
p_trespass(struct proc *p1, struct proc *p2)
which returns zero or an errno depending on the legality of p1 trespassing
on p2.

Replace kern_sig.c:CANSIGNAL() with call to p_trespass() and one
extra signal related check.

Replace procfs.h:CHECKIO() macros with calls to p_trespass().

Only show command lines to process which can trespass on the target
process.
1999-11-21 19:03:20 +00:00
..
alpha Use LIST_FOREACH to traverse the allproc list. 1999-11-19 21:34:50 +00:00
amd64 Moved useracc() to top of sigreturn as to avoid panic 1999-11-21 14:46:43 +00:00
boot
cam
coda s/p_cred->pc_ucred/p_ucred/g 1999-11-21 12:38:21 +00:00
compat s/p_cred->pc_ucred/p_ucred/g 1999-11-21 12:38:21 +00:00
compile
conf document new ISP config options 1999-11-21 03:27:29 +00:00
contrib struct mountlist and struct mount.mnt_list have no business being 1999-11-20 10:00:46 +00:00
ddb
dev Addition of new fields to the usb_devinfo struct to enable the new 1999-11-21 17:30:42 +00:00
fs Introduce the new function 1999-11-21 19:03:20 +00:00
geom
gnu struct mountlist and struct mount.mnt_list have no business being 1999-11-20 10:00:46 +00:00
i4b
i386 Moved useracc() to top of sigreturn as to avoid panic 1999-11-21 14:46:43 +00:00
isa Allow NULL for startp and/or countp in bus_get_resource() so that you can 1999-11-20 14:56:55 +00:00
isofs/cd9660
kern Introduce the new function 1999-11-21 19:03:20 +00:00
libkern Tempt fate and stop index from converting a const char * into a char *. 1999-11-21 04:26:48 +00:00
miscfs Introduce the new function 1999-11-21 19:03:20 +00:00
modules Document new feature (support for write(2) when 1 hook attached). 1999-11-21 12:03:00 +00:00
msdosfs struct mountlist and struct mount.mnt_list have no business being 1999-11-20 10:00:46 +00:00
net
netatalk
netatm Fix a warning (unused variable RCSid) 1999-11-18 08:18:13 +00:00
netgraph Fixes from brian. With some changes from me. 1999-11-21 10:43:05 +00:00
netinet Fix a warning and a potential panic if TCPDEBUG is active. (tp is 1999-11-18 08:28:24 +00:00
netinet6
netipx
netkey
netnatm
netncp
netns
nfs Fix VOP_MKNOD for loss of WILLRELE. I don't know how I could have missed 1999-11-20 16:09:10 +00:00
nfsclient Fix VOP_MKNOD for loss of WILLRELE. I don't know how I could have missed 1999-11-20 16:09:10 +00:00
nfsserver
ntfs
nwfs Remove race condition under SMP. 1999-11-21 16:35:29 +00:00
pc98 s/p_cred->pc_ucred/p_ucred/g 1999-11-21 12:38:21 +00:00
pccard s/Brige/Bridge/. 1999-11-21 00:53:23 +00:00
pci Add text for Rendition Verite V1000 and V2000 video cards. 1999-11-21 17:08:47 +00:00
posix4
powerpc
rpc
svr4 s/p_cred->pc_ucred/p_ucred/g 1999-11-21 12:38:21 +00:00
sys Introduce the new function 1999-11-21 19:03:20 +00:00
tools Add usbdevs and friends. 1999-11-18 18:02:44 +00:00
ufs We do not have ffs_checkexp, so remove the prototype 1999-11-20 16:44:44 +00:00
vm Remove the non-functional "swap device" userland front-end to the 1999-11-18 06:55:40 +00:00
Makefile