From: Eric Paris <eparis@redhat.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: selinux@tycho.nsa.gov, jmorris@namei.org,
Eamon Walsh <ewalsh@tycho.nsa.gov>,
Steve G <linux_4ever@yahoo.com>
Subject: Re: [PATCH -v2] kernel: selinux: policy selectable handling of unknown classes and perms
Date: Tue, 18 Sep 2007 12:42:19 -0400 [thread overview]
Message-ID: <1190133739.3451.9.camel@localhost.localdomain> (raw)
In-Reply-To: <1190132935.14037.8.camel@moss-spartans.epoch.ncsc.mil>
On Tue, 2007-09-18 at 12:28 -0400, Stephen Smalley wrote:
> > @@ -296,6 +312,9 @@ static ssize_t sel_write_load(struct file * file, const char __user * buf,
> > if (length)
> > goto out;
> >
> > + printk(KERN_INFO "Policy loaded with handle_unknown=%s\n",
> > + security_get_handle_unknown_txt());
>
> I think this should have some well-defined prefix on it, like "SELinux:"
> or something, to make it easy to identify. Steve Grubb might have an
> opinion on whether it should use printk or have its own audit message or
> be added to the load policy audit message.
Baah, yeah, it should have that prefix.
I talked to sgrubb about it, he said that since it wasn't something
which could be 'changed' (like setenforce or a boolean) it didn't need
an audit message. I offered to tack it onto the policy load audit
message but he didn't at the time seem to feel it was portraying useful
information since we assume we know what policy was loaded and thus just
knowing it was loaded should be enough to tell us the handle_unknown
state.
He instead suggested an addition to sestatus or some other tool so it
could be read if the admin cared.
Do you have other feelings now steve?
-Eric
--
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-18 16:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-13 15:05 [PATCH -v2] kernel: selinux: policy selectable handling of unknown classes and perms Eric Paris
2007-09-18 16:28 ` Stephen Smalley
2007-09-18 16:42 ` Eric Paris [this message]
2007-09-18 17:26 ` Stephen Smalley
2007-09-18 21:10 ` Eamon Walsh
2007-09-20 19:18 ` Eric Paris
2007-09-21 1:23 ` Eamon Walsh
2007-09-21 13:17 ` Eric Paris
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=1190133739.3451.9.camel@localhost.localdomain \
--to=eparis@redhat.com \
--cc=ewalsh@tycho.nsa.gov \
--cc=jmorris@namei.org \
--cc=linux_4ever@yahoo.com \
--cc=sds@tycho.nsa.gov \
--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.