diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2022-11-09 12:30:58 +0800 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2022-11-23 09:26:29 -0500 |
commit | f6d73a35d3853ab09297fa1738890706901f43b8 (patch) | |
tree | ade400c3827c3a84dbda977da7894c275b711de1 /recipes-security/refpolicy/refpolicy/0052-policy-modules-system-setrans-allow-setrans_t-use-fd.patch | |
parent | e9270d6e5889a854edd1305b91d3e5c7268d0cb8 (diff) | |
download | meta-selinux-f6d73a35d3853ab09297fa1738890706901f43b8.tar.gz |
refpolicy: upgrade 20210908+git -> 20221101+gitlangdale
* Update to latest git rev.
* Drop obsolete and useless patches.
* Rebase patches.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'recipes-security/refpolicy/refpolicy/0052-policy-modules-system-setrans-allow-setrans_t-use-fd.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy/0052-policy-modules-system-setrans-allow-setrans_t-use-fd.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-security/refpolicy/refpolicy/0052-policy-modules-system-setrans-allow-setrans_t-use-fd.patch b/recipes-security/refpolicy/refpolicy/0052-policy-modules-system-setrans-allow-setrans_t-use-fd.patch new file mode 100644 index 0000000..b916084 --- /dev/null +++ b/recipes-security/refpolicy/refpolicy/0052-policy-modules-system-setrans-allow-setrans_t-use-fd.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 55fe90eba640e6d52bb269176f45a3a5e2c3ed80 Mon Sep 17 00:00:00 2001 | ||
2 | From: Roy Li <rongqing.li@windriver.com> | ||
3 | Date: Sat, 22 Feb 2014 13:35:38 +0800 | ||
4 | Subject: [PATCH] policy/modules/system/setrans: allow setrans_t use fd at any | ||
5 | level | ||
6 | |||
7 | Upstream-Status: Inappropriate [embedded specific] | ||
8 | |||
9 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
10 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
11 | --- | ||
12 | policy/modules/system/setrans.te | 2 ++ | ||
13 | 1 file changed, 2 insertions(+) | ||
14 | |||
15 | diff --git a/policy/modules/system/setrans.te b/policy/modules/system/setrans.te | ||
16 | index 12e66aad9..5510f7fac 100644 | ||
17 | --- a/policy/modules/system/setrans.te | ||
18 | +++ b/policy/modules/system/setrans.te | ||
19 | @@ -69,6 +69,8 @@ mls_net_receive_all_levels(setrans_t) | ||
20 | mls_socket_write_all_levels(setrans_t) | ||
21 | mls_process_read_all_levels(setrans_t) | ||
22 | mls_socket_read_all_levels(setrans_t) | ||
23 | +mls_fd_use_all_levels(setrans_t) | ||
24 | +mls_trusted_object(setrans_t) | ||
25 | |||
26 | selinux_compute_access_vector(setrans_t) | ||
27 | |||
28 | -- | ||
29 | 2.25.1 | ||
30 | |||