Date: Sun, 21 Nov 1999 11:03:21 -0800 (PST) From: Poul-Henning Kamp <phk@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_proc.c kern_prot.c kern_sig.c sys_process.c src/sys/miscfs/procfs procfs.h procfs_dbregs.c procfs_fpregs.c procfs_mem.c procfs_regs.c procfs_status.c procfs_vnops.c src/sys/sys proc.h Message-ID: <199911211903.LAA70570@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 1999/11/21 11:03:21 PST Modified files: sys/kern kern_proc.c kern_prot.c kern_sig.c sys_process.c sys/miscfs/procfs procfs.h procfs_dbregs.c procfs_fpregs.c procfs_mem.c procfs_regs.c procfs_status.c procfs_vnops.c sys/sys proc.h Log: 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. Revision Changes Path 1.61 +2 -2 src/sys/kern/kern_proc.c 1.50 +26 -1 src/sys/kern/kern_prot.c 1.71 +7 -13 src/sys/kern/kern_sig.c 1.51 +2 -3 src/sys/kern/sys_process.c 1.31 +1 -14 src/sys/miscfs/procfs/procfs.h 1.3 +2 -2 src/sys/miscfs/procfs/procfs_dbregs.c 1.10 +2 -2 src/sys/miscfs/procfs/procfs_fpregs.c 1.43 +2 -2 src/sys/miscfs/procfs/procfs_mem.c 1.10 +2 -2 src/sys/miscfs/procfs/procfs_regs.c 1.18 +2 -2 src/sys/miscfs/procfs/procfs_status.c 1.75 +3 -3 src/sys/miscfs/procfs/procfs_vnops.c 1.92 +2 -1 src/sys/sys/proc.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911211903.LAA70570>