87 Commits (918c5fa0fc656e49b1ab9ce47183a23e3a36bc00)

Author SHA1 Message Date
Rich Felker 918c5fa0fc fix broken lseek on mipsn32 with offsets larger than LONG_MAX 7 years ago
Rich Felker 03919b26ed use namespace-safe __lseek for __stdio_seek instead of direct syscall 7 years ago
Samuel Holland e0eee3ceef fix restrict violations in internal use of several functions 7 years ago
Drew DeVault 54316a52b2 support archs with no renameat syscall, only renameat2 7 years ago
Benjamin Peterson c84971995b improve error handling of ttyname_r and isatty 8 years ago
Rich Felker 63a4c9adf2 remove spurious inclusion of libc.h for LFS64 ABI aliases 8 years ago
Rich Felker 5ce3737931 reduce spurious inclusion of libc.h 8 years ago
Rich Felker 6fcd60ddd9 move and deduplicate declarations of __procfdname to make it checkable 8 years ago
Rich Felker 375840c7d8 avoid excessive stack usage in getcwd 8 years ago
Marc André Tanner 3f6dc30470 fix out of bounds write for zero length buffer in gethostname 8 years ago
Rich Felker 4bf0717e51 fix return value of nice function 8 years ago
Dmitry V. Levin 23ddab8569 make getcwd fail if it cannot obtain an absolute path 8 years ago
Rich Felker cd0ae687de revert regression in faccessat AT_EACCESS robustness 8 years ago
Samuel Holland 81f4a1200a fix fchown fallback on arches without chown(2) 9 years ago
Rich Felker e1232f5b51 make ttyname[_r] return ENODEV rather than ENOENT 9 years ago
Szabolcs Nagy 0a950dcf15 verify that ttyname refers to the same file as the fd 10 years ago
Rich Felker 7cc3a28eed fix pread/pwrite syscall calling convention on sh 10 years ago
Rich Felker 5972c4a411 add mips n32 port (ILP32 ABI for mips64) 10 years ago
Rich Felker 83933573af add mips64 port 10 years ago
Rich Felker 10d0268ccf switch to using trap number 31 for syscalls on sh 11 years ago
Rich Felker 2de85a9856 fix possible isatty false positives and unwanted device state changes 11 years ago
Rich Felker 6bea5dc698 map interruption of close by signal to success rather than EINPROGRESS 11 years ago
Rich Felker 4e8a356165 overhaul aio implementation for correctness 11 years ago
Trutz Behn 0b21a07c78 make fsync, fdatasync, and msync cancellation points 11 years ago
Rich Felker 472e8b71f7 for multithreaded set*id/setrlimit, handle case where callback does not run 11 years ago
Rich Felker 84b5c5479e remove rlimit hacks from multi-threaded set*id() code 12 years ago
Rich Felker 9772eadba8 simplify ctermid 12 years ago
Rich Felker dd5f50da6f support linux kernel apis (new archs) with old syscalls removed 12 years ago
Rich Felker aacd348637 rename superh port to "sh" for consistency 12 years ago
Bobby Bingham 3a3c813e08 superh port 13 years ago
Rich Felker 65ea604c74 fix failure of fchmod, fstat, fchdir, and fchown to produce EBADF 13 years ago
Szabolcs Nagy 571744447c include cleanups: remove unused headers and add feature test macros 13 years ago
Rich Felker 8708e137d6 add posix_close, accepted for inclusion in the next issue of POSIX 13 years ago
Rich Felker f9fb20b42d simplify faccessat AT_EACCESS path and eliminate resource dependence 13 years ago
Rich Felker 984af5c99e fix faccessat AT_EACCESS path not to leave zombie processes 13 years ago
Rich Felker d5bd7dd5d2 in faccessat slow path, add close-on-exec to pipe fds 13 years ago
Rich Felker 516358561e fix uid/gid-setting error in faccessat with AT_EACCESS flag 13 years ago
Rich Felker 4fb7df12f5 fix errno value for getcwd when size argument is zero 13 years ago
Rich Felker 316d6741b6 fix missing return value warning in faccessat, minor cleanup 13 years ago
Rich Felker 9848e64819 block all signals, even implementation-internal ones, in faccessat child 13 years ago
Rich Felker 0a05eace16 fix faccessat to support AT_EACCESS flag 13 years ago
Rich Felker 9ca1f62b0c make fchdir, fchmod, fchown, and fstat support O_PATH file descriptors 13 years ago
Rich Felker c8c0844f7f debloat code that depends on /proc/self/fd/%d with shared function 13 years ago
Rich Felker b6218764eb fix bogus lazy allocation in ctermid and missing malloc failure check 13 years ago
Rich Felker cdf0f53f8b fix fd leak on races and cancellation in ctermid 13 years ago
Rich Felker ae7399bfd8 in pipe2, use pipe() rather than __syscall(SYS_pipe, ...) for fallback 13 years ago
Rich Felker 89d3df6e54 streamline old-kernel fallback path of pipe2 to use syscalls directly 13 years ago
Rich Felker bcc20d2b94 fix double errno-decoding in the old-kernel fallback path of pipe2 14 years ago
Rich Felker 892cafff66 greatly improve freopen behavior 14 years ago
Rich Felker 44eb4d8b9b overhaul system() and popen() to use vfork; fix various related bugs 14 years ago