Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add ALTEXIT_{STRONG,WEAK} to support wrapping of functions using ALTENTRY. | 2015-08-31 | 1 | -0/+1 | |
| | | | | | | Fix memmove with that ok deraadt@ | ||||
* | Add framework for resolving (pun intended) libc namespace issues, using | 2015-08-31 | 1 | -6/+2 | |
| | | | | | | | | | | | | wrapper .h files and asm labels to let internal calls resolve directly and not be overridable or use the PLT. Then, apply that framework to most of the functions in stdio.h, string.h, err.h, and wchar.h. Delete the should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here. tests clean on i386, amd64, sparc64, powerpc, and mips64 naming feedback from kettenis@ and millert@ ok kettenis@ | ||||
* | Make index/rindex weak aliases of strchr/strrchr since they are not | 2015-05-15 | 1 | -2/+2 | |
| | | | | | part of the ISO C standard and have also been dropped from POSIX. OK guenther@ kettenis@ | ||||
* | memmove/bcopy from libkern, almost certainly the unrolling here is | 2014-12-05 | 2 | -2/+162 | |
| | | | | | | beneficial because the compiler tends to do small known-size blocks inline. Continue using the MI memcpy.c for now. ok miod | ||||
* | restructure libc/string + libc/arch/*/string coperation regarding | 2014-11-30 | 1 | -6/+7 | |
| | | | | | | | | | | | | | | | | (potentially) MD versions (function dependent, not filename dependent) split out memcpy/memmove/bcopy and strchr/index/strrchr/rindex Bring back amd64 .S versions And the final touch: switch all architectures temporarily to MI memcpy.c, which contains syslog + abort for overlapping copies. A nice harsh undefined behaviour. We will clean the entire userland of the remaining issues in this catagory, then switch to the optimised memcpy which skips the memmove check. I tried to cut this change into pieces, but testing each sub-step on every architecture is too time consuming and mindnumbing. ok miod | ||||
* | mi versions are good enough | 2002-09-10 | 3 | -348/+4 | |
| | |||||
* | sync from libkern (where the major fix was done or the kernel piece of this) | 2002-08-27 | 1 | -18/+22 | |
| | |||||
* | forgot to fix this while was fixing copy_on_fault shitz | 2002-08-13 | 1 | -4/+4 | |
| | |||||
* | we can live very well w/ MI ffs() | 2002-07-08 | 2 | -62/+2 | |
| | |||||
* | save the old onfault where the handler expects it to be, do not zero out on exit, but restore | 2002-05-20 | 1 | -2/+3 | |
| | |||||
* | reverse the condition | 2002-03-08 | 1 | -2/+2 | |
| | |||||
* | set ret for mem*, no mycopy, better reverse copy check | 2002-03-08 | 1 | -5/+3 | |
| | |||||
* | use c versions | 2002-02-25 | 3 | -199/+3 | |
| | |||||
* | additional condition on reverse copy; from fredette@ | 2002-02-07 | 1 | -1/+2 | |
| | |||||
* | make this compile for kernel | 2001-09-20 | 1 | -4/+4 | |
| | |||||
* | oh, just include machine/asm.h | 2001-06-04 | 1 | -3/+3 | |
| | |||||
* | entrieness cleanup | 2001-06-04 | 5 | -15/+19 | |
| | |||||
* | fix fork, brk/sbrk; rcsid embedding | 2001-03-29 | 3 | -4/+22 | |
| | |||||
* | correct arg order addi/subi, newer gas catches this | 2001-03-28 | 1 | -5/+7 | |
| | |||||
* | ugly workaround for an .align parse bug in current binutils | 2000-01-12 | 2 | -3/+5 | |
| | |||||
* | fix space regs load insns, also some tabs vs spaces | 1999-12-05 | 1 | -19/+20 | |
| | |||||
* | this is the bcopy we use | 1999-09-14 | 4 | -492/+272 | |
| | |||||
* | use assembler here | 1999-04-27 | 2 | -3/+68 | |
| | |||||
* | missing parts from last commit | 1999-04-25 | 1 | -2/+2 | |
| | |||||
* | some missing parts; sys is not ready yet | 1998-12-17 | 1 | -0/+252 | |
| | |||||
* | some libc parts; memmove.S to written | 1998-08-28 | 5 | -0/+479 | |