Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!psuvax1!gondor.psu.edu!flee From: flee@gondor.psu.edu (Felix Lee) Newsgroups: comp.unix.wizards Subject: Re: Setting process groups Message-ID: <3134@psuvax1.psu.edu> Date: Fri, 27-Nov-87 07:06:52 EST Article-I.D.: psuvax1.3134 Posted: Fri Nov 27 07:06:52 1987 Date-Received: Sun, 29-Nov-87 21:13:37 EST References: <1765@unc.cs.unc.edu> <910@mcgill-vision.UUCP> <1261@saturn.ucsc.edu> Sender: netnews@psuvax1.psu.edu Reply-To: flee@gondor.psu.edu (Felix Lee) Organization: The Roadside Picnic Lines: 11 In article <1261@saturn.ucsc.edu> haynes@ucscc.UCSC.EDU (Jim Haynes) writes: > Incidentally, there's a security hole connected with setpgrp() > in that the system doesn't check whether the pgrp number you > proffer is already in use by somebody else. SVID setpgrp() doesn't take an argument. It's equivalent to Berkeleyish setpgrp(getpid()). And anyway you still can't kill a process you don't own even in Berkeley. kill -KILL -1 as root will kill everything, but as joe user will only kill joe's processes. -- Felix Lee flee@gondor.psu.edu *!psuvax1!gondor!flee