diff options
author | 2023-01-09 23:59:42 +0000 | |
---|---|---|
committer | 2023-02-13 10:11:20 +0200 | |
commit | 6c1976addf3623e979b7a954e216004d559bcb42 (patch) | |
tree | 67503e23e9cbeb5daa7ff7db3f074f3997f06b64 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | certs: make blacklisted hash available in klog (diff) | |
download | wireguard-linux-6c1976addf3623e979b7a954e216004d559bcb42.tar.xz wireguard-linux-6c1976addf3623e979b7a954e216004d559bcb42.zip |
KEYS: Add new function key_create()
key_create() works like key_create_or_update() but does not allow
updating an existing key, instead returning ERR_PTR(-EEXIST).
key_create() will be used by the blacklist keyring which should not
create duplicate entries or update existing entries.
Instead a dedicated message with appropriate severity will be logged.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions