initrc couldn't create/use its own pty!

This commit is contained in:
Chris PeBenito 2005-10-31 22:27:45 +00:00
parent 30910b37c6
commit b422aa9b1e
1 changed files with 3 additions and 0 deletions

View File

@ -212,6 +212,9 @@ allow initrc_t self:netlink_route_socket r_netlink_socket_perms;
allow initrc_t init_t:fd use; allow initrc_t init_t:fd use;
allow initrc_t initrc_devpts_t:chr_file rw_term_perms;
term_create_pty(initrc_t,initrc_devpts_t)
can_exec(initrc_t,initrc_exec_t) can_exec(initrc_t,initrc_exec_t)
allow initrc_t initrc_state_t:dir create_dir_perms; allow initrc_t initrc_state_t:dir create_dir_perms;