Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 87762 Details for
Bug 134515
sys-libs/pam-0.78*: fails with gcc4.1.1 and selinux flag
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gcc-4.1 patch
pam-selinux-gcc41.patch (text/plain), 1.34 KB, created by
Mark Loeser (RETIRED)
on 2006-05-28 14:06:49 UTC
(
hide
)
Description:
gcc-4.1 patch
Filename:
MIME Type:
Creator:
Mark Loeser (RETIRED)
Created:
2006-05-28 14:06:49 UTC
Size:
1.34 KB
patch
obsolete
>diff -ur Linux-PAM-0.78-orig/modules/pam_unix/pam_unix_passwd.c Linux-PAM-0.78/modules/pam_unix/pam_unix_passwd.c >--- Linux-PAM-0.78-orig/modules/pam_unix/pam_unix_passwd.c 2006-05-28 15:37:17.000000000 -0400 >+++ Linux-PAM-0.78/modules/pam_unix/pam_unix_passwd.c 2006-05-28 17:04:33.000000000 -0400 >@@ -64,10 +64,9 @@ > #include <errno.h> > #include <sys/wait.h> > #ifdef WITH_SELINUX >-static int selinux_enabled=-1; > #include <selinux/selinux.h> > static security_context_t prev_context=NULL; >-#define SELINUX_ENABLED (selinux_enabled!=-1 ? selinux_enabled : selinux_enabled=is_selinux_enabled()>0) >+#define SELINUX_ENABLED (is_selinux_enabled() == 1) > #else > #define SELINUX_ENABLED 0 > #endif >diff -ur Linux-PAM-0.78-orig/modules/pam_unix/unix_chkpwd.c Linux-PAM-0.78/modules/pam_unix/unix_chkpwd.c >--- Linux-PAM-0.78-orig/modules/pam_unix/unix_chkpwd.c 2006-05-28 15:37:17.000000000 -0400 >+++ Linux-PAM-0.78/modules/pam_unix/unix_chkpwd.c 2006-05-28 17:04:21.000000000 -0400 >@@ -33,10 +33,9 @@ > #include <shadow.h> > #include <signal.h> > #include <time.h> >-static int selinux_enabled=-1; > #ifdef WITH_SELINUX > #include <selinux/selinux.h> >-#define SELINUX_ENABLED (selinux_enabled!=-1 ? selinux_enabled : selinux_enabled=is_selinux_enabled()>0) >+#define SELINUX_ENABLED (is_selinux_enabled() == 1) > static security_context_t prev_context=NULL; > #else > #define SELINUX_ENABLED 0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 134515
: 87762 |
95868