From: Pascal Ouyang <xin.ouyang@windriver.com>
To: <wenzong.fan@windriver.com>, <yocto@yoctoproject.org>,
<mark.hatle@windriver.com>
Subject: Re: [meta-selinux][PATCH 1/1] refpolicy: fix real path for su.shadow
Date: Thu, 13 Feb 2014 17:48:37 +0800 [thread overview]
Message-ID: <52FC94F5.40904@windriver.com> (raw)
In-Reply-To: <fff8c6f836d66296e4e78ab30c05de1e89f96c6f.1392278548.git.wenzong.fan@windriver.com>
于 14-2-13 下午4:09, wenzong.fan@windriver.com 写道:
> From: Wenzong Fan <wenzong.fan@windriver.com>
>
> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
> ---
> .../poky-fc-fix-real-path_su.patch | 25 ++++++++++++++++++++
> .../refpolicy/refpolicy_2.20130424.inc | 1 +
> 2 files changed, 26 insertions(+)
> create mode 100644 recipes-security/refpolicy/refpolicy-2.20130424/poky-fc-fix-real-path_su.patch
>
> diff --git a/recipes-security/refpolicy/refpolicy-2.20130424/poky-fc-fix-real-path_su.patch b/recipes-security/refpolicy/refpolicy-2.20130424/poky-fc-fix-real-path_su.patch
> new file mode 100644
> index 0000000..b0392ce
> --- /dev/null
> +++ b/recipes-security/refpolicy/refpolicy-2.20130424/poky-fc-fix-real-path_su.patch
> @@ -0,0 +1,25 @@
> +From 4affa5e9797f5d51597c9b8e0f2503883c766699 Mon Sep 17 00:00:00 2001
> +From: Wenzong Fan <wenzong.fan@windriver.com>
> +Date: Thu, 13 Feb 2014 00:33:07 -0500
> +Subject: [PATCH] fix real path for su.shadow command
> +
> +Upstream-Status: Inappropriate [only for Poky]
> +
> +Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
> +---
> + policy/modules/admin/su.fc | 2 ++
> + 1 file changed, 2 insertions(+)
> +
> +diff --git a/policy/modules/admin/su.fc b/policy/modules/admin/su.fc
> +index a563687..0f43827 100644
> +--- a/policy/modules/admin/su.fc
> ++++ b/policy/modules/admin/su.fc
> +@@ -4,3 +4,5 @@
> +
> + /usr/(local/)?bin/ksu -- gen_context(system_u:object_r:su_exec_t,s0)
> + /usr/bin/kdesu -- gen_context(system_u:object_r:su_exec_t,s0)
> ++
> ++/bin/su.shadow -- gen_context(system_u:object_r:su_exec_t,s0)
> +--
> +1.7.9.5
> +
> diff --git a/recipes-security/refpolicy/refpolicy_2.20130424.inc b/recipes-security/refpolicy/refpolicy_2.20130424.inc
> index 23339e3..9e5e426 100644
> --- a/recipes-security/refpolicy/refpolicy_2.20130424.inc
> +++ b/recipes-security/refpolicy/refpolicy_2.20130424.inc
> @@ -30,6 +30,7 @@ SRC_URI += "file://poky-fc-subs_dist.patch \
> file://poky-fc-udevd.patch \
> file://poky-fc-rpm.patch \
> file://poky-fc-ftpwho-dir.patch \
> + file://poky-fc-fix-real-path_su.patch \
> "
>
> # Specific policy for Poky
>
Acked.
--
- Pascal
next prev parent reply other threads:[~2014-02-13 9:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-13 8:09 [meta-selinux][PATCH 0/1] refpolicy: fix real path for su.shadow wenzong.fan
2014-02-13 8:09 ` [meta-selinux][PATCH 1/1] " wenzong.fan
2014-02-13 9:48 ` Pascal Ouyang [this message]
2014-02-14 3:26 ` Joe MacDonald
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52FC94F5.40904@windriver.com \
--to=xin.ouyang@windriver.com \
--cc=mark.hatle@windriver.com \
--cc=wenzong.fan@windriver.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.