diff options
author | 2014-07-18 18:56:34 +0100 | |
---|---|---|
committer | 2014-07-22 21:46:08 +0100 | |
commit | 7dfa0ca6a95de65b7a7760630cdbd7d30f204bfa (patch) | |
tree | e97786b11796e13f91b205dbb8adb3727e88789d /include/linux/key-type.h | |
parent | KEYS: struct key_preparsed_payload should have two payload pointers (diff) | |
download | linux-7dfa0ca6a95de65b7a7760630cdbd7d30f204bfa.tar.gz linux-7dfa0ca6a95de65b7a7760630cdbd7d30f204bfa.tar.bz2 linux-7dfa0ca6a95de65b7a7760630cdbd7d30f204bfa.zip |
KEYS: Allow expiry time to be set when preparsing a key
Allow a key type's preparsing routine to set the expiry time for a key.
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Steve Dickson <steved@redhat.com>
Acked-by: Jeff Layton <jlayton@primarydata.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'include/linux/key-type.h')
-rw-r--r-- | include/linux/key-type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/key-type.h b/include/linux/key-type.h index d2b4845d74bf..44792ee649de 100644 --- a/include/linux/key-type.h +++ b/include/linux/key-type.h @@ -45,6 +45,7 @@ struct key_preparsed_payload { const void *data; /* Raw data */ size_t datalen; /* Raw datalen */ size_t quotalen; /* Quota length for proposed payload */ + time_t expiry; /* Expiry time of key */ bool trusted; /* True if key is trusted */ }; |