Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 48982 Details for
Bug 64883
(grsec) gradm gets confused by the equivalence of lib and lib64. I am providing an ugly patch.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
workaround for amd64 multilib-noncompliance
gradm_lib64.patch (text/plain), 1.08 KB, created by
Barry Schwartz
on 2005-01-19 11:19:42 UTC
(
hide
)
Description:
workaround for amd64 multilib-noncompliance
Filename:
MIME Type:
Creator:
Barry Schwartz
Created:
2005-01-19 11:19:42 UTC
Size:
1.08 KB
patch
obsolete
>--- gradm2.ORIG/gradm_adm.c 2004-12-21 19:17:04.000000000 +0000 >+++ gradm2/gradm_adm.c 2004-12-23 06:23:31.746052855 +0000 >@@ -98,8 +98,13 @@ > add_proc_object_acl(current_subject, "/etc/ld.so.preload", proc_object_mode_conv("r"), GR_FEXIST); > add_proc_object_acl(current_subject, "/etc/protocols", proc_object_mode_conv("r"), GR_FEXIST); > add_proc_object_acl(current_subject, "/dev/urandom", proc_object_mode_conv("r"), GR_FEXIST); >+#ifdef __amd64__ >+ add_proc_object_acl(current_subject, "/lib32", proc_object_mode_conv("rx"), GR_FEXIST); >+ add_proc_object_acl(current_subject, "/usr/lib32", proc_object_mode_conv("rx"), GR_FEXIST); >+#else > add_proc_object_acl(current_subject, "/lib", proc_object_mode_conv("rx"), GR_FEXIST); > add_proc_object_acl(current_subject, "/usr/lib", proc_object_mode_conv("rx"), GR_FEXIST); >+#endif > add_proc_object_acl(current_subject, "/lib64", proc_object_mode_conv("rx"), GR_FEXIST); > add_proc_object_acl(current_subject, "/usr/lib64", proc_object_mode_conv("rx"), GR_FEXIST); > add_proc_object_acl(current_subject, gradm_name, proc_object_mode_conv("x"), GR_FEXIST);
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 64883
:
40119
| 48982