[PATCH 00/10] man2: SYNOPSIS: Use syscall, and fix includes.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Michael,

Almost finished these:
$ man_lsfunc man2 | sed -n '/socketcall/,$p' | wc -l
67
$ man_lsfunc man2 | wc -l
401
$

A remainder for myself of commands needed to do this:

.../man-pages$ man_section man2 SYNOPSIS 'CONFORMING TO' NOTES \
               | sed -n '/SOCKETCALL/,$p' \
               | sponge | less;


.../glibc$ man_lsfunc ../../linux/man-pages/man2 \
           | while read -r syscall; do \
                   echo "=============================  ${syscall}"; \
                   grep_glibc_prototype ${syscall}; \
           done \
           | sed -e 's/\bextern //' -e 's/\b_*//g' \
           | sed -n '/socketcall/,$p' \
           | sponge | less;

Kind regards,

Alex


Alejandro Colomar (10):
  open.2: Remove unused <sys/stat.h>
  rt_sigqueueinfo.2: Use syscall(SYS_...); for system calls without a
    wrapper
  seccomp.2: Document why each header is needed
	(not sending this one; already sent last week)
	<https://lore.kernel.org/linux-man/20210515182254.186607-1-alx.manpages@xxxxxxxxx/T/#u>
  seccomp.2: Use syscall(SYS_...); for system calls without a wrapper
	(depends on the previous one)
  set_thread_area.2: Use syscall(SYS_...); for system calls without a
    wrapper
  set_tid_address.2: Use syscall(SYS_...); for system calls without a
    wrapper
  sgetmask.2: Use syscall(SYS_...); for system calls without a wrapper
  shmop.2: Remove unused include
  sigprocmask.2: Use syscall(SYS_...); for raw system calls
  socketcall.2: Use syscall(SYS_...); for system calls without a wrapper

 man2/open.2            |  1 -
 man2/rt_sigqueueinfo.2 | 11 ++++++++---
 man2/seccomp.2         | 24 +++++++++++++-----------
 man2/set_thread_area.2 | 24 ++++++++++++------------
 man2/set_tid_address.2 | 13 +++++++------
 man2/sgetmask.2        | 15 ++++++++-------
 man2/shmop.2           |  1 -
 man2/sigprocmask.2     |  8 ++++++--
 man2/socketcall.2      | 15 ++++++++-------
 9 files changed, 62 insertions(+), 50 deletions(-)

-- 
2.31.1




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux