Skip to content

Commit ba5c913

Browse files
authored
Merge pull request #1075 from yizhao1/systemd
systemd: fixes for systemd-user-runtime-dir
2 parents 293b9ee + 8bd8bcc commit ba5c913

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

policy/modules/system/systemd.te

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2442,7 +2442,11 @@ allow systemd_user_runtime_dir_t systemd_user_runtime_notify_t:sock_file delete_
24422442

24432443
allow systemd_user_runtime_dir_t systemd_userdbd_runtime_t:dir list_dir_perms;
24442444

2445+
stream_connect_pattern(systemd_user_runtime_dir_t, systemd_userdbd_runtime_t, systemd_userdbd_runtime_t, systemd_userdbd_t)
2446+
24452447
files_read_etc_files(systemd_user_runtime_dir_t)
2448+
# read /etc/machine-id
2449+
files_read_etc_runtime_files(systemd_user_runtime_dir_t)
24462450

24472451
fs_mount_tmpfs(systemd_user_runtime_dir_t)
24482452
fs_getattr_tmpfs(systemd_user_runtime_dir_t)

0 commit comments

Comments
 (0)