From: Paul Moore <paul.moore@hp.com>
To: "Todd C. Miller" <tmiller@tresys.com>
Cc: selinux@tycho.nsa.gov, jbrindle@tresys.com, sds@tycho.nsa.gov
Subject: Re: PATCH: peersid capability support
Date: Tue, 4 Dec 2007 14:26:09 -0500 [thread overview]
Message-ID: <200712041426.09866.paul.moore@hp.com> (raw)
In-Reply-To: <200712031941.lB3Jf7PK008934@cadmus.columbia.tresys.com>
On Monday 03 December 2007 2:41:07 pm Todd C. Miller wrote:
> > Stephen Smalley wrote:
> > Looks like the libsepol patch puts the policycaps ebitmap at a different
> > location in the policy image than the kernel patch expects.
>
> I had initially changed the ebitmap reading/writing location from
> where Josh had it to work around an issue with semodule. This version
> preserves the location in the final policy binary without confusing
> sepol_module_package_info().
Okay, well that at least loaded my simple test policy but it didn't appear to
have any effect on /selinux/policy_capabilities/network_peer_controls. This
may be a problem with the kernel patch but before I started digging around I
thought I would first check with you on the correct policy syntax.
I'm using a Rawhide targeted policy and I'm loading a simple policy module
with the following statements:
policy_module(peer_test,0.0.1)
policycap network_peer_controls;
type peer_test_t;
It compiles (using /usr/share/selinux/devel/Makefile) and loads (semodule -i
peer_test.pp) but I'm not certain I haven't messed something up. Thoughts?
--
paul moore
linux security @ hp
--
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:[~2007-12-04 19:26 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-03 19:41 PATCH: peersid capability support Todd C. Miller
2007-12-04 19:26 ` Paul Moore [this message]
2007-12-04 20:18 ` Stephen Smalley
2007-12-05 18:58 ` Stephen Smalley
2007-12-05 19:00 ` Todd Miller
-- strict thread matches above, loose matches on Subject: below --
2007-11-30 17:34 Todd C. Miller
2007-11-30 19:06 ` Paul Moore
2007-11-30 22:48 ` Paul Moore
2007-12-01 0:19 ` Joshua Brindle
2007-12-03 17:32 ` Paul Moore
2007-12-03 18:21 ` Stephen Smalley
2007-11-29 19:27 tmiller
2007-11-29 21:24 ` Stephen Smalley
2007-11-29 23:24 ` Joshua Brindle
2007-11-30 13:34 ` Stephen Smalley
2007-11-30 14:38 ` Joshua Brindle
2007-11-30 14:48 ` Stephen Smalley
2007-11-30 14:53 ` Stephen Smalley
2007-11-30 15:31 ` Joshua Brindle
2007-11-30 15:44 ` Paul Moore
2007-11-30 16:02 ` Joshua Brindle
2007-11-30 16:19 ` Paul Moore
2007-11-30 16:12 ` Stephen Smalley
2007-11-30 16:41 ` Stephen Smalley
2007-11-30 14:29 ` Paul Moore
2007-11-30 14:43 ` Joshua Brindle
2007-11-30 14:47 ` Paul Moore
2007-11-30 16:30 ` Paul Moore
2007-11-30 16:59 ` Todd Miller
2007-11-30 17:08 ` Stephen Smalley
2007-11-30 18:19 ` Paul Moore
2007-12-03 15:53 ` Christopher J. PeBenito
2008-01-03 15:15 ` Václav Ovsík
2008-01-03 15:25 ` Todd Miller
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=200712041426.09866.paul.moore@hp.com \
--to=paul.moore@hp.com \
--cc=jbrindle@tresys.com \
--cc=sds@tycho.nsa.gov \
--cc=selinux@tycho.nsa.gov \
--cc=tmiller@tresys.com \
/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.