Date: Fri, 18 Oct 1996 18:47:09 +1000 From: matthew green <mrg@eterna.com.au> To: "Justin T. Gibbs" <gibbs@freefall.freebsd.org> Cc: jdp@polstra.com, ache@nagual.ru, guido@gvr.win.tue.nl, thorpej@nas.nasa.gov, phk@critter.tfs.com, freebsd-hackers@freebsd.org, tech-userlevel@netbsd.org, Karl Denninger <karl@mcs.net> Subject: Re: cvs commit: src/lib/libc/db/hash hash_buf.c Message-ID: <199610180847.SAA17954@eterna.com.au> In-Reply-To: Your message of "Thu, 17 Oct 1996 23:10:46 MST." <199610180610.XAA28738@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>A program which calls setuid() isn't SUID any more. Once done, that's >terminal (and can't be "recalled"). The saved UID is not perterbed which allows you to determine that the program was setuid. setuid() changes the effective, real and saved user ids. RTFM if you don't believe me. the correct way to check if a process was started setuid or setgid is to check the SUGID flag.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610180847.SAA17954>