diff options
author | Roy Li <rongqing.li@windriver.com> | 2014-02-08 10:34:15 +0800 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2014-02-12 19:35:13 -0500 |
commit | 184d49bb1240dbfbc2bf11d13b431e34e4dcfcb1 (patch) | |
tree | 085e36821b54bb241fac4f3fbb4753e838a2809b | |
parent | 05a0c6c2d1941a3aaa18737796a384b550d27c23 (diff) | |
download | meta-selinux-184d49bb1240dbfbc2bf11d13b431e34e4dcfcb1.tar.gz |
refpolicy: fix ftpwho install dir
ftpwho is installed into /usr/bin, not /usr/sbin.
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
-rw-r--r-- | recipes-security/refpolicy/refpolicy-2.20130424/poky-fc-ftpwho-dir.patch | 27 | ||||
-rw-r--r-- | recipes-security/refpolicy/refpolicy_2.20130424.inc | 1 |
2 files changed, 28 insertions, 0 deletions
diff --git a/recipes-security/refpolicy/refpolicy-2.20130424/poky-fc-ftpwho-dir.patch b/recipes-security/refpolicy/refpolicy-2.20130424/poky-fc-ftpwho-dir.patch new file mode 100644 index 0000000..a7d434f --- /dev/null +++ b/recipes-security/refpolicy/refpolicy-2.20130424/poky-fc-ftpwho-dir.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | fix ftpwho install dir | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | ftpwho is installed into /usr/bin/, not /usr/sbin, so fix it | ||
6 | |||
7 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
8 | --- | ||
9 | policy/modules/contrib/ftp.fc | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/policy/modules/contrib/ftp.fc b/policy/modules/contrib/ftp.fc | ||
13 | index ddb75c1..26fec47 100644 | ||
14 | --- a/policy/modules/contrib/ftp.fc | ||
15 | +++ b/policy/modules/contrib/ftp.fc | ||
16 | @@ -9,7 +9,7 @@ | ||
17 | |||
18 | /usr/kerberos/sbin/ftpd -- gen_context(system_u:object_r:ftpd_exec_t,s0) | ||
19 | |||
20 | -/usr/sbin/ftpwho -- gen_context(system_u:object_r:ftpd_exec_t,s0) | ||
21 | +/usr/bin/ftpwho -- gen_context(system_u:object_r:ftpd_exec_t,s0) | ||
22 | /usr/sbin/in\.ftpd -- gen_context(system_u:object_r:ftpd_exec_t,s0) | ||
23 | /usr/sbin/muddleftpd -- gen_context(system_u:object_r:ftpd_exec_t,s0) | ||
24 | /usr/sbin/proftpd -- gen_context(system_u:object_r:ftpd_exec_t,s0) | ||
25 | -- | ||
26 | 1.7.10.4 | ||
27 | |||
diff --git a/recipes-security/refpolicy/refpolicy_2.20130424.inc b/recipes-security/refpolicy/refpolicy_2.20130424.inc index 4b618b2..7ecfdc1 100644 --- a/recipes-security/refpolicy/refpolicy_2.20130424.inc +++ b/recipes-security/refpolicy/refpolicy_2.20130424.inc | |||
@@ -29,6 +29,7 @@ SRC_URI += "file://poky-fc-subs_dist.patch \ | |||
29 | file://poky-fc-sysnetwork.patch \ | 29 | file://poky-fc-sysnetwork.patch \ |
30 | file://poky-fc-udevd.patch \ | 30 | file://poky-fc-udevd.patch \ |
31 | file://poky-fc-rpm.patch \ | 31 | file://poky-fc-rpm.patch \ |
32 | file://poky-fc-ftpwho-dir.patch \ | ||
32 | " | 33 | " |
33 | 34 | ||
34 | # Specific policy for Poky | 35 | # Specific policy for Poky |