Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 306787 Details for
Bug 406819
groupadd (sys-apps/shadow-4.1.5) in selinux is broken
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
shadow-4.1.5-selinux patch
attachment.bin (text/plain), 742 bytes, created by
Sven Vermeulen (RETIRED)
on 2012-03-26 20:09:26 UTC
(
hide
)
Description:
shadow-4.1.5-selinux patch
Filename:
MIME Type:
Creator:
Sven Vermeulen (RETIRED)
Created:
2012-03-26 20:09:26 UTC
Size:
742 bytes
patch
obsolete
>diff -up shadow-4.1.5/lib/commonio.c.selinux shadow-4.1.5/lib/commonio.c >--- shadow-4.1.5/lib/commonio.c.selinux 2012-03-22 15:06:42.195305372 +0100 >+++ shadow-4.1.5/lib/commonio.c 2012-03-22 15:08:54.775283214 +0100 >@@ -977,6 +977,12 @@ int commonio_close (struct commonio_db * > > snprintf (buf, sizeof buf, "%s+", db->filename); > >+#ifdef WITH_SELINUX >+ if (set_selinux_file_context (buf) != 0) { >+ errors++; >+ } >+#endif >+ > db->fp = fopen_set_perms (buf, "w", &sb); > if (NULL == db->fp) { > goto fail; >@@ -1011,6 +1017,12 @@ int commonio_close (struct commonio_db * > goto fail; > } > >+#ifdef WITH_SELINUX >+ if (reset_selinux_file_context () != 0) { >+ goto fail; >+ } >+#endif >+ > nscd_need_reload = true; > goto success; > fail:
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 406819
:
304219
|
304233
| 306787