All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Avinesh Kumar <avinesh.kumar@suse.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] uaccess.c: Skip on Lockdown/Secure Boot
Date: Thu, 8 Jan 2026 14:07:07 +0100	[thread overview]
Message-ID: <20260108130707.GA4263@pevik> (raw)
In-Reply-To: <20260108130002.256854-1-avinesh.kumar@suse.com>

Hi Avinesh,

> following the commit (fca9460dee fw_load: Skip on Lockdown/Secure Boot)
> to take care of

> ltp_uaccess    0  TINFO  :  module signature enforcement: off
> insmod: ERROR: could not insert module ltp_uaccess.ko: Key was rejected by service

...
> @@ -39,6 +40,12 @@ static const char dev_tcase[]	= "/sys/devices/" DEV_NAME "/tcase";
>  static const char module_name[]	= DEV_NAME ".ko";
>  static int module_loaded;

> +static void setup(void)
> +{
> +	if (tst_lockdown_enabled() > 0 || tst_secureboot_enabled() > 0)
> +		tst_brkm(TCONF, NULL, "Cannot load unsigned modules in Lockdown/Secure Boot");
> +}
...
> +	setup();

Thanks for fixing it!
Reviewed-by: Petr Vorel <pvorel@suse.cz>

Kind regards,
Petr


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2026-01-08 13:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-08 12:59 [LTP] [PATCH] uaccess.c: Skip on Lockdown/Secure Boot Avinesh Kumar via ltp
2026-01-08 13:07 ` Petr Vorel [this message]
2026-01-08 17:08 ` Petr Vorel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260108130707.GA4263@pevik \
    --to=pvorel@suse.cz \
    --cc=avinesh.kumar@suse.com \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.