Re: system calls not intended for user space

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

 



Hi Michael,

On 5/17/21 9:47 AM, Alejandro Colomar (man-pages) wrote:
Hi Michael,

On 5/17/21 3:04 AM, Michael Kerrisk (man-pages) wrote:
Hi Alex,

On Fri, 14 May 2021 at 07:25, Alejandro Colomar (man-pages)
<alx.manpages@xxxxxxxxx> wrote:

Hello Michael,

There are some syscalls that are not intended to be used from user
space.  See restart_syscall(2).  Should I document those as
syscall(SYS_...) or not?

Yes, this function is an odd case. (Are there others? Perhaps
sigreturn(2) also.)

rt_sigqueueinfo.2 maybe, for which, by the way, I sent a patch recently, so you may prefer to ingore it.


I think I would just ignore these two. (That is, no changes.)

Agree.  I sent the patch for rt_sigqueueinfo.2 because in NOTES it already talked about syscall(2), and by the DESCRIPTION it looks like it's used by library writers (that's user space).


I see you've applied the patch (it was 2/8 that you applied today (<https://lore.kernel.org/linux-man/20210515182027.186403-2-alx.manpages@xxxxxxxxx/T/#u>)). Check this before pushing and decide :)

Cheers,

Alex


--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/



[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