Re: [PATCH 04/26] KEYS: Add keyctl function to get a security label

2008-01-16 Thread Stephen Smalley
On Tue, 2008-01-15 at 23:47 +, David Howells wrote: > Add a keyctl() function to get the security label of a key. > > The following is added to Documentation/keys.txt: > > (*) Get the LSM security context attached to a key. > > long keyctl(KEYCTL_GET_SECURITY, key_serial_t key, char

[PATCH 04/26] KEYS: Add keyctl function to get a security label

2008-01-15 Thread David Howells
Add a keyctl() function to get the security label of a key. The following is added to Documentation/keys.txt: (*) Get the LSM security context attached to a key. long keyctl(KEYCTL_GET_SECURITY, key_serial_t key, char *buffer, size_t buflen) This function retur