Skip to contentSkip to conversation

systemd: add missing file context spec for systemd-user-sessions executable file

PATCH New Dominick Grift 2 participants 2 messages Dec 8, 2015 – Dec 9, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd: add missing file context spec for systemd-user-sessions executable file

---
 policy/modules/system/systemd.fc | 1 +
 1 file changed, 1 insertion(+)
policy/modules/system/systemd.fc +1 -0
index 864979d..a0b5f0b 100644
@@ -17,6 +17,7 @@
 /usr/lib/systemd/systemd-localed	--	gen_context(system_u:object_r:systemd_locale_exec_t,s0)
 /usr/lib/systemd/systemd-logind		--	gen_context(system_u:object_r:systemd_logind_exec_t,s0)
 /usr/lib/systemd/systemd-machined	--	gen_context(system_u:object_r:systemd_machined_exec_t,s0)
+/usr/lib/systemd/systemd-user-sessions	--	gen_context(system_u:object_r:systemd_sessions_exec_t,s0)
 
 # Systemd unit files
 /usr/lib/systemd/system/[^/]*halt.*	--	gen_context(system_u:object_r:power_unit_t,s0)
Signature · 1 line
2.5.0
#1 lore raw

PATCH 1/1 systemd: add missing file context spec for systemd-user-sessions executable file

Quoted 10 lines · Dominick Grift
---
 policy/modules/system/systemd.fc | 1 +
 1 file changed, 1 insertion(+)
policy/modules/system/systemd.fc +0 -0
index 864979d..a0b5f0b 100644

policy/modules/system/systemd.fc line 23

Quoted 7 lines
policy/modules/system/systemd.fc +1 -0
@@ -17,6 +17,7 @@
 /usr/lib/systemd/systemd-localed	--	gen_context(system_u:object_r:systemd_locale_exec_t,s0)
 /usr/lib/systemd/systemd-logind		--	gen_context(system_u:object_r:systemd_logind_exec_t,s0)
 /usr/lib/systemd/systemd-machined	--	gen_context(system_u:object_r:systemd_machined_exec_t,s0)
+/usr/lib/systemd/systemd-user-sessions	--	gen_context(system_u:object_r:systemd_sessions_exec_t,s0)
 
 # Systemd unit files
 /usr/lib/systemd/system/[^/]*halt.*	--	gen_context(system_u:object_r:power_unit_t,s0)

Merged.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com