Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 95868 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]
pam-0.78-selinux.patch.patch
pam-0.78-selinux.patch.patch (text/plain), 1.43 KB, created by
kalium
on 2006-09-03 11:02:14 UTC
(
hide
)
Description:
pam-0.78-selinux.patch.patch
Filename:
MIME Type:
Creator:
kalium
Created:
2006-09-03 11:02:14 UTC
Size:
1.43 KB
patch
obsolete
>--- pam-0.78-patches/gentoo-patches/pam-0.78-selinux.patch.orig 2006-09-03 18:51:51.000000000 +0200 >+++ pam-0.78-patches/gentoo-patches/pam-0.78-selinux.patch 2006-09-03 18:53:16.000000000 +0200 >@@ -871,7 +871,7 @@ > +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 (selinux_enabled!=-1 ? selinux_enabled : (selinux_enabled=is_selinux_enabled()>0)) > +#else > +#define SELINUX_ENABLED 0 > +#endif >@@ -1398,7 +1398,7 @@ > - > +#ifdef WITH_SELINUX > +#include <selinux/selinux.h> >-+#define SELINUX_ENABLED is_selinux_enabled()>0 >++#define SELINUX_ENABLED (is_selinux_enabled()>0) > +#else > +#define SELINUX_ENABLED 0 > +#endif >@@ -1504,7 +1504,7 @@ > +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 (selinux_enabled!=-1 ? selinux_enabled : (selinux_enabled=is_selinux_enabled()>0)) > +static security_context_t prev_context=NULL; > +#else > +#define SELINUX_ENABLED 0 >@@ -1906,7 +1906,7 @@ > +#include <sys/wait.h> > +#ifdef WITH_SELINUX > +#include <selinux/selinux.h> >-+#define SELINUX_ENABLED is_selinux_enabled()>0 >++#define SELINUX_ENABLED (is_selinux_enabled()>0) > +#else > +#define SELINUX_ENABLED 0 > +#endif
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