| Commit message (Expand) | Author | Age | Files | Lines |
| * | add O_EXEC open mode•••the linux O_PATH mode provides the necessary semantics for both the
O_SEARCH and O_EXEC modes defined and required by POSIX 2008.
| Rich Felker | 2012-09-15 | 1 | -0/+1 |
| * | add O_PATH/O_SEARCH support to fcntl.h•••I'm not 100% sure that Linux's O_PATH meets the POSIX requirements for
O_SEARCH, but it seems very close if not perfect. and old kernels
ignore it, so O_SEARCH will still work as desired as long as the
caller has read permissions to the directory.
| Rich Felker | 2012-09-13 | 1 | -0/+2 |
| * | syscall organization overhaul•••now public syscall.h only exposes __NR_* and SYS_* constants and the
variadic syscall function. no macros or inline functions, no
__syscall_ret or other internal details, no 16-/32-bit legacy syscall
renaming, etc. this logic has all been moved to src/internal/syscall.h
with the arch-specific parts in arch/$(ARCH)/syscall_arch.h, and the
amount of arch-specific stuff has been reduced to a minimum.
changes still need to be reviewed/double-checked. minimal testing on
i386 and mips has already been performed.
| Rich Felker | 2012-09-08 | 1 | -87/+0 |
| * | avoid "inline" in public headers for strict c89 compatibility•••while musl itself requires a c99 compiler, some applications insist on
being compiled with c89 compilers, and use of "inline" in the headers
was breaking them. much of this had been avoided already by just
skipping the inline keyword in pre-c99 compilers or modes, but this
new unified solution is cleaner and may/should result in better code
generation in the default gcc configuration.
| Rich Felker | 2012-09-02 | 1 | -7/+7 |
| * | fix incorrect ptrdiff_t type on mips | Rich Felker | 2012-08-10 | 1 | -1/+1 |
| * | add defines for number of sigset_t bytes syscalls expect•••yet another gratuitous mips incompatibility...
| Rich Felker | 2012-08-09 | 1 | -0/+2 |
| * | further fixes for mips ioctl.h header•••untested; hopefully it's right now
| Rich Felker | 2012-08-07 | 1 | -4/+4 |
| * | fix another mips gratuitous-incompatibility bug: ioctl numbers | Rich Felker | 2012-08-07 | 1 | -2/+2 |
| * | fix socket.h on mips•••why does mips have to be gratuitously incompatible in every possible
imaginable way?
| Rich Felker | 2012-08-05 | 1 | -0/+3 |
| * | add floating point register saving/restoring to mips setjmp/longjmp•••also fix the alignment of jmp_buf to meet the abi. linux always
emulates fpu on mips if it's not present, so enabling this code
unconditionally is "safe" but may be slow. in the long term it may be
preferable to find a way to disable it on soft float builds.
| Rich Felker | 2012-07-22 | 1 | -1/+1 |
| * | workaround another sendmsg kernel bug on 64-bit machines•••the kernel wrongly expects the cmsg length field to be size_t instead
of socklen_t. in order to work around the issue, we have to impose a
length limit and copy to a local buffer. the length limit should be
more than sufficient for any real-world use; these headers are only
used for passing file descriptors and permissions between processes
over unix sockets.
| Rich Felker | 2012-07-12 | 1 | -0/+7 |
| * | fix redef of sigprocmask constants on mips•••this fix is easier than trying to reorder the header stuff
| Rich Felker | 2012-07-12 | 1 | -0/+3 |
| * | more mips bits-header fixes•••signal handling was very broken because of this
| Rich Felker | 2012-07-12 | 1 | -2/+6 |
| * | fix mips syscalls with long long args•••like arm, mips requires 64-bit arguments to be "aligned" on an even
register boundary.
| Rich Felker | 2012-07-12 | 1 | -1/+1 |
| * | fix mips mcontext_t structure size•••otherwise offs in ucontext_t will be wrong, and break code that
inspects or modifies the signal makes (including cancellation code).
| Rich Felker | 2012-07-12 | 1 | -1/+5 |
| * | fix MAP_ANONYMOUS value for mips, remove cruft copied from i386 | Rich Felker | 2012-07-11 | 1 | -2/+1 |
| * | initial version of mips (o32) port, based on work by Richard Pennington (rdp)•••basically, this version of the code was obtained by starting with
rdp's work from his ellcc source tree, adapting it to musl's build
system and coding style, auditing the bits headers for discrepencies
with kernel definitions or glibc/LSB ABI or large file issues, fixing
up incompatibility with the old binutils from aboriginal linux, and
adding some new special cases to deal with the oddities of sigaction
and pipe syscall interfaces on mips.
at present, minimal test programs work, but some interfaces are broken
or missing. threaded programs probably will not link.
| Rich Felker | 2012-07-11 | 25 | -0/+1809 |