aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorSerge E. Hallyn <[email protected]>2009-09-02 08:14:05 +0000
committerJames Morris <[email protected]>2009-09-02 11:29:14 +0000
commitad73a717e0fc6949c44e587ca5d63c273a30e6f5 (patch)
tree28aa8de2eb924a60713abd01bbc790879da5b70c /security/selinux/hooks.c
parentKEYS: Add garbage collection for dead, revoked and expired keys. [try #6] (diff)
downloadkernel-ad73a717e0fc6949c44e587ca5d63c273a30e6f5.tar.gz
kernel-ad73a717e0fc6949c44e587ca5d63c273a30e6f5.zip
KEYS: Make /proc/keys use keyid not numread as file position [try #6]
Make the file position maintained by /proc/keys represent the ID of the key just read rather than the number of keys read. This should make it faster to perform a lookup as we don't have to scan the key ID tree from the beginning to find the current position. Signed-off-by: Serge E. Hallyn <[email protected]> Signed-off-by: David Howells <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions