From: Mimi Zohar <zohar@linux.vnet.ibm.com>
To: Joshua Brindle <method@manicmethod.com>
Cc: selinux@tycho.nsa.gov, zohar@us.ibm.com, safford@watson.ibm.com,
sailer@us.ibm.com
Subject: Re: [RFC]integrity: SELinux patch
Date: Wed, 19 Sep 2007 15:41:23 -0400 [thread overview]
Message-ID: <1190230883.7323.3.camel@localhost.localdomain> (raw)
In-Reply-To: <1188382494.6129.35.camel@localhost.localdomain>
On Wed, 2007-08-29 at 06:14 -0400, Mimi Zohar wrote:
> On Wed, 2007-08-29 at 00:16 -0400, Joshua Brindle wrote:
> > Mimi Zohar wrote:
> >
> > > Index: linux-2.6.23-rc3-mm1/security/selinux/ss/services.c
> > > ===================================================================
> > > --- linux-2.6.23-rc3-mm1.orig/security/selinux/ss/services.c
> > > +++ linux-2.6.23-rc3-mm1/security/selinux/ss/services.c
> > > @@ -305,12 +305,12 @@ static int context_struct_compute_av(str
> > > tclass <= SECCLASS_NETLINK_DNRT_SOCKET)
> > > tclass = SECCLASS_NETLINK_SOCKET;
> > >
> > > - if (!tclass || tclass > policydb.p_classes.nprim) {
> > > - printk(KERN_ERR "security_compute_av: unrecognized class %d\n",
> > > - tclass);
> > > - return -EINVAL;
> > > - }
> > > - tclass_datum = policydb.class_val_to_struct[tclass - 1];
> > > +// if (!tclass || tclass > policydb.p_classes.nprim) {
> > > +// printk(KERN_ERR "security_compute_av: unrecognized class %d\n",
> > > +// tclass);
> > > +// return -EINVAL;
> > > +// }
> > > +// tclass_datum = policydb.class_val_to_struct[tclass - 1];
> > >
> > >
> >
> > Err? Did you mean to submit it like this? This should be fixed by Eric's
> > patch to handle unknown classes anyway.
>
> I'm working off the latest -mm tree and that patch hasn't made it in yet,
> as well as some other patches. For example, additional security class
> numbers have been defined. So I will need to update SECCLASS_INTEGRITY
> as well. The above code was added in order to test the patch. Once the
> basic integrity concept has been reviewed and accepted, I will repost
> based on the latest selinux development source tree.
Ok, so how do I get the latest selinux development source tree?
Thanks!
Mimi Zohar
--
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-09-19 19:36 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-28 22:35 [RFC]integrity: SELinux patch Mimi Zohar
2007-08-29 4:16 ` Joshua Brindle
2007-08-29 10:14 ` Mimi Zohar
2007-09-19 19:41 ` Mimi Zohar [this message]
2007-09-19 21:04 ` Stephen Smalley
2007-09-20 1:34 ` Mimi Zohar
2007-09-20 13:12 ` Stephen Smalley
2007-09-20 21:16 ` James Morris
2007-09-21 14:13 ` Mimi Zohar
2007-09-21 14:02 ` Mimi Zohar
2007-08-30 20:58 ` Serge E. Hallyn
2007-08-30 21:12 ` Serge E. Hallyn
2007-08-31 13:15 ` Mimi Zohar
-- strict thread matches above, loose matches on Subject: below --
2007-07-16 13:57 Mimi Zohar
2007-07-16 18:40 ` Joshua Brindle
2007-07-16 23:13 ` Mimi Zohar
2007-07-16 19:23 ` Paul Moore
2007-07-17 14:30 ` Mimi Zohar
2007-07-17 14:32 ` Paul Moore
2007-07-17 14:54 ` James Morris
2007-07-18 15:05 ` Steve G
2007-09-04 20:46 ` Mimi Zohar
2007-09-04 21:08 ` Steve Grubb
2007-07-17 0:20 ` James Morris
2007-07-17 13:20 ` Joshua Brindle
2007-07-17 14:44 ` James Morris
2007-07-18 21:33 ` Mimi Zohar
2007-07-17 14:52 ` Stephen Smalley
2007-07-18 21:43 ` Mimi Zohar
2007-07-19 13:08 ` Stephen Smalley
2007-07-20 18:57 ` Mimi Zohar
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=1190230883.7323.3.camel@localhost.localdomain \
--to=zohar@linux.vnet.ibm.com \
--cc=method@manicmethod.com \
--cc=safford@watson.ibm.com \
--cc=sailer@us.ibm.com \
--cc=selinux@tycho.nsa.gov \
--cc=zohar@us.ibm.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.