1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Do not run the setuid test if running under as root proper.

Documentation fixes.
Some enhancements for the new OpenPGP Card.
This commit is contained in:
Werner Koch 2008-07-17 19:40:53 +00:00
parent e253f0cb55
commit 9d5a10a453
37 changed files with 8193 additions and 5823 deletions

View file

@ -826,7 +826,7 @@ gnupg_spawn_process_detached (const char *pgmname, const char *argv[],
pid_t pid;
int i;
if (getuid() != geteuid())
if (getuid() && getuid() != geteuid())
return gpg_error (GPG_ERR_BUG);
if (access (pgmname, X_OK))