terminal: cleanup term_create interfaces

Signed-off-by: bauen1 <j2468h@gmail.com>
This commit is contained in:
bauen1 2020-06-11 18:37:17 +02:00
parent aa6c7f28f2
commit d9a58c8434
No known key found for this signature in database
GPG Key ID: FF0AAF5E0812BA9C
1 changed files with 2 additions and 1 deletions

View File

@ -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;
')