From: Joshua Brindle <method@manicmethod.com>
To: Steve Grubb <sgrubb@redhat.com>
Cc: selinux@tycho.nsa.gov
Subject: Re: Capabilities audit field
Date: Sun, 12 Oct 2008 19:18:10 -0400 [thread overview]
Message-ID: <48F285B2.90008@manicmethod.com> (raw)
In-Reply-To: <200810120907.07511.sgrubb@redhat.com>
Steve Grubb wrote:
> Hi,
>
> I recenetly found out that the kernel now allows more than 32 capabilities.
> This means I need to update the audit code that inteprets this value given
> from SE Linux. When I looked over the 2.6.27 kernel code, I found that SE
> Linux has not updated the capabilities code. Its still being kept as a simple
> integer in avc.h, but everywhere else I look in the kernel has moved to
> kernel_cap_t, which is an array. Are patches for moving to kernel_cap_t
> scheduled for 2.6.28? Are there security implications for not being able to
> access or control capabilities > 32?
>
SELinux added an additional object class (capability2) so as to not
extend the access vector.
The current object class looks like this:
class capability2
{
mac_override # unused by SELinux
mac_admin # unused by SELinux
}
We can control them but they should never be hit on an SELinux system
anyway (IIUC)
--
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:[~2008-10-12 23:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-12 13:07 Capabilities audit field Steve Grubb
2008-10-12 23:12 ` James Morris
2008-10-13 10:35 ` Steve Grubb
2008-10-13 22:54 ` James Morris
2008-10-13 23:27 ` Steve Grubb
2008-10-14 9:21 ` James Morris
2008-10-14 13:35 ` Stephen Smalley
2008-10-12 23:18 ` Joshua Brindle [this message]
2008-10-13 4:05 ` James Morris
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=48F285B2.90008@manicmethod.com \
--to=method@manicmethod.com \
--cc=selinux@tycho.nsa.gov \
--cc=sgrubb@redhat.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.