systemd: allow systemd-network to get attributes of fs
Fixes: avc: denied { getattr } for pid=57 comm="systemd-network" name="/" dev="vda" ino=2 scontext=system_u:system_r:systemd_networkd_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=0 Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
This commit is contained in:
parent
1ee738f708
commit
34547434b8
|
@ -785,6 +785,7 @@ dev_write_kmsg(systemd_networkd_t)
|
||||||
files_read_etc_files(systemd_networkd_t)
|
files_read_etc_files(systemd_networkd_t)
|
||||||
files_watch_runtime_dirs(systemd_networkd_t)
|
files_watch_runtime_dirs(systemd_networkd_t)
|
||||||
files_watch_root_dirs(systemd_networkd_t)
|
files_watch_root_dirs(systemd_networkd_t)
|
||||||
|
fs_getattr_xattr_fs(systemd_networkd_t)
|
||||||
|
|
||||||
auth_use_nsswitch(systemd_networkd_t)
|
auth_use_nsswitch(systemd_networkd_t)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue