From owner-cvs-all Sun Nov 21 12:22:41 1999 Delivered-To: cvs-all@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 16E39151F7; Sun, 21 Nov 1999 12:22:23 -0800 (PST) (envelope-from julian@whistle.com) Received: from current1.whiste.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id MAA65681; Sun, 21 Nov 1999 12:22:21 -0800 (PST) Date: Sun, 21 Nov 1999 12:22:21 -0800 (PST) From: Julian Elischer To: Poul-Henning Kamp Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: what in the hell? In-Reply-To: <199911211903.LAA70570@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk What IS this stuff? who reviewed it? who decided we needed it? how about a heads-up, review request, prior notification of this? Or was it in the basement in a locked filing cabiniet? Poul-henning. Some of us go to great lengths to make sure our changes are looked at by others and that they can compile out, or start off not active byy default. We also feel the need to discuss whether a feature is needed at all or whether there is a better way of doing things. A large part of the importance people put on this process is becasue if we DON'T do it a certain Danish componet will have out guts for garters. Are you DELIBERATLY trying to annoy people? On Sun, 21 Nov 1999, Poul-Henning Kamp wrote: > 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