Research
.
Skip Search Box

SELinux Mailing List

Re: [PATCH 4/7] KEYS: Add keyctl function to get a security label

From: Casey Schaufler <casey_at_schaufler-ca.com>
Date: Wed, 5 Dec 2007 17:40:15 -0800 (PST)

  • David Howells <dhowells@redhat.com> wrote:

> Stephen Smalley <sds@tycho.nsa.gov> wrote:
>
> > inode_getsecurity and getprocattr directly return the strings.
> > Admittedly, the whole interface could be cleaned up and made far more
> > consistent, but I don't think he necessarily has to go through the
> > getsecid + secid_to_secctx sequence if he only wants the secctx.
>
> It's what Daniel Walsh wanted.

Name dropper. And we don't have a convention, really. So go ahead with key_getsecurity or key_getsecctx, as you choose. At some point we should either change inode_getsecurity to inode_getsecctx or secid_to_secctx to secid_to_security. Not the problem of the day.

Casey Schaufler
casey@schaufler-ca.com

--
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.
Received on Wed 5 Dec 2007 - 20:40:23 EST
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service