uses_shlib
The libc on my system uses a file named /etc/ld.so.preload. I have added the following line to my file_contexts:/etc/ld.so.preload system_u:object_r:ld_so_t
Also I added the following to uses_shlib():
allow $1 ld_so_cache_t:file r_file_perms;
Signature · 10 lines
If you send email to me or to a mailing list that I use which has >4 lines of legalistic junk at the end then you are specifically authorizing me to do whatever I wish with the message and all other messages from your domain, by posting the message you agree that your long legalistic sig is void. -- You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 3 lines · Russell Coker
The libc on my system uses a file named
/etc/ld.so.preload. I have added the following line to myfile_contexts:/etc/ld.so.preloadsystem_u:object_r:ld_so_t
You mean ld_so_cache_t not ld_so_t, right?
Quoted 2 lines
Also I added the following to
uses_shlib():
allow $1 ld_so_cache_t:filer_file_perms;
--
Stephen D. Smalley, NAI Labs
[email protected]
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 6 lines · Stephen Smalley
Quoted 3 lines · Russell Coker
The libc on my system uses a file named
/etc/ld.so.preload. I have added the following line to myfile_contexts:/etc/ld.so.preloadsystem_u:object_r:ld_so_tYou mean
ld_so_cache_tnotld_so_t, right?
Both actually, I need the /etc/ld.so.preload as well.
Signature · 9 lines
If you send email to me or to a mailing list that I use which has >4 lines of legalistic junk at the end then you are specifically authorizing me to do whatever I wish with the message and all other messages from your domain, by posting the message you agree that your long legalistic sig is void. -- You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 9 lines · Russell Coker
Quoted 6 lines · Stephen Smalley
Quoted 3 lines · Russell Coker
The libc on my system uses a file named
/etc/ld.so.preload. I have added the following line to myfile_contexts:/etc/ld.so.preloadsystem_u:object_r:ld_so_tYou mean
ld_so_cache_tnotld_so_t, right?Both actually, I need the
/etc/ld.so.preloadas well.
I'll try again. I think that the line in your file_contexts should be:/etc/ld.so.preload system_u:object_r:ld_so_cache_t
The ld_so_t type should only be applied to system dynamic linker programs, not configuration files.
--
Stephen D. Smalley, NAI Labs
[email protected]
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.