]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit7c1857bdbdf1e4c541e45eab477ee23ed4333ea4
tree88cb14cc9520c998adfaf2fecddad900e566b8ce
parent822ad64d7e46a8e2c8b8a796738d7b657cbb146d
keys: Timestamp new keys

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

Fixes: 31d5a79d7f3d ("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