Skip to content

SYNOPSIS: Use syscall(SYS_...); and fix '#include's

Alejandro Colomar linux-man 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest35 patches 42 repliesIn review
  2. v435 patches 0 repliesSuperseded

Changes in v5 from the cover letter

- ffix 29/35, 32/35, and 35/35. The rest are identical to v4.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/35system_data_types.7: Add 'struct sockaddr'man7/system_data_types.7+25 -01 reply
2/35sockaddr.3: New link to system_data_types(7)man3/sockaddr.3+1 -00 replies
3/35system_data_types.7: Add 'socklen_t'man7/system_data_types.7+28 -01 reply
4/35socklen_t.3: New link to system_data_types(7)man3/socklen_t.3+1 -01 reply
5/35access.2: Use syscall(SYS_...); for system calls without a wrapperman2/access.2+8 -31 reply
6/35add_key.2: Remove unused includeman2/add_key.2+0 -12 replies
7/35alloc_hugepages.2: Use syscall(SYS_...); for system calls without a wrapperman2/alloc_hugepages.2+4 -31 reply
8/35arch_prctl.2: Use syscall(SYS_...); for system calls without a wrapperman2/arch_prctl.2+5 -91 reply
9/35arch_prctl.2: SYNOPSIS: Remove unused includesman2/arch_prctl.2+0 -11 reply
10/35capget.2: Use syscall(SYS_...); for system calls without a wrapperman2/capget.2+10 -101 reply
11/35clone.2: Use syscall(SYS_...); for system calls without a wrapperman2/clone.2+6 -111 reply
12/35delete_module.2: Add missing includeman2/delete_module.2+2 -01 reply
13/35dup.2: SYNOPSIS: Use consistent comments through pagesman2/dup.2+1 -11 reply
14/35execveat.2: Use syscall(SYS_...); for system calls without a wrapperman2/execveat.2+5 -91 reply
15/35exit_group.2: Use 'noreturn' in prototypesman2/exit_group.2+1 -11 reply
16/35exit_group.2: Use syscall(SYS_...); for system calls without a wrapperman2/exit_group.2+3 -21 reply
17/35fanotify_init.2: Add comment: why more than one include is neededman2/fanotify_init.2+1 -11 reply
18/35fcntl.2: Remove unused includeman2/fcntl.2+0 -11 reply
19/35futex.2: Use syscall(SYS_...); for system calls without a wrapperman2/futex.2+7 -120 replies
20/35futimesat.2: ffixman2/futimesat.2+1 -11 reply
21/35getdents.2: Use syscall(SYS_...); for system calls without a wrapperman2/getdents.2+8 -41 reply
22/35getpriority.2: Remove unused includeman2/getpriority.2+0 -131 reply
23/35getrlimit.2, getrusage.2: Remove unused includeman2/getrlimit.2 man2/getrusage.2+0 -101 reply
24/35getunwind.2: Use syscall(SYS_...); for system calls without a wrapperman2/getunwind.2+4 -101 reply
25/35get_robust_list.2: Use syscall(SYS_...); for system calls without a wrapperman2/get_robust_list.2+8 -111 reply
26/35delete_module.2: Use syscall(SYS_...); for system calls without a wrapperman2/delete_module.2+3 -41 reply
27/35init_module.2: Use syscall(SYS_...); for system calls without a wrapperman2/init_module.2+8 -121 reply
28/35io_cancel.2: Use syscall(SYS_...); for system calls without a wrapperman2/io_cancel.2+6 -101 reply
29/35ioctl_fat.2: Make clear why is each header exactly needed.man2/ioctl_fat.2+1 -01 reply
30/35ioctl_fat.2: ffixman2/ioctl_fat.2+2 -21 reply
31/35ioctl_ficlonerange.2: Make clear why is each header exactly needed.man2/ioctl_ficlonerange.2+1 -11 reply
32/35ioctl_fideduperange.2: Make clear why exactly is each header neededman2/ioctl_fideduperange.2+2 -11 reply
33/35ioctl_fslabel.2: ffixman2/ioctl_fslabel.2+1 -11 reply
34/35ioctl_fslabel.2: Make clear why exactly is each header neededman2/ioctl_fslabel.2+1 -11 reply
35/35ioctl_getfsmap.2: Make clear why exactly is each header neededman2/ioctl_getfsmap.2+3 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 00/35] SYNOPSIS: Use syscall(SYS_...); and fix '#include's

v5:
- ffix 29/35, 32/35, and 35/35. The rest are identical to v4.

Alejandro Colomar (35):
system_data_types.7: Add 'struct sockaddr'
sockaddr.3: New link to system_data_types(7) system_data_types.7: Add 'socklen_t'
socklen_t.3: New link to system_data_types(7)
access.2: Use syscall(SYS_...); for system calls without a wrapper add_key.2: Remove unused include
alloc_hugepages.2: Use syscall(SYS_...); for system calls without a
wrapper
arch_prctl.2: Use syscall(SYS_...); for system calls without a wrapper arch_prctl.2: SYNOPSIS: Remove unused includes
capget.2: Use syscall(SYS_...); for system calls without a wrapper clone.2: Use syscall(SYS_...); for system calls without a wrapper delete_module.2: Add missing include
dup.2: SYNOPSIS: Use consistent comments through pages execveat.2: Use syscall(SYS_...); for system calls without a wrapper exit_group.2: Use 'noreturn' in prototypes
exit_group.2: Use syscall(SYS_...); for system calls without a wrapper fanotify_init.2: Add comment: why more than one include is needed fcntl.2: Remove unused include
futex.2: Use syscall(SYS_...); for system calls without a wrapper futimesat.2: ffix
getdents.2: Use syscall(SYS_...); for system calls without a wrapper getpriority.2: Remove unused include
getrlimit.2, getrusage.2: Remove unused include getunwind.2: Use syscall(SYS_...); for system calls without a wrapper get_robust_list.2: Use syscall(SYS_...); for system calls without a
wrapper
delete_module.2: Use syscall(SYS_...); for system calls without a
wrapper
init_module.2: Use syscall(SYS_...); for system calls without a
wrapper
io_cancel.2: Use syscall(SYS_...); for system calls without a wrapper ioctl_fat.2: Make clear why is each header exactly needed. ioctl_fat.2: ffix
ioctl_ficlonerange.2: Make clear why is each header exactly needed. ioctl_fideduperange.2: Make clear why exactly is each header needed ioctl_fslabel.2: ffix
ioctl_fslabel.2: Make clear why exactly is each header needed ioctl_getfsmap.2: Make clear why exactly is each header needed

 man2/access.2              | 11 +++++---
 man2/add_key.2             |  1 -
 man2/alloc_hugepages.2     |  7 ++---
 man2/arch_prctl.2          | 15 ++++-------
 man2/capget.2              | 20 +++++++-------
 man2/clone.2               | 17 +++++-------
 man2/delete_module.2       |  9 ++++---
 man2/dup.2                 |  2 +-
 man2/execveat.2            | 14 ++++------
 man2/exit_group.2          |  5 ++--
 man2/fanotify_init.2       |  2 +-
 man2/fcntl.2               |  1 -
 man2/futex.2               | 19 +++++---------
 man2/futimesat.2           |  2 +-
 man2/get_robust_list.2     | 19 ++++++--------
 man2/getdents.2            | 12 ++++++---
 man2/getpriority.2         | 13 ----------
 man2/getrlimit.2           |  1 -
 man2/getrusage.2           |  9 -------
 man2/getunwind.2           | 14 +++-------
 man2/init_module.2         | 20 ++++++--------
 man2/io_cancel.2           | 16 +++++-------
 man2/ioctl_fat.2           |  5 ++--
 man2/ioctl_ficlonerange.2  |  2 +-
 man2/ioctl_fideduperange.2 |  3 ++-
 man2/ioctl_fslabel.2       |  4 +--
 man2/ioctl_getfsmap.2      |  5 ++--
 man3/sockaddr.3            |  1 +
 man3/socklen_t.3           |  1 +
 man7/system_data_types.7   | 53 ++++++++++++++++++++++++++++++++++++++
 30 files changed, 156 insertions(+), 147 deletions(-)
 create mode 100644 man3/sockaddr.3
 create mode 100644 man3/socklen_t.3
Signature · 1 line
2.31.0