From: Cyril Hrubis <chrubis@suse.cz>
To: Li Wang <liwang@redhat.com>
Cc: LTP List <ltp@lists.linux.it>
Subject: Re: [LTP] function tst_parse_cmdline exist?
Date: Mon, 4 Mar 2024 16:23:45 +0100 [thread overview]
Message-ID: <ZeXngYU344mMmWE0@yuki> (raw)
In-Reply-To: <CAEemH2e0Rmua9XimhfPHJ4xfEpidvYfXuDfsxRrA-VRv=YytQg@mail.gmail.com>
Hi!
> Do we have a funcion similar to tst_parse_cmdline() in LTP lib?
Not yet.
> I asking this because recently people reached to me about the
> init_module01 failing on the system with ' module.sig_enforce=1'
> kernel parameter. That makes me think there are quite many
> various kernel parameter changes in some behavior when added in,
> so if not, I can help to create one to do such a thing.
I suppose that there is no other way to figure out that the signatures
are enforced via commandline, right?
> In a word, the main purpose is just to parse '/proc/cmdline' contents
> and export the necessary value to test case.
>
> Or, any suggestions on the topic?
We already parse cmdline in the stack_clash.c test, so I suppose we may
as well add a function to the test library.
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2024-03-04 15:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-04 8:44 [LTP] function tst_parse_cmdline exist? Li Wang
2024-03-04 15:23 ` Cyril Hrubis [this message]
2024-03-05 3:15 ` Li Wang
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=ZeXngYU344mMmWE0@yuki \
--to=chrubis@suse.cz \
--cc=liwang@redhat.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.