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