user tty fixes

This commit is contained in:
Chris PeBenito 2005-11-03 19:33:53 +00:00
parent 9c6feb63de
commit 7afca0b4c1

View File

@ -33,7 +33,8 @@ fs_type(devpts_t)
fs_use_trans devpts gen_context(system_u:object_r:devpts_t,s0); fs_use_trans devpts gen_context(system_u:object_r:devpts_t,s0);
ifdef(`targeted_policy',` ifdef(`targeted_policy',`
typeattribute devpts_t ttynode; # cjp: the ttynode should probably be removed.
typeattribute devpts_t ttynode, ptynode;
') ')
# #
@ -56,6 +57,10 @@ mls_trusted_object(ptmx_t)
type tty_device_t, serial_device; type tty_device_t, serial_device;
dev_node(tty_device_t) dev_node(tty_device_t)
ifdef(`targeted_policy',`
typeattribute tty_device_t ttynode;
')
# #
# usbtty_device_t is the type of /dev/usr/tty* # usbtty_device_t is the type of /dev/usr/tty*
# #