summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2011-02-16 09:08:39 -0800
committerSteve Langasek <vorlon@debian.org>2019-01-08 21:51:16 -0800
commit206787f13971262ebc232a01e80ed23fe01419be (patch)
tree795be7b95d0fca84eb6b723ce316fd76d55eee09 /debian
parentfcb3c3e3d5be4e1df8a16c77b2c82fa971609186 (diff)
fix up the patch to be proper C
Diffstat (limited to 'debian')
-rw-r--r--debian/patches-applied/hurd_no_setfsuid4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches-applied/hurd_no_setfsuid b/debian/patches-applied/hurd_no_setfsuid
index f8b954a9..ba0806e3 100644
--- a/debian/patches-applied/hurd_no_setfsuid
+++ b/debian/patches-applied/hurd_no_setfsuid
@@ -121,7 +121,7 @@ Index: pam.debian/modules/pam_xauth/pam_xauth.c
* descriptor. */
+#ifdef HAVE_SYS_FSUID_H
setfsuid(tpwd->pw_uid);
-+#endif
++#else
+ uid = getuid();
+ if (uid == tpwd->pw_uid)
+ setreuid(euid, uid);
@@ -167,7 +167,7 @@ Index: pam.debian/modules/pam_xauth/pam_xauth.c
/* NFS with root_squash requires non-root user */
+#ifdef HAVE_SYS_FSUID_H
setfsuid (unlinkuid);
-+#endif
++#else
+ uid = getuid();
+ if (uid == unlinkuid)
+ setreuid(euid, uid);