systemd: Fix lint errors.

Signed-off-by: Chris PeBenito <pebenito@ieee.org>
This commit is contained in:
Chris PeBenito 2021-02-02 14:02:49 -05:00
parent 4436cd0d6d
commit e6fbff4948
1 changed files with 2 additions and 3 deletions

View File

@ -30,7 +30,6 @@ template(`systemd_role_template',`
attribute systemd_user_session_type, systemd_log_parse_env_type; attribute systemd_user_session_type, systemd_log_parse_env_type;
type systemd_user_runtime_t, systemd_user_runtime_notify_t; type systemd_user_runtime_t, systemd_user_runtime_notify_t;
type systemd_run_exec_t, systemd_analyze_exec_t; type systemd_run_exec_t, systemd_analyze_exec_t;
type systemd_machined_t;
') ')
################################# #################################
@ -68,7 +67,7 @@ template(`systemd_role_template',`
# Allow using file descriptors for user environment generators # Allow using file descriptors for user environment generators
allow $3 $1_systemd_t:fd use; allow $3 $1_systemd_t:fd use;
allow $3 $1_systemd_t:fifo_file rw_inherited_file_perms; allow $3 $1_systemd_t:fifo_file rw_inherited_fifo_file_perms;
# systemctl --user # systemctl --user
stream_connect_pattern($3, systemd_user_runtime_t, systemd_user_runtime_t, $1_systemd_t) stream_connect_pattern($3, systemd_user_runtime_t, systemd_user_runtime_t, $1_systemd_t)
@ -1351,5 +1350,5 @@ interface(`systemd_use_machined_devpts', `
') ')
allow $1 systemd_machined_t:fd use; allow $1 systemd_machined_t:fd use;
allow $1 systemd_machined_devpts_t:chr_file { read write }; allow $1 systemd_machined_devpts_t:chr_file rw_inherited_term_perms;
') ')