Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 237335 Details for
Bug 326697
sys-apps/sysvinit-2.88 fails to load selinux policy
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
selinux patch for sysvinit 2.88
sysvinit-2.88-selinux-init.patch (text/plain), 595 bytes, created by
Chris Richards
on 2010-07-02 23:19:58 UTC
(
hide
)
Description:
selinux patch for sysvinit 2.88
Filename:
MIME Type:
Creator:
Chris Richards
Created:
2010-07-02 23:19:58 UTC
Size:
595 bytes
patch
obsolete
>--- a/src/init.c 2010-04-13 09:48:54.000000000 +0000 >+++ b/src/init.c 2010-07-02 16:19:27.000000000 +0000 >@@ -2870,10 +2870,10 @@ int main(int argc, char **argv) > #ifdef WITH_SELINUX > if (getenv("SELINUX_INIT") == NULL) { > const int rc = mount("proc", "/proc", "proc", 0, 0); >- if (is_selinux_enabled() > 0) { >- putenv("SELINUX_INIT=YES"); >+ if (is_selinux_enabled() < 1) { > if (rc == 0) umount2("/proc", MNT_DETACH); > if (selinux_init_load_policy(&enforce) == 0) { >+ putenv("SELINUX_INIT=YES"); > execv(myname, argv); > } else { > if (enforce > 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 Raw
Actions:
View
Attachments on
bug 326697
:
237333
|
237335
|
239317