Module Name: src Committed By: kamil Date: Wed Jan 17 01:24:30 UTC 2018
Modified Files: src/lib/libc/gen: closefrom.c exect.c src/lib/libc/include: namespace.h src/lib/libc/stdio: fopen.c freopen.c Log Message: Revert to commits as they broke few rump tests "Include namespace.h in a few of libc source files [...] This change finishes elimination of usage of the global name of the following symbols: - close -> _close - execve -> _execve - fcntl -> _fcntl - setcontext -> _setcontext - wait6 -> _wait6 - write -> _write - writev -> _writev" "Register more syscalls in namespace.h (of libc) Add weak symbols for: - fcntl - close - execve - setcontext - wait6 - write - writev" These changes broke: fs/nfs/t_rquotad:get_nfs_be_1_both fs/nfs/t_rquotad:get_nfs_be_1_group fs/nfs/t_rquotad:get_nfs_be_1_user fs/nfs/t_rquotad:get_nfs_le_1_both fs/nfs/t_rquotad:get_nfs_le_1_group fs/nfs/t_rquotad:get_nfs_le_1_user lib/librumphijack/t_config:fdoff lib/librumphijack/t_tcpip:http lib/librumphijack/t_tcpip:nfs lib/librumphijack/t_vfs:cpcopy lib/librumphijack/t_vfs:mv_x lib/librumphijack/t_vfs:paxcopy net/net/t_forwarding:ipforwarding_fastforward_v4 net/net/t_forwarding:ipforwarding_fastforward_v6 net/net/t_forwarding:ipforwarding_fragment_v4 net/net/t_forwarding:ipforwarding_misc net/net/t_mtudisc6:mtudisc6_basic This revert fixes the failures, except lib/librumphijack/t_vfs. The original changes were added in order to facilitate a usage of sanitizers against programs linked with NetBSD's libc. It is no longer needed, so abandon these changes. Sponsored by <The NetBSD Foundation> To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/lib/libc/gen/closefrom.c cvs rdiff -u -r1.2 -r1.3 src/lib/libc/gen/exect.c cvs rdiff -u -r1.195 -r1.196 src/lib/libc/include/namespace.h cvs rdiff -u -r1.18 -r1.19 src/lib/libc/stdio/fopen.c cvs rdiff -u -r1.21 -r1.22 src/lib/libc/stdio/freopen.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.