Skip to contentSkip to conversation

Removed unconfined_domain for insmod_t

DISCUSSION Christopher J. PeBenito 1 participant 1 message Apr 11, 2007 1 message not in the archive SELinux security module

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

policy/modules/system/modutils.te 2007-03-22 15:08:58.000000000 -0400 line 74

Quoted 11 lines · Daniel J Walsh
policy/modules/system/modutils.te 2007-03-22 15:08:58.000000000 -0400 renamed from policy/modules/system/modutils.te 2007-02-19 11:32:53.000000000 -0500 +1 -1
@@ -68,7 +68,7 @@
 # for locking: (cjp: ????)
 files_write_kernel_modules(insmod_t)
 
-dev_read_sysfs(insmod_t)
+dev_rw_sysfs(insmod_t)
 dev_search_usbfs(insmod_t)
 dev_rw_mtrr(insmod_t)
 dev_read_urand(insmod_t)

Merged.

policy/modules/system/modutils.te 2007-03-22 15:08:58.000000000 -0400 line 108

Quoted 8 lines
policy/modules/system/modutils.te 2007-03-22 15:08:58.000000000 -0400 renamed from policy/modules/system/modutils.te 2007-02-19 11:32:53.000000000 -0500 +1 -0
@@ -102,6 +102,7 @@
 init_use_fds(insmod_t)
 init_use_script_fds(insmod_t)
 init_use_script_ptys(insmod_t)
+init_spec_domtrans_script(insmod_t)
 
 libs_use_ld_so(insmod_t)
 libs_use_shared_libs(insmod_t)

I'll need some justification for this.

policy/modules/system/modutils.te 2007-03-22 15:08:58.000000000 -0400 line 126

Quoted 10 lines
policy/modules/system/modutils.te 2007-03-22 15:08:58.000000000 -0400 renamed from policy/modules/system/modutils.te 2007-02-19 11:32:53.000000000 -0500 +2 -1
@@ -118,7 +119,8 @@
 }
 
 ifdef(`targeted_policy',`
-       unconfined_domain(insmod_t)
+       term_use_unallocated_ttys(insmod_t)
+       term_use_generic_ptys(insmod_t)
 ')
 
 optional_policy(`

Merged.

Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
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.