public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Cyril Hrubis <chrubis@suse.cz>
Cc: ltp@lists.linux.it
Subject: [LTP] [doc, runtest] [was: Re:  [PATCH] cve: add CVE-2025-38236 test]
Date: Tue, 12 Aug 2025 13:45:40 +0200	[thread overview]
Message-ID: <20250812114540.GC843668@pevik> (raw)
In-Reply-To: <aJsg11G8hOAqoGkw@yuki.lan>

Hi Cyril, all,

> Hi!
> > >  testcases/cve/.gitignore       |   1 +
> > >  testcases/cve/cve-2025-38236.c | 101 +++++++++++++++++++++++++++++++++++++++++

> > File not added into runtest/cve.

> > Maybe we need to enhance 'make check' to check this via 'git grep'.

> > checkpatch.pl looks into resulted file, IMHO we have no tool to check the patch
> > itself. But maybe enhance b4 (kind of plugin) to check this :).

> Or we can genereate the cve runtest file. It should be possible to build
> it from the metadata during the build.

This problem happen on all runtest files, fixing just one does not fix the
problem.

Sure, it'd be possible to generate runtest/cve from metadata. Do we really want
to implement it? (I can create a ticket). I guess we would use C and ujson to
not require json-c or python3 for building LTP.

I would be more interested to have section "CVE reproducers" in Statistics page [1].
While the same tool could be used to do both goals, when only doc page
implemented, it could be easily done in python3 (doc/conf.py already parses
ltp.json).

When we are at Statistics page, also generating list of reproducers (based on
kernel fixes) would be also nice. Because this was implemented in the previous
asciidoctor implementation. How about having these lists Statistics, where are
other tables already (and linking each test to "Test Catalog")?

Also I find "Statistics" name confusing. It says nothing about the content. I
wonder if people curiously click on the page or just ignore the page (if they
don't like math :)). Maybe "Kernel coverage" or something like that would be
more informative.

Kind regards,
Petr

[1] https://linux-test-project.readthedocs.io/en/latest/users/stats.html

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

  reply	other threads:[~2025-08-12 11:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-12  8:45 [LTP] [PATCH] cve: add CVE-2025-38236 test Andrea Cervesato
2025-08-12  9:43 ` Wei Gao via ltp
2025-08-12 10:57   ` Andrea Cervesato via ltp
2025-08-12 11:09     ` Petr Vorel
2025-08-12 10:12 ` Petr Vorel
2025-08-12 11:09   ` Cyril Hrubis
2025-08-12 11:45     ` Petr Vorel [this message]
2025-08-12 12:09       ` [LTP] [doc, runtest] [was: Re: [PATCH] cve: add CVE-2025-38236 test] Cyril Hrubis
2025-08-18  6:08         ` Petr Vorel
2025-08-12 10:51 ` [LTP] [PATCH] cve: add CVE-2025-38236 test Petr Vorel
2025-08-12 10:55   ` Andrea Cervesato via ltp
2025-08-12 11:14     ` Cyril Hrubis
2025-08-12 11:17       ` Andrea Cervesato via ltp
2025-08-12 11:50       ` Petr Vorel
2025-08-12 11:25     ` 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=20250812114540.GC843668@pevik \
    --to=pvorel@suse.cz \
    --cc=chrubis@suse.cz \
    --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