Module Name:    src
Committed By:   kamil
Date:           Sun Jan  7 15:28:34 UTC 2018

Modified Files:
        src/lib/libc/include: namespace.h
        src/lib/libc/stdlib: atoi.c
        src/sys/external/bsd/compiler_rt/dist/lib/profile: InstrProfilingFile.c

Log Message:
Revert namespacing of atoi(3)

Sanitizers can handle recursive interceptions in some / most cases, if they
will cause damage the problem will be not workaroundable without libc
changes - I will be back to it.

Keep namespace of asctime() as this can be a cancellation point according
to POSIX. Right now it's not implemented on NetBSD. Defer it for later.

Keep weak symbols and namespace for wait6(2) as this could be a
cancellation point as well. Defer this for later.

Sanitizers's [recursive] interceptors are a hack and moving one way or
another can cause new sets of problems. Recursive ones can be useful and
cause problems (on Linux there are known with with signal handlers).

Sponsored by <The NetBSD Foundation>


To generate a diff of this commit:
cvs rdiff -u -r1.193 -r1.194 src/lib/libc/include/namespace.h
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/stdlib/atoi.c
cvs rdiff -u -r1.2 -r1.3 \
    src/sys/external/bsd/compiler_rt/dist/lib/profile/InstrProfilingFile.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to