You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add checks for template/interface mis-declarations
Interfaces in the refpolicy should not:
- declare anything (no side effects)
- use prefix parameters
Add one check to find interfaces that should be declared as a template
and one check to find templates that can be declared as an interface.
Refpolicy findings:
qemu.if: 112: (S): Template qemu_role might be declared as an interface (S-012)
wm.if: 142: (S): Interface wm_dbus_chat should be a template, due to parameter 0 (S-011)
wm.if: 250: (S): Interface wm_write_pipes should be a template, due to parameter 0 (S-011)
gnome.if: 673: (S): Interface gnome_dbus_chat_gkeyringd should be a template, due to parameter 0 (S-011)
gnome.if: 741: (S): Interface gnome_stream_connect_gkeyringd should be a template, due to parameter 0 (S-011)
userdomain.if: 1431: (S): Template userdom_security_admin_template might be declared as an interface (S-012)
kismet.if: 18: (S): Template kismet_role might be declared as an interface (S-012)
dbus.if: 193: (S): Interface dbus_connect_spec_session_bus should be a template, due to parameter 0 (S-011)
dbus.if: 245: (S): Interface dbus_spec_session_bus_client should be a template, due to parameter 0 (S-011)
dbus.if: 298: (S): Interface dbus_send_spec_session_bus should be a template, due to parameter 0 (S-011)
dbus.if: 436: (S): Interface dbus_spec_session_domain should be a template, due to parameter 0 (S-011)
rlogin.if: 32: (S): Template rlogin_read_home_content might be declared as an interface (S-012)
git.if: 18: (S): Template git_role might be declared as an interface (S-012)
Found the following issue counts:
S-011: 8
S-012: 5
Closes: #205
0 commit comments