diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2023-07-27 14:07:48 -0400 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2023-07-31 15:05:30 -0400 |
commit | 1924d975283210f0c36bc3c0e8ce516ccc06961f (patch) | |
tree | 494be7575b6219b816613ddefb6072973d8e78d4 /recipes-security/refpolicy/refpolicy-git/0029-policy-module-selinuxutil-fix-setfiles-statvfs-to-ge.patch | |
parent | 4f3ec6e10f13aaf19fbca9a18547f9e72ba1ec0a (diff) | |
download | meta-selinux-dunfell.tar.gz |
refpolicy: update to 20200229+gitdunfell
* Drop obsolete and unused patches.
* Rebase patches.
* Add patches to make systemd and sysvinit can work with all policy types.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
(cherry picked from commit 15fed8756aa4828fa12a3d813754b4ca65a7607d)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-git/0029-policy-module-selinuxutil-fix-setfiles-statvfs-to-ge.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-git/0029-policy-module-selinuxutil-fix-setfiles-statvfs-to-ge.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/recipes-security/refpolicy/refpolicy-git/0029-policy-module-selinuxutil-fix-setfiles-statvfs-to-ge.patch b/recipes-security/refpolicy/refpolicy-git/0029-policy-module-selinuxutil-fix-setfiles-statvfs-to-ge.patch deleted file mode 100644 index 14734b2..0000000 --- a/recipes-security/refpolicy/refpolicy-git/0029-policy-module-selinuxutil-fix-setfiles-statvfs-to-ge.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From d97aef0ecdb2ff964b1ed3d0b18ce83c2ab42f14 Mon Sep 17 00:00:00 2001 | ||
2 | From: Joe MacDonald <joe_macdonald@mentor.com> | ||
3 | Date: Fri, 29 Mar 2019 11:30:27 -0400 | ||
4 | Subject: [PATCH 29/34] policy/module/selinuxutil: fix setfiles statvfs to get | ||
5 | file count | ||
6 | |||
7 | New setfiles will read /proc/mounts and use statvfs in | ||
8 | file_system_count() to get file count of filesystems. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> | ||
13 | Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com> | ||
14 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
15 | --- | ||
16 | policy/modules/system/selinuxutil.te | 1 + | ||
17 | 1 file changed, 1 insertion(+) | ||
18 | |||
19 | diff --git a/policy/modules/system/selinuxutil.te b/policy/modules/system/selinuxutil.te | ||
20 | index 8a1688cc..a9930e9e 100644 | ||
21 | --- a/policy/modules/system/selinuxutil.te | ||
22 | +++ b/policy/modules/system/selinuxutil.te | ||
23 | @@ -607,6 +607,7 @@ files_relabel_all_files(setfiles_t) | ||
24 | files_read_usr_symlinks(setfiles_t) | ||
25 | files_dontaudit_read_all_symlinks(setfiles_t) | ||
26 | |||
27 | +fs_getattr_all_fs(setfiles_t) | ||
28 | fs_getattr_all_xattr_fs(setfiles_t) | ||
29 | fs_getattr_cgroup(setfiles_t) | ||
30 | fs_getattr_nfs(setfiles_t) | ||
31 | -- | ||
32 | 2.19.1 | ||
33 | |||