Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site turing.UUCP Path: utzoo!watmath!clyde!burl!hou3c!hocda!houxm!houxz!vax135!floyd!harpo!decvax!mcvax!turing!aeb From: aeb@turing.UUCP Newsgroups: net.unix-wizards Subject: setreuid Message-ID: <202@turing.UUCP> Date: Tue, 29-May-84 16:31:52 EDT Article-I.D.: turing.202 Posted: Tue May 29 16:31:52 1984 Date-Received: Fri, 1-Jun-84 07:22:23 EDT Organization: CWI, Amsterdam Lines: 6 Apparently-To: rnews@mcvax.LOCAL In contradiction to the manual, the system call setreuid(2) can change the real uid of a non-superuser process - in fact setreuid(geteuid(), -1); works (BSD4.2). Is this desirable? -- Andries Brouwer -- CWI, Amsterdam -- {philabs,decvax}!mcvax!aeb