From: "Justin P. Mattock" <justinmattock@gmail.com>
To: Eric Paris <eparis@parisplace.org>
Cc: "David P. Quigley" <dpquigl@tycho.nsa.gov>,
tresys <refpolicy@oss.tresys.com>,
SE-Linux <selinux@tycho.nsa.gov>,
"Christopher J. PeBenito" <cpebenito@tresys.com>
Subject: Re: class kernel_service not defined in policy
Date: Tue, 30 Dec 2008 17:04:12 -0800 [thread overview]
Message-ID: <495AC50C.7050909@gmail.com> (raw)
In-Reply-To: <7e0fb38c0812301536p3d8f37fat1f91a5fc13d6ef9@mail.gmail.com>
Eric Paris wrote:
> On Tue, Dec 30, 2008 at 1:13 PM, David P. Quigley <dpquigl@tycho.nsa.gov> wrote:
>
>
>> So commit bb26c6c29b7cc9f39e491b074b09f3c284738d36 is a merger of James'
>> security tree into Linus's main tree. On of the patch sets in there is
>> the new credentials work from David Howells. One of those patches adds a
>> kernel service object class to selinux so policy can be written to all
>> that service to be granted the ability to override certain permission
>> checks. I just built a policy from refpolicy and the policy.conf doesn't
>> have a kernel_service object class. I'm not sure if the policy engine
>> uses the kernel headers, the dynamic object class discovery mechanism,
>> or a built in list to generate the boilerplate with all the object
>> classes and permissions. Regardless it is mainly so things like cachefs
>> and NFSD can be granted the ability to act as other entities when
>> making/fulfilling requests. I don't think there is a need to be
>> concerned about it yet unless something is no longer working for you.
>>
>
> It shouldn't be of concern to you. But refpolicy needs to add at
> least the class (if not the perms) so it doesn't get assigned to
> anything else...
>
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=1bfdc75ae077d60a01572a7781ec6264d55ab1b9
>
> Looks like it is class number 74 (and if it's already used in policy
> we need to fix one or the other quickly....)
>
>
No worries man!!
regards;
Justin P. Mattock
--
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.
WARNING: multiple messages have this Message-ID (diff)
From: justinmattock@gmail.com (Justin P. Mattock)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] class kernel_service not defined in policy
Date: Tue, 30 Dec 2008 17:04:12 -0800 [thread overview]
Message-ID: <495AC50C.7050909@gmail.com> (raw)
In-Reply-To: <7e0fb38c0812301536p3d8f37fat1f91a5fc13d6ef9@mail.gmail.com>
Eric Paris wrote:
> On Tue, Dec 30, 2008 at 1:13 PM, David P. Quigley <dpquigl@tycho.nsa.gov> wrote:
>
>
>> So commit bb26c6c29b7cc9f39e491b074b09f3c284738d36 is a merger of James'
>> security tree into Linus's main tree. On of the patch sets in there is
>> the new credentials work from David Howells. One of those patches adds a
>> kernel service object class to selinux so policy can be written to all
>> that service to be granted the ability to override certain permission
>> checks. I just built a policy from refpolicy and the policy.conf doesn't
>> have a kernel_service object class. I'm not sure if the policy engine
>> uses the kernel headers, the dynamic object class discovery mechanism,
>> or a built in list to generate the boilerplate with all the object
>> classes and permissions. Regardless it is mainly so things like cachefs
>> and NFSD can be granted the ability to act as other entities when
>> making/fulfilling requests. I don't think there is a need to be
>> concerned about it yet unless something is no longer working for you.
>>
>
> It shouldn't be of concern to you. But refpolicy needs to add at
> least the class (if not the perms) so it doesn't get assigned to
> anything else...
>
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=1bfdc75ae077d60a01572a7781ec6264d55ab1b9
>
> Looks like it is class number 74 (and if it's already used in policy
> we need to fix one or the other quickly....)
>
>
No worries man!!
regards;
Justin P. Mattock
next prev parent reply other threads:[~2008-12-31 1:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-30 5:56 class kernel_service not defined in policy Justin Mattock
2008-12-30 5:56 ` [refpolicy] " Justin Mattock
2008-12-30 18:13 ` David P. Quigley
2008-12-30 18:13 ` [refpolicy] " David P. Quigley
2008-12-30 21:59 ` Justin P. Mattock
2008-12-30 21:59 ` [refpolicy] " Justin P. Mattock
2008-12-30 23:36 ` Eric Paris
2008-12-30 23:36 ` [refpolicy] " Eric Paris
2008-12-31 1:04 ` Justin P. Mattock [this message]
2008-12-31 1:04 ` Justin P. Mattock
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=495AC50C.7050909@gmail.com \
--to=justinmattock@gmail.com \
--cc=cpebenito@tresys.com \
--cc=dpquigl@tycho.nsa.gov \
--cc=eparis@parisplace.org \
--cc=refpolicy@oss.tresys.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.