make ttys and ptys device nodes

This commit is contained in:
Chris PeBenito 2007-02-20 20:17:07 +00:00
parent 6b19be3360
commit f1be09c2b1
3 changed files with 4 additions and 9 deletions

View File

@ -1,3 +1,4 @@
- Fix ptys and ttys to be device nodes.
- Fix explicit use of httpd_t in openca_domtrans().
- Clean up file context regexes in apache and java, from Eamon Walsh.
- Patches from Dan Walsh:

View File

@ -19,7 +19,7 @@ interface(`term_pty',`
type devpts_t;
')
files_type($1)
dev_node($1)
allow $1 devpts_t:filesystem associate;
typeattribute $1 ptynode;
')
@ -89,13 +89,7 @@ interface(`term_tty',`
typeattribute $1 ttynode, serial_device;
# cjp: ?
files_associate_tmp($1)
# static /dev:
fs_associate($1)
# udev:
fs_associate_tmpfs($1)
dev_node($1)
')
########################################

View File

@ -1,5 +1,5 @@
policy_module(terminal,1.3.0)
policy_module(terminal,1.3.1)
########################################
#