Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 325760 Details for
Bug 437332
sys-process/psmisc-22.20 fails to build on selinux systems
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
security_context_t scontext
psmisc-22.20-selinux.patch (text/plain), 1.12 KB, created by
iGentoo
on 2012-10-05 19:38:34 UTC
(
hide
)
Description:
security_context_t scontext
Filename:
MIME Type:
Creator:
iGentoo
Created:
2012-10-05 19:38:34 UTC
Size:
1.12 KB
patch
obsolete
> src/pstree.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > >diff --git a/src/pstree.c b/src/pstree.c >index db57244..6e14169 100644 >--- a/src/pstree.c >+++ b/src/pstree.c >@@ -140,7 +140,11 @@ static char last_char = 0; > static int dumped = 0; /* used by dump_by_user */ > static int charlen = 0; /* length of character */ > >+#ifdef WITH_SELINUX >+static void fix_orphans(security_context_t scontext); >+#else > static void fix_orphans(void); >+#endif > /* > * Allocates additional buffer space for width and more as needed. > * The first call will allocate the first buffer. >@@ -787,7 +791,11 @@ static void read_proc(void) > } > } > (void) closedir(dir); >+#ifdef WITH_SELINUX >+ fix_orphans(scontext); >+#else > fix_orphans(); >+#endif > if (print_args) > free(buffer); > if (empty) { >@@ -796,7 +804,11 @@ static void read_proc(void) > } > } > >+#ifdef WITH_SELINUX >+static void fix_orphans(security_context_t scontext) >+#else > static void fix_orphans(void) >+#endif > { > /* When using kernel 3.3 with hidepid feature enabled on /proc > * then we need fake root pid and gather all the orphan processes
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 437332
:
325738
| 325760 |
325930