summaryrefslogtreecommitdiff
path: root/src/unistd
AgeCommit message (Expand)AuthorLines
2023-02-28dup3: don't set FD_CLOEXEC on failure on kernels without dup3 syscallRich Felker-1/+2
2023-02-28fix dup3 ignoring all flags but O_CLOEXEC on archs with SYS_dup2 syscallRich Felker-1/+2
2023-02-28fix pipe2 silently ignoring unknown flags on old kernelsRich Felker-0/+1
2022-10-19remove LFS64 symbol aliases; replace with dynamic linker remappingRich Felker-15/+0
2022-03-08nice: return EPERM instead of EACCESAlexey Kodanev-1/+8
2020-11-23work around linux bug in readlink syscall with zero buffer sizeRich Felker-3/+17
2020-10-27refactor setxid return path to use __syscall_retRich Felker-14/+9
2020-10-14move aio implementation details to a proper internal headerRich Felker-0/+1
2020-09-09use new SYS_faccessat2 syscall to implement faccessat with flagsRich Felker-3/+8
2020-08-30clean up overinclusion in files using TIOCGWINSZRich Felker-1/+0
2020-08-24add tcgetwinsize and tcsetwinsize functions, move struct winsizeRich Felker-0/+1
2019-08-05use setitimer function rather than syscall to implement alarmRich Felker-3/+3
2019-07-16fix broken lseek on x32 (x86_64/ILP32) with offsets larger than LONG_MAXRich Felker-0/+15
2019-07-16fix broken lseek on mipsn32 with offsets larger than LONG_MAXRich Felker-0/+20
2019-07-16use namespace-safe __lseek for __stdio_seek instead of direct syscallRich Felker-2/+3
2019-07-10fix restrict violations in internal use of several functionsSamuel Holland-3/+3
2019-03-21support archs with no renameat syscall, only renameat2Drew DeVault-0/+4
2018-09-15improve error handling of ttyname_r and isattyBenjamin Peterson-2/+6
2018-09-12remove spurious inclusion of libc.h for LFS64 ABI aliasesRich Felker-14/+7
2018-09-12reduce spurious inclusion of libc.hRich Felker-9/+0
2018-09-12move and deduplicate declarations of __procfdname to make it checkableRich Felker-6/+1
2018-05-01avoid excessive stack usage in getcwdRich Felker-2/+2
2018-04-19fix out of bounds write for zero length buffer in gethostnameMarc André Tanner-1/+1
2018-04-17fix return value of nice functionRich Felker-5/+9
2018-02-07make getcwd fail if it cannot obtain an absolute pathDmitry V. Levin-1/+7
2018-02-05revert regression in faccessat AT_EACCESS robustnessRich Felker-21/+14
2017-05-27fix fchown fallback on arches without chown(2)Samuel Holland-1/+1
2017-04-21make ttyname[_r] return ENODEV rather than ENOENTRich Felker-1/+1
2016-08-30verify that ttyname refers to the same file as the fdSzabolcs Nagy-4/+11
2016-08-11fix pread/pwrite syscall calling convention on shRich Felker-2/+2
2016-04-18add mips n32 port (ILP32 ABI for mips64)Rich Felker-0/+19
2016-03-06add mips64 portRich Felker-0/+19
2015-06-16switch to using trap number 31 for syscalls on shRich Felker-1/+1
2015-02-23fix possible isatty false positives and unwanted device state changesRich Felker-3/+4
2015-02-20map interruption of close by signal to success rather than EINPROGRESSRich Felker-1/+1
2015-02-13overhaul aio implementation for correctnessRich Felker-0/+8
2015-01-30make fsync, fdatasync, and msync cancellation pointsTrutz Behn-2/+2
2015-01-15for multithreaded set*id/setrlimit, handle case where callback does not runRich Felker-1/+1
2015-01-12remove rlimit hacks from multi-threaded set*id() codeRich Felker-23/+15
2015-01-12simplify ctermidRich Felker-14/+2
2014-05-29support linux kernel apis (new archs) with old syscalls removedRich Felker-1/+69
2014-02-27rename superh port to "sh" for consistencyRich Felker-0/+0
2014-02-23superh portBobby Bingham-0/+27
2013-12-19fix failure of fchmod, fstat, fchdir, and fchown to produce EBADFRich Felker-2/+6
2013-12-12include cleanups: remove unused headers and add feature test macrosSzabolcs Nagy-6/+1
2013-12-06add posix_close, accepted for inclusion in the next issue of POSIXRich Felker-0/+6
2013-11-01simplify faccessat AT_EACCESS path and eliminate resource dependenceRich Felker-14/+21
2013-11-01fix faccessat AT_EACCESS path not to leave zombie processesRich Felker-2/+6
2013-10-18in faccessat slow path, add close-on-exec to pipe fdsRich Felker-1/+1
2013-10-12fix uid/gid-setting error in faccessat with AT_EACCESS flagRich Felker-2/+2