use END_STRONG. Yes, everything in the sh ecosystem is different..
Instead of trying to handle ffs() with the normal rename-mark-hidden-and-aliasdance, mark it protected. This works better for both gcc and clang: gccblocks overriding of internal calls, while clan
Instead of trying to handle ffs() with the normal rename-mark-hidden-and-aliasdance, mark it protected. This works better for both gcc and clang: gccblocks overriding of internal calls, while clang permits inlining again.ok otto@
show more ...
Add framework for resolving (pun intended) libc namespace issues, usingwrapper .h files and asm labels to let internal calls resolve directly andnot be overridable or use the PLT. Then, apply that
Add framework for resolving (pun intended) libc namespace issues, usingwrapper .h files and asm labels to let internal calls resolve directly andnot be overridable or use the PLT. Then, apply that framework to most ofthe functions in stdio.h, string.h, err.h, and wchar.h. Delete theshould-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here.tests clean on i386, amd64, sparc64, powerpc, and mips64naming feedback from kettenis@ and millert@ok kettenis@
Make index/rindex weak aliases of strchr/strrchr since they are notpart of the ISO C standard and have also been dropped from POSIX.OK guenther@ kettenis@
restructure libc/string + libc/arch/*/string coperation regarding(potentially) MD versions (function dependent, not filename dependent)split out memcpy/memmove/bcopy and strchr/index/strrchr/rindex
restructure libc/string + libc/arch/*/string coperation regarding(potentially) MD versions (function dependent, not filename dependent)split out memcpy/memmove/bcopy and strchr/index/strrchr/rindexBring back amd64 .S versionsAnd the final touch: switch all architectures temporarily to MImemcpy.c, which contains syslog + abort for overlapping copies. A niceharsh undefined behaviour. We will clean the entire userland of theremaining issues in this catagory, then switch to the optimised memcpywhich skips the memmove check.I tried to cut this change into pieces, but testing each sub-step onevery architecture is too time consuming and mindnumbing.ok miod
remove lint leftovers; ok guenther@
First pass at removing clauses 3 and 4 from NetBSD licenses.Not sure what's more surprising: how long it took for NetBSD tocatch up to the rest of the BSDs (including UCB), or the amount ofcode t
First pass at removing clauses 3 and 4 from NetBSD licenses.Not sure what's more surprising: how long it took for NetBSD tocatch up to the rest of the BSDs (including UCB), or the amount ofcode that NetBSD has claimed for itself without attributing to theactual authors.OK deraadt@
fix some lint 'xxx used, but not defined' warnings by properly addingstuff to LSRCS
Preliminary userland bits for OpenBSD/landisk, many things coming fromNetBSD.