Rich Felker
|
14012b91f2
add some new linux AT_* flags
|
11 years ago |
Rich Felker
|
0a05eace16
fix faccessat to support AT_EACCESS flag
|
11 years ago |
Rich Felker
|
89384f78ce
collapse euidaccess to a call to faccessat
|
11 years ago |
Rich Felker
|
f0ceb5abd9
add prototypes for euidaccess/eaccess
|
11 years ago |
Rich Felker
|
a89aaee110
add legacy euidaccess function and eaccess alias for it
|
11 years ago |
Rich Felker
|
d3a98ff69a
make tdestroy allow null function pointer if no destructor is needed
|
11 years ago |
Rich Felker
|
2d2da648f6
fix aliasing violations in tsearch functions
|
11 years ago |
Rich Felker
|
86cc54b577
protect against long double type mismatches (mainly powerpc for now)
|
11 years ago |
Rich Felker
|
2f820f3b1f
add legacy function valloc
|
11 years ago |
Rich Felker
|
2e5dfa515f
fix feature test macro logic for _BSD_SOURCE
|
11 years ago |
Rich Felker
|
0c7294ef30
add wcsftime_t alias
|
11 years ago |
Rich Felker
|
feff6b43e5
add missing c++ extern "C" wrapping to link.h
|
11 years ago |
Rich Felker
|
9ca1f62b0c
make fchdir, fchmod, fchown, and fstat support O_PATH file descriptors
|
11 years ago |
Rich Felker
|
c8c0844f7f
debloat code that depends on /proc/self/fd/%d with shared function
|
11 years ago |
Rich Felker
|
0dc4824479
work around linux's lack of flags argument to fchmodat syscall
|
11 years ago |
Rich Felker
|
3e3753c1a8
move RPATH search after LD_LIBRARY_PATH search
|
11 years ago |
Rich Felker
|
78c6d30fd3
provide useless 64-bit fcntl macros with _LARGEFILE64_SOURCE
|
11 years ago |
Rich Felker
|
8d01dfc72a
if map_library has allocated a buffer for phdrs, free it on success too
|
11 years ago |
Rich Felker
|
d5884a574c
improve error handling in map_library and support long phdrs
|
11 years ago |
Rich Felker
|
7443dd271c
fix uninitialized dyn variable in map_library
|
11 years ago |
Rich Felker
|
38f44d6923
fix (deprecated) mktemp logic and update it to match other temp functions
|
11 years ago |
Rich Felker
|
9a97d103fb
remove (no longer useful) namespace-protected __mktemp symbol
|
11 years ago |
Rich Felker
|
c4685ae429
make mkdtemp and mkstemp family leave template unchanged on fail
|
11 years ago |
Rich Felker
|
926272ddff
optimized memset asm for i386 and x86_64
|
11 years ago |
Rich Felker
|
4a1f55e92f
work around gcc 4.8's generation of self-referential mem* functions at -O3
|
11 years ago |
Rich Felker
|
5db951ef80
in pthread_getattr_np, use mremap rather than madvise to measure stack
|
11 years ago |
Rich Felker
|
27593d3a35
fix theoretical out-of-bound access in dynamic linker
|
11 years ago |
Rich Felker
|
f8c376da95
prevent passing PT_INTERP name to dlopen from double-loading libc
|
11 years ago |
Rich Felker
|
339516addb
add some sanity checks in dynamic loader code
|
11 years ago |
Rich Felker
|
c4f49a6a72
fix bug where read error was treated as success reading library headers
|
11 years ago |