All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Andrea Cervesato <andrea.cervesato@suse.de>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH RESEND] Remove landlock from coverage stats
Date: Wed, 14 Aug 2024 11:28:06 +0200	[thread overview]
Message-ID: <20240814092806.GA521753@pevik> (raw)
In-Reply-To: <20240814-landlock_remove_doc_stats-v1-1-b5821d0bb3de@suse.com>

Hi Andrea,

> Following syscalls can be removed from the documentation coverage
> statistics since we they are tested inside landlock testing suite:

> - landlock_create_ruleset
> - landlock_add_rule
> - landlock_restrict_self

Reviewed-by: Petr Vorel <pvorel@suse.cz>

Thanks!

BTW for these stats, how about generating them on fly?

Take list from glibc sysdeps/unix/sysv/linux/syscall-names.list [1]
and git grep source code? Or do we want to add them manually to make sure we add
only syscalls which are really tested?

BTW this list could be also used for include/lapi/syscall/ generation
(Cyril asked for some automatic approach).

Kind regards,
Petr

[1] https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/syscall-names.list;h=7871f93b94d731d26928a3e12e4ca8b88606aad5;hb=2be0572f3a41d5d5a8bb3b2b04244b7c01ac0f58

> Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
> ---
>  doc/conf.py | 3 +++
>  1 file changed, 3 insertions(+)

> diff --git a/doc/conf.py b/doc/conf.py
> index ac1220450..425f72257 100644
> --- a/doc/conf.py
> +++ b/doc/conf.py
> @@ -88,6 +88,9 @@ def generate_syscalls_stats(_):
>          'getpmsg',
>          'putmsg',
>          'putpmsg',
> +        'landlock_create_ruleset',
> +        'landlock_add_rule',
> +        'landlock_restrict_self',
>      ]

>      # populate with not implemented, reserved, unmaintained syscalls defined

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

  reply	other threads:[~2024-08-14  9:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-14  9:08 [LTP] [PATCH RESEND] Remove landlock from coverage stats Andrea Cervesato
2024-08-14  9:28 ` Petr Vorel [this message]
2024-08-14  9:36   ` Andrea Cervesato via ltp

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=20240814092806.GA521753@pevik \
    --to=pvorel@suse.cz \
    --cc=andrea.cervesato@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 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.