]> git.pld-linux.org Git - packages/coreutils.git/commitdiff
- added missing setfsgid() call (from romke (at) estrefa.pl)
authorAdam Gołębiowski <adamg@pld-linux.org>
Wed, 23 Mar 2005 16:01:05 +0000 (16:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    coreutils-pam.patch -> 1.6

coreutils-pam.patch

index 4fe71d54aaff1566dc4ca80ee3eb0cfe8718adf1..a53879ffc7af861399289631644f6fb1c4391dc1 100644 (file)
@@ -628,12 +628,13 @@ diff -Nur coreutils-5.2.1.orig/src/su.c coreutils-5.2.1/src/su.c
  }
  
  /* Return 1 if SHELL is a restricted shell (one not returned by
-@@ -577,9 +746,14 @@
+@@ -577,9 +746,15 @@
      }
    modify_environment (pw, shell);
  
 +
 +#ifdef USE_PAM
++  setfsgid(pw->pw_gid);
 +  setfsuid(pw->pw_uid);
 +#else
    change_identity (pw);
This page took 0.048503 seconds and 4 git commands to generate.