Skip to content
Snippets Groups Projects
user avatar
Thomas Weißschuh authored
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: default avatarThomas Weißschuh <linux@weissschuh.net>
Signed-off-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
6c1976ad
History
Name Last commit Last update