diff mbox series

[v1] doc: update more syscalls stats

Message ID 20240426120051.21806-1-andrea.cervesato@suse.de
State Accepted
Headers show
Series [v1] doc: update more syscalls stats | expand

Commit Message

Andrea Cervesato April 26, 2024, noon UTC
From: Andrea Cervesato <andrea.cervesato@suse.com>

Some more syscalls are already tested in LTP, but they are part of
different testing suites. For example, seccomp() is tested in prctl()
testing suite. Some other syscalls need to be blacklisted, since they
are part of MIPS or internal kernel usage.

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

Comments

Petr Vorel July 30, 2024, 7:41 a.m. UTC | #1
> From: Andrea Cervesato <andrea.cervesato@suse.com>

> Some more syscalls are already tested in LTP, but they are part of
> different testing suites. For example, seccomp() is tested in prctl()
> testing suite. Some other syscalls need to be blacklisted, since they
> are part of MIPS or internal kernel usage.

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

> diff --git a/doc/conf.py b/doc/conf.py
> index d0f185b28..b54e0e60d 100644
> --- a/doc/conf.py
> +++ b/doc/conf.py
> @@ -83,6 +83,8 @@ def generate_syscalls_stats(_):
>          'getpmsg',
>          'putmsg',
>          'putpmsg',
> +        'seccomp',
> +        'semtimedop',
I guess there are more to add, right?
At least cachestat and landlock.
Could you please add them before you merge?

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

Also it'd be nice to have the lists sorted.

Kind regards,
Petr

>      ]

>      # populate with not implemented, reserved, unmaintained syscalls defined
> @@ -101,6 +103,8 @@ def generate_syscalls_stats(_):
>          'sysmips',
>          'mq_getsetattr',
>          'vserver',
> +        'cachectl',
> +        'restart_syscall',
>      ]

>      # fetch syscalls file
Andrea Cervesato Sept. 3, 2024, 6:47 a.m. UTC | #2
Hi!

Pushed with suggested modification. cachestat and landlock didn't need 
it since we already pushed tests for it and they are automatically 
recognized.

Andrea

On 7/30/24 09:41, Petr Vorel wrote:
>> From: Andrea Cervesato <andrea.cervesato@suse.com>
>> Some more syscalls are already tested in LTP, but they are part of
>> different testing suites. For example, seccomp() is tested in prctl()
>> testing suite. Some other syscalls need to be blacklisted, since they
>> are part of MIPS or internal kernel usage.
>> Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
>> ---
>>   doc/conf.py | 4 ++++
>>   1 file changed, 4 insertions(+)
>> diff --git a/doc/conf.py b/doc/conf.py
>> index d0f185b28..b54e0e60d 100644
>> --- a/doc/conf.py
>> +++ b/doc/conf.py
>> @@ -83,6 +83,8 @@ def generate_syscalls_stats(_):
>>           'getpmsg',
>>           'putmsg',
>>           'putpmsg',
>> +        'seccomp',
>> +        'semtimedop',
> I guess there are more to add, right?
> At least cachestat and landlock.
> Could you please add them before you merge?
>
> Reviewed-by: Petr Vorel <pvorel@suse.cz>
>
> Also it'd be nice to have the lists sorted.
>
> Kind regards,
> Petr
>
>>       ]
>>       # populate with not implemented, reserved, unmaintained syscalls defined
>> @@ -101,6 +103,8 @@ def generate_syscalls_stats(_):
>>           'sysmips',
>>           'mq_getsetattr',
>>           'vserver',
>> +        'cachectl',
>> +        'restart_syscall',
>>       ]
>>       # fetch syscalls file
diff mbox series

Patch

diff --git a/doc/conf.py b/doc/conf.py
index d0f185b28..b54e0e60d 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -83,6 +83,8 @@  def generate_syscalls_stats(_):
         'getpmsg',
         'putmsg',
         'putpmsg',
+        'seccomp',
+        'semtimedop',
     ]
 
     # populate with not implemented, reserved, unmaintained syscalls defined
@@ -101,6 +103,8 @@  def generate_syscalls_stats(_):
         'sysmips',
         'mq_getsetattr',
         'vserver',
+        'cachectl',
+        'restart_syscall',
     ]
 
     # fetch syscalls file