Skip to content

Commit eecd3b4

Browse files
committed
Allow fapolicyd connect to systemd-userdbd over a unix socket
1 parent 3534057 commit eecd3b4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

usbguard.te

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,9 @@ optional_policy(`
127127
manage_files_pattern(x_userdomain, usbguard_tmpfs_t, usbguard_tmpfs_t)
128128
allow x_userdomain usbguard_tmpfs_t:file map;
129129
')
130+
131+
ifdef(`systemd_userdbd_stream_connect',`
132+
optional_policy(`
133+
systemd_userdbd_stream_connect(usbguard_t)
134+
')
135+
')

0 commit comments

Comments
 (0)