diff options
author | Steve Langasek <vorlon@debian.org> | 2008-07-28 13:35:47 -0700 |
---|---|---|
committer | Steve Langasek <steve.langasek@ubuntu.com> | 2019-01-03 17:28:18 -0800 |
commit | a8f1136ee50388f7fc1c7936379416bbee368957 (patch) | |
tree | 681ab3ac60cad323f2b2d546b63a170502aab95f /debian/patches-applied/hurd_no_setfsuid | |
parent | 066340007b21fa197dcce85fc442551a75e42290 (diff) |
Fix a bug in the uid-restoring code in the hurd_no_setfsuid patch; thanks
to Tomas Mraz <tmraz@redhat.com> for indirectly bringing this to my
attention
Diffstat (limited to 'debian/patches-applied/hurd_no_setfsuid')
-rw-r--r-- | debian/patches-applied/hurd_no_setfsuid | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/patches-applied/hurd_no_setfsuid b/debian/patches-applied/hurd_no_setfsuid index 71ae5d77..76501432 100644 --- a/debian/patches-applied/hurd_no_setfsuid +++ b/debian/patches-applied/hurd_no_setfsuid @@ -55,7 +55,7 @@ Index: Linux-PAM/modules/pam_xauth/pam_xauth.c + if (uid == pwd->pw_uid) + setreuid(uid, euid); + else { -+ if (setreuid(-1, 0) == -1) ++ if (setreuid(-1, 0) != -1) + setreuid(uid, -1); + setreuid(-1, euid); + } |