diff options
author | Joe MacDonald <joe@deserted.net> | 2019-04-08 13:50:40 -0400 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2019-04-10 10:57:14 -0400 |
commit | 776da889b550ac9e5be414a8cc10fd86b1923264 (patch) | |
tree | 79771fa29c551e934321434f4b5f3da7a27fd91f /recipes-security/refpolicy/refpolicy-git/poky-policy-allow-setfiles_t-to-read-symlinks.patch | |
parent | a6a3cadb1ef3203a123d8f5f9df27832f55b2ce3 (diff) | |
download | meta-selinux-jjm/RELEASE_2.20190201.tar.gz |
refpolicy: update to 2.20190201 and git HEAD policiesjjm/RELEASE_2.20190201
Additionally, the README has fallen out of date, update it to reflect the
current reality of layer dependencies.
Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-git/poky-policy-allow-setfiles_t-to-read-symlinks.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-git/poky-policy-allow-setfiles_t-to-read-symlinks.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/recipes-security/refpolicy/refpolicy-git/poky-policy-allow-setfiles_t-to-read-symlinks.patch b/recipes-security/refpolicy/refpolicy-git/poky-policy-allow-setfiles_t-to-read-symlinks.patch deleted file mode 100644 index 08e9398..0000000 --- a/recipes-security/refpolicy/refpolicy-git/poky-policy-allow-setfiles_t-to-read-symlinks.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 87b6daf87a07350a58c1724db8fc0a99b849818a Mon Sep 17 00:00:00 2001 | ||
2 | From: Xin Ouyang <Xin.Ouyang@windriver.com> | ||
3 | Date: Thu, 22 Aug 2013 13:37:23 +0800 | ||
4 | Subject: [PATCH] fix setfiles_t to read symlinks | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> | ||
9 | Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com> | ||
10 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
11 | --- | ||
12 | policy/modules/system/selinuxutil.te | 3 +++ | ||
13 | 1 file changed, 3 insertions(+) | ||
14 | |||
15 | --- a/policy/modules/system/selinuxutil.te | ||
16 | +++ b/policy/modules/system/selinuxutil.te | ||
17 | @@ -591,10 +591,13 @@ files_read_etc_files(setfiles_t) | ||
18 | files_list_all(setfiles_t) | ||
19 | files_relabel_all_files(setfiles_t) | ||
20 | files_read_usr_symlinks(setfiles_t) | ||
21 | files_dontaudit_read_all_symlinks(setfiles_t) | ||
22 | |||
23 | +# needs to be able to read symlinks to make restorecon on symlink working | ||
24 | +files_read_all_symlinks(setfiles_t) | ||
25 | + | ||
26 | fs_getattr_all_xattr_fs(setfiles_t) | ||
27 | fs_getattr_nfs(setfiles_t) | ||
28 | fs_getattr_pstore_dirs(setfiles_t) | ||
29 | fs_getattr_pstorefs(setfiles_t) | ||
30 | fs_getattr_tracefs(setfiles_t) | ||