Skip to content

Commit

Permalink
Allow fapolicyd connect to systemd-userdbd over a unix socket
Browse files Browse the repository at this point in the history
  • Loading branch information
radosroka committed May 30, 2024
1 parent 3534057 commit eecd3b4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions usbguard.te
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,9 @@ optional_policy(`
manage_files_pattern(x_userdomain, usbguard_tmpfs_t, usbguard_tmpfs_t)
allow x_userdomain usbguard_tmpfs_t:file map;
')

ifdef(`systemd_userdbd_stream_connect',`
optional_policy(`
systemd_userdbd_stream_connect(usbguard_t)
')
')

0 comments on commit eecd3b4

Please sign in to comment.