]> git.baikalelectronics.ru Git - kernel.git/commit
keys: Timestamp new keys
authorDavid Howells <dhowells@redhat.com>
Thu, 14 Feb 2019 16:20:37 +0000 (16:20 +0000)
committerJames Morris <james.morris@microsoft.com>
Fri, 15 Feb 2019 22:12:09 +0000 (14:12 -0800)
commit4299444b3ad922a402d16b5fc1b86f661f28b200
tree88cb14cc9520c998adfaf2fecddad900e566b8ce
parent78223bea1ae2709b512ca05fab8d827893f1eb92
keys: Timestamp new keys

Set the timestamp on new keys rather than leaving it unset.

Fixes: b780c75785b3 ("KEYS: Do LRU discard in full keyrings")
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <james.morris@microsoft.com>
security/keys/key.c