]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
keys: Timestamp new keys
authorDavid Howells <dhowells@redhat.com>
Thu, 14 Feb 2019 16:20:37 +0000 (16:20 +0000)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 05:29:37 +0000 (00:29 -0500)
commitd2f999746525ab7b58cd3676f1fbac55f8c4937a
treebcb79ba86d3d5d8a49db4f6edf824fdca083416f
parent155d33d14b1cb6466f9a2838eace4fee335b4e84
keys: Timestamp new keys

BugLink: https://bugs.launchpad.net/bugs/1863019
[ Upstream commit 7c1857bdbdf1e4c541e45eab477ee23ed4333ea4 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
security/keys/key.c