On 07.01.2018 00:41, Joerg Sonnenberger wrote: > On Fri, Jan 05, 2018 at 06:57:06PM +0000, Kamil Rytarowski wrote: >> Module Name: src >> Committed By: kamil >> Date: Fri Jan 5 18:57:06 UTC 2018 >> >> Modified Files: >> src/lib/libc/include: namespace.h >> >> Log Message: >> Register more syscalls in namespace.h (of libc) >> >> Add weak symbols for: >> - fcntl >> - close >> - execve >> - setcontext >> - wait6 >> - write >> - writev > > Most of those are standard library calls. They should not be weak unless > they are also a cancellation point. > > Joerg > I had a different goal of marking them weak. But looking at the specs about the cancellation point functions I can read the following: "Cancellation points shall occur when a thread is executing the following functions:" fcntl, close, related to wait6 (wait, waitpid, waitid), write, writev From the another commit about asctime: "A cancellation point may also occur when a thread is executing the following functions:" asctime() http://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_09.html
Attachment:
signature.asc
Description: OpenPGP digital signature