public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <petr.vorel@gmail.com>
To: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 1/2] doc: Update blacklist and whitelist
Date: Fri, 15 Nov 2024 04:49:57 +0100	[thread overview]
Message-ID: <20241115034957.GA1709260@pevik> (raw)
In-Reply-To: <20241115033916.1707627-1-petr.vorel@gmail.com>

> From: Petr Vorel <pvorel@suse.cz>

> getmsg, getpmsg, putmsg, putpmsg in man UNIMPLEMENTED(2),
> move them from whitelist to blacklist.

> seccomp is now detected, therefore remove from whitelist.

> Fixes: 7248e5c5f7 ("doc: update syscalls statistics")
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
>  doc/conf.py | 5 -----
>  1 file changed, 5 deletions(-)

> diff --git a/doc/conf.py b/doc/conf.py
> index aed0cd50fd..e14c1387d0 100644
> --- a/doc/conf.py
> +++ b/doc/conf.py
> @@ -67,8 +67,6 @@ def generate_syscalls_stats(_):
>          'fanotify_init',
>          'fanotify_mark',
>          'getdents64',
> -        'getmsg',
> -        'getpmsg',
Actually these 2 were supposed to be moved to blacklist.

>          'inotify_add_watch',
>          'inotify_rm_watch',
>          'io_uring_enter',
> @@ -79,8 +77,6 @@ def generate_syscalls_stats(_):
>          'landlock_restrict_self',
>          'lsetxattr',
>          'newfstatat',
> -        'putmsg',
> -        'putpmsg',
And these two as well.

>          'pkey_alloc',
>          'pkey_free',
>          'pkey_mprotect',
> @@ -90,7 +86,6 @@ def generate_syscalls_stats(_):
>          'pwrite64',
>          'quotactl_fd',
>          'rt_sigpending',
> -        'seccomp',
>          'semtimedop',
>          'sethostname',
>      ]

Diff to the correct code below. I'm sorry for the noise.
Corrected code is in my fork in case somebody wants to test it:
https://github.com/pevik/ltp/commits/refs/heads/doc/syscalls-url.fixes/

+++ doc/conf.py
@@ -96,11 +96,15 @@ def generate_syscalls_stats(_):
         '_newselect',
         '_sysctl',
         'afs_syscall',
+        'getmsg',
+        'getpmsg',
         'cachectl',
         'create_module',
         'get_kernel_syms',
         'mq_getsetattr',
         'nfsservctl',
+        'putmsg',
+        'putpmsg',
         'query_module',
         'reserved177',
         'reserved193',

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

      parent reply	other threads:[~2024-11-15  3:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-15  3:39 [LTP] [PATCH 1/2] doc: Update blacklist and whitelist Petr Vorel
2024-11-15  3:39 ` [LTP] [PATCH 2/2] doc: Add URL to the sources in syscalls list Petr Vorel
2024-11-15  8:18   ` Andrea Cervesato via ltp
2024-11-15  8:25     ` Petr Vorel
2024-11-15 11:04     ` Petr Vorel
2024-11-15 11:39       ` Andrea Cervesato via ltp
2024-11-15  3:49 ` Petr Vorel [this message]

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=20241115034957.GA1709260@pevik \
    --to=petr.vorel@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox