mirror of
https://passt.top/passt
synced 2024-12-22 13:45:32 +00:00
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
@ -72,6 +72,7 @@ type_transition unconfined_t passt_exec_t : process passt_t;
|
||||
allow unconfined_t passt_t : process transition ;
|
||||
|
||||
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 user_home_dir_t:dir { search add_name write };
|
||||
|
Loading…
Reference in New Issue
Block a user