All of lore.kernel.org
 help / color / mirror / Atom feed
* renameat2 doesn't have a no-glibc-wrapper note
@ 2017-03-12 23:09 Georg Sauthoff
       [not found] ` <20170312230909.GA13985-FBHWoc2sFkwTXckIgbG3eg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Georg Sauthoff @ 2017-03-12 23:09 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Hello,

the renameat2(2) man page [1] currently doesn't mention that you have to use
sycall() to access it. Tested it with glibc-2.24-4.fc25.x86_64.

Can you add notes similar to what e.g. kcmp(2) [2] has?

I mean:

> Note: There is no glibc wrapper for this system call; see NOTES.
> [..]
> NOTES
> 
>        Glibc does not provide a wrapper for this system call; call it using
>        syscall(2).


Best regards
Georg

[1]: http://man7.org/linux/man-pages/man2/renameat2.2.html
[2]: http://man7.org/linux/man-pages/man2/kcmp.2.html
-- 
'The universe has no center and no edges' (Limits of Control,
2009)
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: renameat2 doesn't have a no-glibc-wrapper note
       [not found] ` <20170312230909.GA13985-FBHWoc2sFkwTXckIgbG3eg@public.gmane.org>
@ 2017-04-19 13:26   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2017-04-19 13:26 UTC (permalink / raw)
  To: Georg Sauthoff
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA

Hello Georg.

On 03/13/2017 12:09 AM, Georg Sauthoff wrote:
> Hello,
> 
> the renameat2(2) man page [1] currently doesn't mention that you have to use
> sycall() to access it. Tested it with glibc-2.24-4.fc25.x86_64.
> 
> Can you add notes similar to what e.g. kcmp(2) [2] has?

Thanks for reporting this. I've added some text to the rename(2)
page to note the requirement to use syscall(2).

Cheers,

Michael


> I mean:
> 
>> Note: There is no glibc wrapper for this system call; see NOTES.
>> [..]
>> NOTES
>>
>>        Glibc does not provide a wrapper for this system call; call it using
>>        syscall(2).
> 
> 
> Best regards
> Georg
> 
> [1]: http://man7.org/linux/man-pages/man2/renameat2.2.html
> [2]: http://man7.org/linux/man-pages/man2/kcmp.2.html
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-19 13:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-12 23:09 renameat2 doesn't have a no-glibc-wrapper note Georg Sauthoff
     [not found] ` <20170312230909.GA13985-FBHWoc2sFkwTXckIgbG3eg@public.gmane.org>
2017-04-19 13:26   ` Michael Kerrisk (man-pages)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.