- replace also other std descriptors (#491471)
This commit is contained in:
parent
837a5499fa
commit
f3a8a94868
@ -13,7 +13,7 @@ diff -up Linux-PAM-1.0.91/modules/pam_mkhomedir/pam_mkhomedir.c.std-noclose Linu
|
||||
+ if (pipe(dummyfds) == 0) {
|
||||
+ dup2(dummyfds[0], STDIN_FILENO);
|
||||
+ dup2(dummyfds[1], STDOUT_FILENO);
|
||||
+ dup2(dummyfds[2], STDERR_FILENO);
|
||||
+ dup2(dummyfds[1], STDERR_FILENO);
|
||||
+ }
|
||||
+
|
||||
if (getrlimit(RLIMIT_NOFILE, &rlim)==0) {
|
||||
|
2
pam.spec
2
pam.spec
@ -315,7 +315,7 @@ fi
|
||||
%doc doc/adg/*.txt doc/adg/html
|
||||
|
||||
%changelog
|
||||
* Thu Mar 26 2009 Tomas Mraz <tmraz@redhat.com> 1.0.91-4
|
||||
* Thu Mar 26 2009 Tomas Mraz <tmraz@redhat.com> 1.0.91-5
|
||||
- replace also other std descriptors (#491471)
|
||||
|
||||
* Tue Mar 16 2009 Tomas Mraz <tmraz@redhat.com> 1.0.91-3
|
||||
|
Loading…
Reference in New Issue
Block a user