Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 141817 Details for
Bug 207421
sys-apps/rlocate-0.5.6 doesn't compile w/ 2.6.24 kernel due to LSM not being modular
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove obsoleted unreg security calls under kernel 2.6.24
rlocate_kernel_2.6.24_unreg.patch (text/plain), 1.17 KB, created by
Jouni Kosonen
on 2008-01-26 12:00:47 UTC
(
hide
)
Description:
Remove obsoleted unreg security calls under kernel 2.6.24
Filename:
MIME Type:
Creator:
Jouni Kosonen
Created:
2008-01-26 12:00:47 UTC
Size:
1.17 KB
patch
obsolete
>--- src/rlocate-module/rlocate.c.orig 2008-01-26 13:32:57.000000000 +0200 >+++ src/rlocate-module/rlocate.c 2008-01-26 13:35:08.000000000 +0200 >@@ -1042,10 +1042,12 @@ > no_exclude_dir_arg: > kfree(path_buffer); > no_path_buffer: >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24) > if ( mod_register ) > mod_unreg_security(DEVICE_NAME, &rlocate_security_ops); > else > unregister_security(&rlocate_security_ops); >+#endif > no_lsm: > rlocate_dev_unregister(); > out: >@@ -1063,6 +1065,7 @@ > free_page( (unsigned long)STARTING_PATH_ARG); > free_page( (unsigned long)EXCLUDE_DIR_ARG); > kfree(path_buffer); >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24) > if ( mod_register ) { > if (mod_unreg_security(DEVICE_NAME, &rlocate_security_ops)) > printk(KERN_INFO "rlocate: failed to unregister " >@@ -1071,7 +1074,7 @@ > } else if (unregister_security(&rlocate_security_ops)) > printk(KERN_INFO "rlocate: failed to unregister " > "rlocate security module.\n"); >- >+#endif > rlocate_dev_unregister(); > printk(KERN_INFO "rlocate: unloaded\n"); > }
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 207421
:
141816
|
141817
|
141826