contrib/selinux: Let passt write to stdout and stderr when it starts
Otherwise, it's unusable as stand-alone tool, or in foreground mode, and it's also impossible to get output from --help or --version, because for SELinux it's just a daemon. Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Tested-by: Laine Stump <laine@redhat.com> Reviewed-by: Laine Stump <laine@redhat.com>
This commit is contained in:
parent
009af75e45
commit
41bc669866
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@ type_transition unconfined_t passt_exec_t : process passt_t;
|
||||||
allow unconfined_t passt_t : process transition ;
|
allow unconfined_t passt_t : process transition ;
|
||||||
|
|
||||||
init_daemon_domain(passt_t, passt_exec_t)
|
init_daemon_domain(passt_t, passt_exec_t)
|
||||||
|
term_use_all_inherited_terms(passt_t)
|
||||||
|
|
||||||
allow passt_t bin_t:file { execute execute_no_trans map };
|
allow passt_t bin_t:file { execute execute_no_trans map };
|
||||||
allow passt_t user_home_dir_t:dir { search add_name write };
|
allow passt_t user_home_dir_t:dir { search add_name write };
|
||||||
|
|
Loading…
Reference in a new issue