diff mbox series

[1/2] doc: Update blacklist and whitelist

Message ID 20241115033916.1707627-1-petr.vorel@gmail.com
State Rejected
Headers show
Series [1/2] doc: Update blacklist and whitelist | expand

Commit Message

Petr Vorel Nov. 15, 2024, 3:39 a.m. UTC
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(-)

Comments

Petr Vorel Nov. 15, 2024, 3:49 a.m. UTC | #1
> 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',
diff mbox series

Patch

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',
         'inotify_add_watch',
         'inotify_rm_watch',
         'io_uring_enter',
@@ -79,8 +77,6 @@  def generate_syscalls_stats(_):
         'landlock_restrict_self',
         'lsetxattr',
         'newfstatat',
-        'putmsg',
-        'putpmsg',
         'pkey_alloc',
         'pkey_free',
         'pkey_mprotect',
@@ -90,7 +86,6 @@  def generate_syscalls_stats(_):
         'pwrite64',
         'quotactl_fd',
         'rt_sigpending',
-        'seccomp',
         'semtimedop',
         'sethostname',
     ]