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:
parent
e253f0cb55
commit
9d5a10a453
37 changed files with 8193 additions and 5823 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-07-17 Werner Koch <wk@g10code.com>
|
||||
|
||||
* exechelp.c (gnupg_spawn_process_detached): Do not run the setuid
|
||||
test for root.
|
||||
|
||||
2008-06-26 Werner Koch <wk@g10code.com>
|
||||
|
||||
* estream.c (es_write_sanitized): Loose check for control
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue