From: Joshua Brindle <jbrindle@tresys.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Joshua Brindle <jbrindle@tresys.com>, <selinux@tycho.nsa.gov>
Subject: Re: [PATCH kernel/goldfish] enable secmark labeling for SE Android network access controls
Date: Tue, 19 Jun 2012 15:38:51 -0400 [thread overview]
Message-ID: <4FE0D54B.1020703@tresys.com> (raw)
In-Reply-To: <1340107289.18291.15.camel@moss-pluto.epoch.ncsc.mil>
Stephen Smalley wrote:
> On Sat, 2012-06-16 at 14:56 -0400, Joshua Brindle wrote:
>> Signed-off-by: Joshua Brindle<jbrindle@tresys.com>
>> ---
>> arch/x86/configs/i386_defconfig | 4 ++++
>> 1 file changed, 4 insertions(+)
>
> I would have expected these changes to go into
> arch/x86/configs/goldfish_defconfig,
> arch/arm/configs/goldfish_defconfig, and
> arch/arm/configs/goldfish_armv7_defconfig.
>
Wondering why this worked (since it is obviously the wrong config) I looked at
the above files. It appears that the x86 goldfish_defconfig already had it (I
didn't test on an ARM emulator):
android/kernel/goldfish/arch/x86/configs$ git blame goldfish_defconfig | grep
SECMARK
b2069ffd (Jun Nakajima 2011-03-06 23:12:13 -0800 453)
CONFIG_NETWORK_SECMARK=y
b2069ffd (Jun Nakajima 2011-03-06 23:12:13 -0800 464)
CONFIG_NF_CONNTRACK_SECMARK=y
b2069ffd (Jun Nakajima 2011-03-06 23:12:13 -0800 470)
CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=y
b2069ffd (Jun Nakajima 2011-03-06 23:12:13 -0800 473)
CONFIG_NETFILTER_XT_TARGET_SECMARK=y
I'll apply it to the arm configs and resubmit.
>> diff --git a/arch/x86/configs/i386_defconfig b/arch/x86/configs/i386_defconfig
>> index edba00d..09db997 100644
>> --- a/arch/x86/configs/i386_defconfig
>> +++ b/arch/x86/configs/i386_defconfig
>> @@ -2128,6 +2128,10 @@ CONFIG_SECURITY_NETWORK=y
>> CONFIG_SECURITY_FILE_CAPABILITIES=y
>> # CONFIG_SECURITY_ROOTPLUG is not set
>> CONFIG_SECURITY_DEFAULT_MMAP_MIN_ADDR=65536
>> +CONFIG_NETWORK_SECMARK=y
>> +CONFIG_NF_CONNTRACK_SECMARK=y
>> +CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=y
>> +CONFIG_NETFILTER_XT_TARGET_SECMARK=y
>> CONFIG_SECURITY_SELINUX=y
>> CONFIG_SECURITY_SELINUX_BOOTPARAM=y
>> CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=1
>
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2012-06-19 19:38 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-16 18:56 [PATCH external/sepolicy] Add iptables script to policy Joshua Brindle
2012-06-16 18:56 ` [PATCH build] add iptables-selinux.sh to SELINUX_DEPENDS Joshua Brindle
2012-06-16 18:56 ` [PATCH system/core] add iptables secmark labeling script to startup Joshua Brindle
2012-06-18 15:18 ` Paul Moore
2012-06-18 15:23 ` Joshua Brindle
2012-06-19 12:24 ` Stephen Smalley
2012-06-19 12:29 ` Joshua Brindle
2012-06-16 18:56 ` [PATCH kernel/tegra] enable secmark labeling for SE Android network access controls Joshua Brindle
2012-06-19 13:26 ` Stephen Smalley
2012-06-19 14:11 ` Joshua Brindle
2012-06-19 14:25 ` Joshua Brindle
2012-06-16 18:56 ` [PATCH kernel/omap] " Joshua Brindle
2012-06-19 13:27 ` Stephen Smalley
2012-06-16 18:56 ` [PATCH kernel/goldfish] " Joshua Brindle
2012-06-19 12:01 ` Stephen Smalley
2012-06-19 19:38 ` Joshua Brindle [this message]
2012-06-18 15:25 ` [PATCH external/sepolicy] Add iptables script to policy Paul Moore
2012-06-19 12:22 ` Stephen Smalley
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=4FE0D54B.1020703@tresys.com \
--to=jbrindle@tresys.com \
--cc=sds@tycho.nsa.gov \
--cc=selinux@tycho.nsa.gov \
/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.