freebsd-skq/sys/miscfs
phk fd22d5412a 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
..
deadfs $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
devfs s/p_cred->pc_ucred/p_ucred/g 1999-11-21 12:38:21 +00:00
fdesc Fix a warning. 1999-11-18 08:47:10 +00:00
fifofs $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kernfs Get rid of calls to vfinddev() by ripping out code for vnode type 1999-11-20 13:18:24 +00:00
nullfs Seperate the export check in VFS_FHTOVP, exports are now checked via 1999-09-11 00:46:08 +00:00
portal Seperate the export check in VFS_FHTOVP, exports are now checked via 1999-09-11 00:46:08 +00:00
procfs Introduce the new function 1999-11-21 19:03:20 +00:00
specfs Next step in the device cleanup process. 1999-11-09 14:15:33 +00:00
umapfs Seperate the export check in VFS_FHTOVP, exports are now checked via 1999-09-11 00:46:08 +00:00
union Fix an unused variable warning. 1999-11-18 09:07:30 +00:00