This is the mail archive of the
mailing list for the glibc project.
Re: Move some setrlimit definitions to syscalls.list (bug 14138)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Tue, 23 Sep 2014 13:08:34 +0000
- Subject: Re: Move some setrlimit definitions to syscalls.list (bug 14138)
- Authentication-results: sourceware.org; auth=none
- References: <Pine dot LNX dot 4 dot 64 dot 1409192209510 dot 28609 at digraph dot polyomino dot org dot uk> <54216DEB dot 2010901 at linux dot vnet dot ibm dot com>
On Tue, 23 Sep 2014, Adhemerval Zanella wrote:
> This looks ok, thanks. I also checked on powerpc32 with no regressions.
> Do you have a summary of the bugzilla number related to moving syscalls
> to syscalls.list?
Check for the magic comment. Work out whether the C function's semantics
do in fact correspond to those of a syscalls.list entry (and if so, what
variant - some cases may be 'C' (cancellable), 'E' (no errno - if
INTERNAL_SYSCALL rather than INLINE_SYSCALL is used) or 'V'). If so, work
out what syscalls.list entries are needed as a replacement, allowing for
other architectures that may #include the C file, and for existing
syscalls.list entries that may suffice in some cases. If the semantics
don't correspond to a syscalls.list entry, fix the comment to explain why
syscalls.list isn't being used.
Joseph S. Myers