Created a function for setting timeouts on keys
authorBryan Schumaker <bjschuma@netapp.com>
Fri, 24 Feb 2012 19:14:50 +0000 (14:14 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 1 Mar 2012 21:50:31 +0000 (16:50 -0500)
commit59e6b9c11341e3b8ac5925427c903d4eae435bd8
tree68b39f847badedfca1476fbbf7ef6049a444f493
parent0cb3284b535bd5eacc287632b55150c8e5d9edc7
Created a function for setting timeouts on keys

The keyctl_set_timeout function isn't exported to other parts of the
kernel, but I want to use it for the NFS idmapper.  I already have the
key, but I wanted a generic way to set the timeout.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/key.h
security/keys/key.c
security/keys/keyctl.c