Merge pull request #487 from jpds/userdb-lnk-read
systemd.if: Allowed reading symlinks in systemd_stream_connect_userdb()
This commit is contained in:
commit
42e57f4d1e
|
@ -1250,6 +1250,7 @@ interface(`systemd_stream_connect_userdb', `
|
|||
|
||||
init_search_runtime($1)
|
||||
allow $1 systemd_userdbd_runtime_t:dir list_dir_perms;
|
||||
allow $1 systemd_userdbd_runtime_t:lnk_file read_lnk_file_perms;
|
||||
stream_connect_pattern($1, systemd_userdbd_runtime_t, systemd_userdbd_runtime_t, systemd_userdbd_t)
|
||||
init_unix_stream_socket_connectto($1)
|
||||
')
|
||||
|
|
Loading…
Reference in New Issue