Date: Fri, 10 Jul 1998 18:25:20 -0700 From: "Jordan K. Hubbard" <jkh@time.cdrom.com> To: Bruce Evans <bde@zeta.org.au> Cc: ghelmer@scl.ameslab.gov, cvs-committers@FreeBSD.ORG, imp@village.org, roberto@keltia.freenix.fr Subject: Re: cvs commit: src/usr.bin/msgs msgs.c Message-ID: <15433.900120320@time.cdrom.com> In-Reply-To: Your message of "Sat, 11 Jul 1998 11:14:56 %2B1000." <199807110114.LAA00069@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> Well, it is innocuous, except it reduces portabilty (seteuid() isn't in > POSIX.1). Here is an attempt at a portable version: > > uid = getuid(); > (void)setuid(uid); > (void)setuid(uid); I never knew that setuid() was "sticky" - what happens if you call it a 3rd time? :-) - Jordan 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?15433.900120320>