diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-git/0004-fc-hostname-apply-policy-to-common-yocto-hostname-al.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-git/0004-fc-hostname-apply-policy-to-common-yocto-hostname-al.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/recipes-security/refpolicy/refpolicy-git/0004-fc-hostname-apply-policy-to-common-yocto-hostname-al.patch b/recipes-security/refpolicy/refpolicy-git/0004-fc-hostname-apply-policy-to-common-yocto-hostname-al.patch deleted file mode 100644 index 36bfdcf..0000000 --- a/recipes-security/refpolicy/refpolicy-git/0004-fc-hostname-apply-policy-to-common-yocto-hostname-al.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | From abd7d9fa3398be45e733930ebaec9e05b1aba252 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 04/34] fc/hostname: apply policy to common yocto hostname | ||
5 | alternatives | ||
6 | |||
7 | Upstream-Status: Inappropriate [only for Yocto] | ||
8 | |||
9 | Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> | ||
10 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
11 | --- | ||
12 | policy/modules/system/hostname.fc | 4 ++++ | ||
13 | 1 file changed, 4 insertions(+) | ||
14 | |||
15 | diff --git a/policy/modules/system/hostname.fc b/policy/modules/system/hostname.fc | ||
16 | index 83ddeb57..653e038d 100644 | ||
17 | --- a/policy/modules/system/hostname.fc | ||
18 | +++ b/policy/modules/system/hostname.fc | ||
19 | @@ -1 +1,5 @@ | ||
20 | +/usr/bin/hostname\.net-tools -- gen_context(system_u:object_r:hostname_exec_t,s0) | ||
21 | +/usr/bin/hostname\.coreutils -- gen_context(system_u:object_r:hostname_exec_t,s0) | ||
22 | +/usr/lib/busybox/bin/hostname -- gen_context(system_u:object_r:hostname_exec_t,s0) | ||
23 | + | ||
24 | /usr/bin/hostname -- gen_context(system_u:object_r:hostname_exec_t,s0) | ||
25 | -- | ||
26 | 2.19.1 | ||
27 | |||