All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Smalley <sds@tycho.nsa.gov>
To: William Roberts <bill.c.roberts@gmail.com>
Cc: selinux@tycho.nsa.gov, hqjiang1988@gmail.com
Subject: Re: [PATCH] Support for ocontexts per device.
Date: Thu, 12 Jul 2012 10:13:23 -0400	[thread overview]
Message-ID: <1342102403.8057.34.camel@moss-pluto.epoch.ncsc.mil> (raw)
In-Reply-To: <1342102117.8057.33.camel@moss-pluto.epoch.ncsc.mil>

On Thu, 2012-07-12 at 10:08 -0400, Stephen Smalley wrote:
> On Wed, 2012-07-11 at 16:46 -0700, William Roberts wrote:
> > ocontexts was split up into 4 files:
> > 1.fs_use
> > 2.genfs_contexts
> > 3.initial_sid_contexts
> > 4.port_contexts
> > 
> > Each file has their respective declerations in them.
> > Devices, in their respective device directory, can now specify sepolicy.fs_use, sepolicy.genfs_contexts, sepolicy.port_contexts, and sepolicy.initial_sid_contexts. These declerations will be added right behind their respective sepolicy counterparts in the concatenated configuration file.
> 
> Thanks, applied.  Conflicted with hqjiang's patch but I resolved by
> dropping his addition to ocontexts.  You can restore them now by
> creating a sepolicy.genfs_contexts file in device/samsung/tuna and a
> trivial one in the device/samsung/maguro,toro directories that include
> the tuna file as with the sepolicy.fc files.

Hmm...spoke too soon.  Something is wrong with the resulting policy;
won't load into the kernel.

-- 
Stephen Smalley
National Security Agency


--
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.

  reply	other threads:[~2012-07-12 14:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-11 23:46 [PATCH] Support for ocontexts per device William Roberts
2012-07-12 14:08 ` Stephen Smalley
2012-07-12 14:13   ` Stephen Smalley [this message]
2012-07-12 14:18     ` Stephen Smalley
  -- strict thread matches above, loose matches on Subject: below --
2012-07-11 23:33 William Roberts
2012-07-11 23:38 ` William Roberts
2012-07-11 23:42   ` William Roberts

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=1342102403.8057.34.camel@moss-pluto.epoch.ncsc.mil \
    --to=sds@tycho.nsa.gov \
    --cc=bill.c.roberts@gmail.com \
    --cc=hqjiang1988@gmail.com \
    --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.