diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy/0015-fc-brctl-apply-policy-to-brctl-alternatives.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy/0015-fc-brctl-apply-policy-to-brctl-alternatives.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-security/refpolicy/refpolicy/0015-fc-brctl-apply-policy-to-brctl-alternatives.patch b/recipes-security/refpolicy/refpolicy/0015-fc-brctl-apply-policy-to-brctl-alternatives.patch new file mode 100644 index 0000000..c592e8e --- /dev/null +++ b/recipes-security/refpolicy/refpolicy/0015-fc-brctl-apply-policy-to-brctl-alternatives.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | From e95592bb4138b7bbf3e7725144ac2cbe9cecc4cd Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
3 | Date: Fri, 15 Nov 2019 10:19:54 +0800 | ||
4 | Subject: [PATCH] fc/brctl: apply policy to brctl alternatives | ||
5 | |||
6 | Upstream-Status: Inappropriate [embedded specific] | ||
7 | |||
8 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
9 | --- | ||
10 | policy/modules/admin/brctl.fc | 1 + | ||
11 | 1 file changed, 1 insertion(+) | ||
12 | |||
13 | diff --git a/policy/modules/admin/brctl.fc b/policy/modules/admin/brctl.fc | ||
14 | index ed472f095..2a852b0fd 100644 | ||
15 | --- a/policy/modules/admin/brctl.fc | ||
16 | +++ b/policy/modules/admin/brctl.fc | ||
17 | @@ -1,3 +1,4 @@ | ||
18 | /usr/bin/brctl -- gen_context(system_u:object_r:brctl_exec_t,s0) | ||
19 | |||
20 | /usr/sbin/brctl -- gen_context(system_u:object_r:brctl_exec_t,s0) | ||
21 | +/usr/sbin/brctl\.bridge-utils -- gen_context(system_u:object_r:brctl_exec_t,s0) | ||
22 | -- | ||
23 | 2.25.1 | ||
24 | |||