Skip to contentSkip to conversation

insmod

PATCH Russell Coker 2 participants 2 messages Oct 16, 2004 – Oct 19, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

It seems that we can't get insmod changed to not open the module read/write for locking, so the attached patch permits this access.

Signature · 4 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page
program/modutil.te renamed from usr/src/se/policy/domains/program/modutil.te +2 -0
@@ -107,6 +108,8 @@
 
 # Read module objects.
 r_dir_file(insmod_t, modules_object_t)
+# for locking
+allow insmod_t modules_object_t:file write;
 
 allow insmod_t { var_t var_log_t }:dir search;
 ifdef(`xserver.te', `
#1 lore raw

Merged.

Quoted 2 lines · Russell Coker

It seems that we can't get insmod changed to not open the module read/write for locking, so the attached patch permits this access.

Signature · 7 lines
James Carter <[email protected]>
National Security Agency

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.