| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
of indirecting through __errno().
Register naming tweaks and clang testing by patrick@ and jsg@
ok kettenis@
|
|
|
|
|
|
|
|
|
|
|
| |
Years ago Theo made read(2) return 0 on directories, instead of dumping
the directory content. Another behavior is allowed as an extension by
POSIX, returning an EISDIR error, as used on a few other systems. This
behavior is deemed more useful as it helps spotting errors. This
implies that it might break some setups.
Ports bulk builds by ajacoutot@ and naddy@, ok millert@ bluhm@ naddy@
deraadt@
|
| |
|
| |
|
|
|
|
|
| |
so the internal hidden names are unused; switch to PROTO_DEPRECATED()
and drop the DEF_WEAK()s
|
|
|
|
| |
OK guenther@
|
| |
|
|
|
|
|
|
|
|
| |
sigprocmask syscall.
abort() can't return, so simplify the call, and use the internal name to
avoid the PLT.
no-return observation by Miod Vallat, testing by aoyama@
|
| |
|
|
|
|
|
|
|
| |
Don't need a PLT relocation for __cerror.
Move macros for doing internal aliases in ASM from SYS.h to DEFS.h
__cerror tweaks by Miod Vallat, testing by aoyama@
|
| |
|
|
|
|
|
|
|
| |
or prototypes. Ditto for some of the char* and void* casts too.
verified no change to instructions on ILP32 (i386) and LP64 (amd64)
ok natano@ abluhm@ deraadt@ millert@
|
|
|
|
| |
parameter that was passed in. From Carlin Bingham.
|
|
|
|
| |
ok tedu@
|
|
|
|
| |
ok jsg@
|
|
|
|
| |
fix suggested by and ok guenther@
|
|
|
|
|
|
| |
Makes exceptions work in C++ code work again om armv7.
ok guenther@
|
|
|
|
|
| |
requested by mpf@
ok deraadt tedu@
|
| |
|
|
|
|
| |
ok deraadt@ millert@
|
|
|
|
| |
without wxallowed causes EACCES
|
|
|
|
|
|
|
| |
move it from before ENTRY() to after END(). Keeps brk(2) and sbrk(2) weak
when comping libc with clang.
ok guenther@
|
| |
|
|
|
|
|
|
| |
functions and delete a macro that is used in only one place;
no functional change.
This completes the audit of the citrus directory (only 3 files left).
|
|
|
|
| |
leave that decision to the compiler; no functional change
|
|
|
|
|
|
|
|
|
|
| |
- delete unused headers
- add missing function prototype
- delete needless casts of return values
- KNF: return is not a function
- KNF: do not use a pointer as a boolean
- consistent wording in comments: s/octets/bytes/
OK gcc: no object change after strip -g
|
|
|
|
|
|
|
|
| |
used or defined, as clang isn't as forgiving as gcc. Also, declare
__flt_rounds() so that libc can build it despire clang providing its own
<float.h>
ok stefan@ kettenis@
|
|
|
|
|
|
| |
from the aux vector.
ok patrick@ kettenis@
|
|
|
|
|
|
|
| |
hints are not recognized by clang's builtin assembler and the opcode prefixes
they generate have been no-ops for all CPUs after the Pentium 4.
ok guenther@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Declare functions rather than generating declarations with macros.
Just call functions rather than mainting function pointer tables.
Purge unused arguments. Simplify mbstate_t casting.
Garbage collect one empty and one unused function.
As a bonus, make mbsinit(3) work at all, it returned garbage
in the past due to a missing cast when passing mbstate_t.
Apart from that, no functional change.
No libc bump needed; only private functions are removed and
change prototype and only private structs change size.
OK stsp@ mpi@; deraadt@ likes the general direction.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
the SHA512/256 functions as well.
|
|
|
|
| |
ok jmc naddy
|
|
|
|
|
|
| |
clock_gettime(2).
ok guenther@
|
|
|
|
|
|
|
|
| |
with different magic numbers, so we need to add some functions instead
of just asking the user to truncate as desired. Sigh.
SHA512 is quite a bit faster than SHA256 on 64 bit CPUs,
but 256 bit hashes are usually quite sufficient. Best of both.
ok deraadt tom
|
| |
|
| |
|
|
|
|
| |
ok guenther@
|
|
|
|
|
| |
While here, polish some wording.
OK stsp@
|
|
|
|
|
|
| |
a linked list to store it. No functional change.
OK mpi@ guenther@,
and stsp@ agrees too that the time is ripe to start such cleanup
|
| |
|
|
|
|
| |
tested by many (thanks!) ok tedu, guenther@
|
| |
|