public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Andrea Cervesato via ltp <ltp@lists.linux.it>
To: Petr Vorel <petr.vorel@gmail.com>, ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 2/2] doc: Add URL to the sources in syscalls list
Date: Fri, 15 Nov 2024 09:18:04 +0100	[thread overview]
Message-ID: <fca99dc0-24cb-4248-bb9a-2d4de448a3aa@suse.com> (raw)
In-Reply-To: <20241115033916.1707627-2-petr.vorel@gmail.com>

Hi Petr,

On 11/15/24 04:39, Petr Vorel wrote:
> +    # Or syscalls are here to get their folder.
> +    white_list = {
> +        'epoll_pwait2': 'epoll_pwait',
> +        'fadvise64': 'fadvise',
> +        'fanotify_init': 'fanotify',
> +        'fanotify_mark': 'fanotify',
> +        'futex_wait': 'futex',
> +        'futex_waitv': 'futex',
> +        'futex_wake': 'futex',
> +        'getdents64': 'getdents',
> +        'inotify_add_watch': 'inotify',
> +        'inotify_rm_watch': 'inotify',
> +        'inotify_init1': 'inotify',
> +        'io_uring_enter': 'io_uring',
> +        'io_uring_register': 'io_uring',
> +        'io_uring_setup': 'io_uring',
> +        'ioprio_get': 'ioprio',
> +        'ioprio_set': 'ioprio',
> +        'landlock_add_rule': 'landlock',
> +        'landlock_create_ruleset': 'landlock',
> +        'landlock_restrict_self': 'landlock',
> +        'lsetxattr': 'lgetxattr', # llistxattr, lremovexattr
> +        'newfstatat': 'fstatat',
> +        'pkey_alloc': 'pkeys',
> +        'pkey_free': 'pkeys',
> +        'pkey_mprotect': 'pkeys',
> +        'pread64': 'preadv',
> +        'prlimit64': 'getrlimit',
> +        'process_vm_readv': 'cma',
> +        'process_vm_writev': 'cma',
> +        'pselect6': 'select',
> +        'pwrite64': 'pwrite',
> +        'quotactl_fd': 'quotactl',
> +        'rt_sigpending': 'sigpending',
> +        'semtimedop': 'ipc/semop',
> +        'sethostname': 'setdomainname',
> +        'timerfd_gettime': 'timerfd',
> +        'timerfd_settime': 'timerfd',
> +        'timerfd_create': 'timerfd',
> +    }

The problem with this approach and the reason why I didn't use it, is 
that if you change the testing folder, you need to update the docs 
generator script. But I also see the goal, so probably this is the only 
approach we should follow.

Andrea


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

  reply	other threads:[~2024-11-15  8:18 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 [this message]
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 ` [LTP] [PATCH 1/2] doc: Update blacklist and whitelist 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=fca99dc0-24cb-4248-bb9a-2d4de448a3aa@suse.com \
    --to=ltp@lists.linux.it \
    --cc=andrea.cervesato@suse.com \
    --cc=petr.vorel@gmail.com \
    /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