Merge pull request #384 from maage/missing-requires
cleanup: Missing requires
This commit is contained in:
commit
2c4ae75eb8
|
@ -3226,6 +3226,7 @@ interface(`files_exec_etc_files',`
|
|||
interface(`files_get_etc_unit_status',`
|
||||
gen_require(`
|
||||
type etc_t;
|
||||
class service status;
|
||||
')
|
||||
|
||||
allow $1 etc_t:service status;
|
||||
|
@ -3244,6 +3245,7 @@ interface(`files_get_etc_unit_status',`
|
|||
interface(`files_start_etc_service',`
|
||||
gen_require(`
|
||||
type etc_t;
|
||||
class service start;
|
||||
')
|
||||
|
||||
allow $1 etc_t:service start;
|
||||
|
@ -3262,6 +3264,7 @@ interface(`files_start_etc_service',`
|
|||
interface(`files_stop_etc_service',`
|
||||
gen_require(`
|
||||
type etc_t;
|
||||
class service stop;
|
||||
')
|
||||
|
||||
allow $1 etc_t:service stop;
|
||||
|
|
|
@ -167,6 +167,7 @@ template(`ssh_basic_client_template',`
|
|||
#
|
||||
template(`ssh_server_template', `
|
||||
gen_require(`
|
||||
attribute ssh_server;
|
||||
type sshd_exec_t, sshd_key_t;
|
||||
')
|
||||
type $1_t, ssh_server;
|
||||
|
|
|
@ -1539,6 +1539,7 @@ interface(`xserver_read_tmp_files',`
|
|||
interface(`xserver_dbus_chat',`
|
||||
gen_require(`
|
||||
type xserver_t;
|
||||
class dbus send_msg;
|
||||
')
|
||||
|
||||
allow $1 xserver_t:dbus send_msg;
|
||||
|
|
Loading…
Reference in New Issue