Skip to contentSkip to conversation

refpolicy: kernel_terminal changes new terminal device

PATCH In review [email protected] 2 participants 2 messages Aug 2, 2007 – Aug 7, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 refpolicy: kernel_terminal changes new terminal device

policy/modules/kernel/terminal.fc +1 -0
@@ -8,6 +8,7 @@
 /dev/dcbri[0-9]+	-c	gen_context(system_u:object_r:tty_device_t,s0)
 /dev/hvc.*		-c	gen_context(system_u:object_r:tty_device_t,s0)
 /dev/hvsi.*		-c	gen_context(system_u:object_r:tty_device_t,s0)
+/dev/i2c[^/]*		-c	gen_context(system_u:object_r:tty_device_t,s0)
 /dev/ircomm[0-9]+	-c	gen_context(system_u:object_r:tty_device_t,s0)
 /dev/ip2[^/]*		-c	gen_context(system_u:object_r:tty_device_t,s0)
 /dev/isdn.*		-c	gen_context(system_u:object_r:tty_device_t,s0)

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

#1 lore raw

policy/modules/kernel/terminal.fc 2007-08-02 11:02:02.000000000 -0400 line 14

Quoted 10 lines · On Thu, 2007-08-02 at 16:12 -0400, [email protected] wrote:
policy/modules/kernel/terminal.fc 2007-08-02 11:02:02.000000000 -0400 renamed from policy/modules/kernel/terminal.fc 2007-05-29 14:10:48.000000000 -0400 +1 -0
@@ -8,6 +8,7 @@
 /dev/dcbri[0-9]+       -c      gen_context(system_u:object_r:tty_device_t,s0)
 /dev/hvc.*             -c      gen_context(system_u:object_r:tty_device_t,s0)
 /dev/hvsi.*            -c      gen_context(system_u:object_r:tty_device_t,s0)
+/dev/i2c[^/]*          -c      gen_context(system_u:object_r:tty_device_t,s0)
 /dev/ircomm[0-9]+      -c      gen_context(system_u:object_r:tty_device_t,s0)
 /dev/ip2[^/]*          -c      gen_context(system_u:object_r:tty_device_t,s0)
 /dev/isdn.*            -c      gen_context(system_u:object_r:tty_device_t,s0)

I don't think this is correct, not all i2c devices are ttys.

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.