public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Avinesh Kumar <akumar@suse.de>
To: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 1/1] keyctl05: Require root
Date: Mon, 22 Jan 2024 12:17:03 +0100	[thread overview]
Message-ID: <2309742.ElGaqSPkdT@localhost> (raw)
In-Reply-To: <20240122063830.62477-1-pvorel@suse.cz>

Hi,

Reviewed-by: Avinesh Kumar <akumar@suse.de>


On Monday, January 22, 2024 7:38:30 AM CET Petr Vorel wrote:
> Modprobe always require root.
> 
> Fixes: f4e132233 ("keyctl05: Add modprobe dns_resolver")
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
> I hate require root for setup work, but in this case is needed in order
> to get dns_resolver tested. I'm sorry to forget on this.
> 
> Kind regards,
> Petr
> 
>  testcases/kernel/syscalls/keyctl/keyctl05.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/testcases/kernel/syscalls/keyctl/keyctl05.c
> b/testcases/kernel/syscalls/keyctl/keyctl05.c index a79a5763b..78ac490da
> 100644
> --- a/testcases/kernel/syscalls/keyctl/keyctl05.c
> +++ b/testcases/kernel/syscalls/keyctl/keyctl05.c
> @@ -228,6 +228,7 @@ static void do_test(unsigned int i)
>  }
> 
>  static struct tst_test test = {
> +	.needs_root = 1,
>  	.tcnt = 3,
>  	.setup = setup,
>  	.test = do_test,


Regards,
Avinesh



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

  reply	other threads:[~2024-01-22 11:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-22  6:38 [LTP] [PATCH 1/1] keyctl05: Require root Petr Vorel
2024-01-22 11:17 ` Avinesh Kumar [this message]
2024-01-22 13:31   ` 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=2309742.ElGaqSPkdT@localhost \
    --to=akumar@suse.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox