am 018e9402
: Prohibit reading of untrusted symlinks via neverallow.
* commit '018e9402c656c20289ea382dc72f958aa7e054d1': Prohibit reading of untrusted symlinks via neverallow.
This commit is contained in:
commit
3f0ce9e096
1 changed files with 4 additions and 0 deletions
4
init.te
4
init.te
|
@ -117,3 +117,7 @@ allow init kernel:process setsched;
|
|||
neverallow { domain -kernel} init:process dyntransition;
|
||||
neverallow domain init:process transition;
|
||||
neverallow init { file_type fs_type }:file entrypoint;
|
||||
|
||||
# Never read/follow symlinks created by shell or untrusted apps.
|
||||
neverallow init shell_data_file:lnk_file read;
|
||||
neverallow init app_data_file:lnk_file read;
|
||||
|
|
Loading…
Reference in a new issue