mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Revert that last stupid setuid detection fix.
This commit is contained in:
parent
9d5a10a453
commit
a7c9e79190
5 changed files with 5 additions and 15 deletions
|
@ -318,8 +318,8 @@ int exec_write(struct exec_info **info,const char *program,
|
|||
|
||||
#if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
|
||||
/* There should be no way to get to this spot while still carrying
|
||||
setuid privs. Just in case, bomb out if we are (and are not root). */
|
||||
if (getuid () && getuid () != geteuid ())
|
||||
setuid privs. Just in case, bomb out if we are. */
|
||||
if ( getuid () != geteuid ())
|
||||
BUG ();
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue