mirror of
https://github.com/SELinuxProject/refpolicy
synced 2025-03-30 07:16:57 +00:00
Move use of systemd_unit_t from systemd.fc to init.fc
The type systemd_unit_t is actually declared in init.te. Moved the file contexts to label transient systemd files with the systemd_unit_t type from systemd.fc to init.fc. Signed-off-by: James Carter <jwcart2@tycho.nsa.gov>
This commit is contained in:
parent
d172b3b45d
commit
6226181924
policy/modules/system
@ -34,6 +34,7 @@ ifdef(`distro_gentoo',`
|
||||
/usr/lib/systemd/user-preset(/.*)? gen_context(system_u:object_r:systemd_unit_t,s0)
|
||||
/usr/lib/systemd/ntp-units\.d -d gen_context(system_u:object_r:systemd_unit_t,s0)
|
||||
/usr/lib/systemd/system(/.*)? gen_context(system_u:object_r:systemd_unit_t,s0)
|
||||
/run/systemd/transient(/.*)? gen_context(system_u:object_r:systemd_unit_t,s0)
|
||||
|
||||
/usr/libexec/dcc/start-.* -- gen_context(system_u:object_r:initrc_exec_t,s0)
|
||||
/usr/libexec/dcc/stop-.* -- gen_context(system_u:object_r:initrc_exec_t,s0)
|
||||
|
@ -49,7 +49,6 @@
|
||||
/run/systemd/resolve(/.*)? gen_context(system_u:object_r:systemd_resolved_var_run_t,s0)
|
||||
/run/systemd/seats(/.*)? gen_context(system_u:object_r:systemd_sessions_var_run_t,s0)
|
||||
/run/systemd/sessions(/.*)? gen_context(system_u:object_r:systemd_sessions_var_run_t,s0)
|
||||
/run/systemd/transient(/.*)? gen_context(system_u:object_r:systemd_unit_t,s0)
|
||||
/run/systemd/users(/.*)? gen_context(system_u:object_r:systemd_logind_var_run_t,s0)
|
||||
/run/systemd/inhibit(/.*)? gen_context(system_u:object_r:systemd_logind_inhibit_var_run_t,s0)
|
||||
/run/systemd/nspawn(/.*)? gen_context(system_u:object_r:systemd_nspawn_var_run_t,s0)
|
||||
|
Loading…
Reference in New Issue
Block a user