selinux: Allow pasta_t to read nsfs entries
This is needed to monitor filesystem-bound namespaces and quit when
they're gone -- this feature never really worked with SELinux.
Fixes: 745a9ba428
("pasta: By default, quit if filesystem-bound net namespace goes away")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Acked-by: Richard W.M. Jones <rjones@redhat.com>
This commit is contained in:
parent
977652155d
commit
30817fdd4e
1 changed files with 2 additions and 0 deletions
|
@ -187,6 +187,8 @@ allow pasta_t sysctl_net_t:dir search;
|
|||
allow pasta_t sysctl_net_t:file { open write };
|
||||
allow pasta_t kernel_t:system module_request;
|
||||
|
||||
allow pasta_t nsfs_t:file read;
|
||||
|
||||
allow pasta_t net_conf_t:lnk_file read;
|
||||
allow pasta_t proc_net_t:lnk_file read;
|
||||
|
||||
|
|
Loading…
Reference in a new issue