diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-git/poky-policy-fix-setfiles-statvfs-get-file-count.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-git/poky-policy-fix-setfiles-statvfs-get-file-count.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/recipes-security/refpolicy/refpolicy-git/poky-policy-fix-setfiles-statvfs-get-file-count.patch b/recipes-security/refpolicy/refpolicy-git/poky-policy-fix-setfiles-statvfs-get-file-count.patch deleted file mode 100644 index 0cd8bf9..0000000 --- a/recipes-security/refpolicy/refpolicy-git/poky-policy-fix-setfiles-statvfs-get-file-count.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From f4e034d6996c5b1f88a9262828dac2ad6ee09b7b Mon Sep 17 00:00:00 2001 | ||
2 | From: Xin Ouyang <Xin.Ouyang@windriver.com> | ||
3 | Date: Fri, 23 Aug 2013 14:38:53 +0800 | ||
4 | Subject: [PATCH] fix setfiles statvfs to get file count | ||
5 | |||
6 | New setfiles will read /proc/mounts and use statvfs in | ||
7 | file_system_count() to get file count of filesystems. | ||
8 | |||
9 | Upstream-Status: pending | ||
10 | |||
11 | Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> | ||
12 | Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com> | ||
13 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
14 | --- | ||
15 | policy/modules/system/selinuxutil.te | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | --- a/policy/modules/system/selinuxutil.te | ||
19 | +++ b/policy/modules/system/selinuxutil.te | ||
20 | @@ -594,10 +594,11 @@ 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_fs(setfiles_t) | ||
27 | fs_getattr_all_xattr_fs(setfiles_t) | ||
28 | fs_getattr_nfs(setfiles_t) | ||
29 | fs_getattr_pstore_dirs(setfiles_t) | ||
30 | fs_getattr_pstorefs(setfiles_t) | ||
31 | fs_getattr_tracefs(setfiles_t) | ||