Skip to contentSkip to conversation

system_logging.patch

refpolicy Daniel J Walsh 2 participants 4 messages Nov 12, 2009 – Nov 24, 2009

lore
Share & tools
lore
#1 lore raw
Quoted 6 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F12/system_logging.patch
Latest audit system handling.

(quoted diff) +0 -2
-/var/run/audit_events	-s	gen_context(system_u:object_r:auditd_var_run_t,s0)
-/var/run/audispd_events	-s	gen_context(system_u:object_r:audisp_var_run_t,s0)

Review

Quoted 10 lines
(quoted diff) +4 -2
-/var/run/auditd\.pid	--	gen_context(system_u:object_r:auditd_var_run_t,s0)
-/var/run/auditd_sock	-s	gen_context(system_u:object_r:auditd_var_run_t,s0)
+/var/run/audit_events	-s	gen_context(system_u:object_r:auditd_var_run_t,mls_systemhigh)
+/var/run/audispd_events	-s	gen_context(system_u:object_r:audisp_var_run_t,mls_systemhigh)
+/var/run/auditd\.pid	--	gen_context(system_u:object_r:auditd_var_run_t,mls_systemhigh)
+/var/run/auditd_sock	-s	gen_context(system_u:object_r:auditd_var_run_t,mls_systemhigh)
 /var/run/klogd\.pid	--	gen_context(system_u:object_r:klogd_var_run_t,s0)
 /var/run/log		-s	gen_context(system_u:object_r:devlog_t,s0)
 /var/run/metalog\.pid	--	gen_context(system_u:object_r:syslogd_var_run_t,s0)
 /var/run/syslogd\.pid	--	gen_context(system_u:object_r:syslogd_var_run_t,s0)

Why do sockets need to be system high?

Review

Quoted 7 lines
(quoted diff) +7 -0
+optional_policy(`
+	dbus_system_bus_client(audisp_t)
+
+	optional_policy(`
+		setroubleshoot_dbus_chat(audisp_t)
+	')
+')

Is audisp actually doing this, or is it a script it runs that is doing this? If its the latter, it needs its own policy.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150
#2 lore raw
Quoted 20 lines · Christopher J. PeBenito
Quoted 6 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F12/system_logging.patch
Latest audit system handling.

(quoted diff) +0 -2
-/var/run/audit_events	-s	gen_context(system_u:object_r:auditd_var_run_t,s0)
-/var/run/audispd_events	-s	gen_context(system_u:object_r:audisp_var_run_t,s0)

Review

Quoted 10 lines
(quoted diff) +4 -2
-/var/run/auditd\.pid	--	gen_context(system_u:object_r:auditd_var_run_t,s0)
-/var/run/auditd_sock	-s	gen_context(system_u:object_r:auditd_var_run_t,s0)
+/var/run/audit_events	-s	gen_context(system_u:object_r:auditd_var_run_t,mls_systemhigh)
+/var/run/audispd_events	-s	gen_context(system_u:object_r:audisp_var_run_t,mls_systemhigh)
+/var/run/auditd\.pid	--	gen_context(system_u:object_r:auditd_var_run_t,mls_systemhigh)
+/var/run/auditd_sock	-s	gen_context(system_u:object_r:auditd_var_run_t,mls_systemhigh)
 /var/run/klogd\.pid	--	gen_context(system_u:object_r:klogd_var_run_t,s0)
 /var/run/log		-s	gen_context(system_u:object_r:devlog_t,s0)
 /var/run/metalog\.pid	--	gen_context(system_u:object_r:syslogd_var_run_t,s0)
 /var/run/syslogd\.pid	--	gen_context(system_u:object_r:syslogd_var_run_t,s0)

Why do sockets need to be system high?

Quoted 12 lines

Review

Quoted 7 lines
(quoted diff) +7 -0
+optional_policy(`
+	dbus_system_bus_client(audisp_t)
+
+	optional_policy(`
+		setroubleshoot_dbus_chat(audisp_t)
+	')
+')

Is audisp actually doing this, or is it a script it runs that is doing this? If its the latter, it needs its own policy.

It is sedisp, so I guess it could have its own policy.

#3 lore raw
Quoted 6 lines · Daniel J Walsh
Quoted 5 lines · Christopher J. PeBenito
Quoted 2 lines · Daniel J Walsh

http://people.fedoraproject.org/~dwalsh/SELinux/F12/system_logging.patch
Latest audit system handling.

Quoted 15 lines
Quoted 6 lines
Quoted 6 lines
(quoted diff) +2 -4
-/var/run/audit_events	-s	gen_context(system_u:object_r:auditd_var_run_t,s0)
-/var/run/audispd_events	-s	gen_context(system_u:object_r:audisp_var_run_t,s0)
-/var/run/auditd\.pid	--	gen_context(system_u:object_r:auditd_var_run_t,s0)
-/var/run/auditd_sock	-s	gen_context(system_u:object_r:auditd_var_run_t,s0)
+/var/run/audit_events	-s	gen_context(system_u:object_r:auditd_var_run_t,mls_systemhigh)
+/var/run/audispd_events	-s	gen_context(system_u:object_r:audisp_var_run_t,mls_systemhigh)
Quoted 9 lines

Review

Quoted 6 lines
(quoted diff) +2 -0
+/var/run/auditd\.pid	--	gen_context(system_u:object_r:auditd_var_run_t,mls_systemhigh)
+/var/run/auditd_sock	-s	gen_context(system_u:object_r:auditd_var_run_t,mls_systemhigh)
 /var/run/klogd\.pid	--	gen_context(system_u:object_r:klogd_var_run_t,s0)
 /var/run/log		-s	gen_context(system_u:object_r:devlog_t,s0)
 /var/run/metalog\.pid	--	gen_context(system_u:object_r:syslogd_var_run_t,s0)
 /var/run/syslogd\.pid	--	gen_context(system_u:object_r:syslogd_var_run_t,s0)

Why do sockets need to be system high?

So processes that listen on these socketes have to be system_high. They are providing system_high information.

Quoted 17 lines
Quoted 12 lines

Review

Quoted 7 lines
(quoted diff) +7 -0
+optional_policy(`
+	dbus_system_bus_client(audisp_t)
+
+	optional_policy(`
+		setroubleshoot_dbus_chat(audisp_t)
+	')
+')

Is audisp actually doing this, or is it a script it runs that is doing this? If its the latter, it needs its own policy.

It is sedisp, so I guess it could have its own policy.
_______________________________________________
refpolicy mailing list
refpolicy at oss.tresys.com
http://oss.tresys.com/mailman/listinfo/refpolicy