terminal: cleanup term_create interfaces
Signed-off-by: bauen1 <j2468h@gmail.com>
This commit is contained in:
parent
aa6c7f28f2
commit
d9a58c8434
|
@ -163,6 +163,7 @@ interface(`term_create_devpts_dirs',`
|
|||
type devpts_t;
|
||||
')
|
||||
|
||||
dev_add_entry_generic_dirs($1)
|
||||
allow $1 devpts_t:dir create_dir_perms;
|
||||
')
|
||||
|
||||
|
@ -395,7 +396,7 @@ interface(`term_create_console_dev',`
|
|||
')
|
||||
|
||||
dev_add_entry_generic_dirs($1)
|
||||
allow $1 console_device_t:chr_file create;
|
||||
allow $1 console_device_t:chr_file create_chr_file_perms;
|
||||
allow $1 self:capability mknod;
|
||||
')
|
||||
|
||||
|
|
Loading…
Reference in New Issue