[LTP] [PATCH v3 18/36] keyctl23: Test KEYCTL_RESTRICT_KEYRING builtin_trusted
Cyril Hrubis
chrubis@suse.cz
Fri Sep 18 13:51:51 CEST 2026
Hi!
> +static key_serial_t ring_builtin;
> +static key_serial_t user_key;
> +
> +static void setup(void)
> +{
> + SAFE_KEYCTL(KEYCTL_JOIN_SESSION_KEYRING, 0, 0, 0, 0);
> +
> + tst_modprobe("x509_key_parser", NULL);
This is probably worth of adding .needs_kconfigs with
"X509_CERTIFICATE_PARSER".
Otherwise it looks fine:
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list