about summary refs log tree commit diff
path: root/sysdeps/unix
Commit message (Collapse)AuthorAgeFilesLines
* Handle AT_FDCWD in futimens.Ulrich Drepper2009-12-211-0/+5
|
* Update poll.h header for POSIX 2008.Ulrich Drepper2009-12-152-4/+4
|
* Redefine O_SYNC and O_DSYNC to match 2.6.33+ kernels.Ulrich Drepper2009-12-117-21/+21
|
* Fix kernel version check in recent ptsname change.Ulrich Drepper2009-12-091-1/+1
|
* Add recvmmsg interface.Ulrich Drepper2009-12-083-2/+28
|
* Define SCHED_IDLE and SCHED_RESET_ON_FORK for Linux.Ulrich Drepper2009-11-301-4/+7
|
* Avoid handling long-obsolete old BSD PTY handling in ptsname.Ulrich Drepper2009-11-261-0/+2
| | | | | Support for this type of PTY was removed in the 2.1.115 kernel. Just use __LINUX_KERNEL_VERSION to determine when we can drop the compat code.
* Optimize grantpt.Ulrich Drepper2009-11-242-21/+25
| | | | | | grantpt was performing two consecutive calls to stat with the same file name. Avoid this by creating a special version of the ptsname function which allows to pass the stat result back to the caller.
* Avoid local PLTs.Ulrich Drepper2009-11-241-3/+3
|
* Prevent unintended file desriptor leak in grantpt.Ulrich Drepper2009-11-242-0/+46
| | | | | | | | | The pt_chown program is completely transparently called. It might not be able to live with the various file descriptors the program has open at the time of the call (e.g., under SELinux). Close all but the needed descriptor and connect stdin, stdout, and stderr with /dev/null. pt_chown shouldn't print anything when called to do real work.
* Don't get tty group info multiple times in grantpt.Ulrich Drepper2009-11-241-21/+25
| | | | | | This is a minor optimization. The tty group mustn't change so a successful call to getgrnam will always return the same information. Cache it and reuse it.
* Use struct timespec for timestamps in struct stat also if __USE_XOPEN2K8.Andreas Schwab2009-11-235-72/+72
| | | | POSIX.1-2008 made stat.st_[acm]tim mandatory.
* Update ntp_gettime for Linux.Ulrich Drepper2009-11-225-7/+72
| | | | | | | | | | | The ntp_gettime implementation of NTP exports the tai field the kernel now produces. This requires an ABI change since the ntptimeval structure changed. Upstream kept the same name, there is nothing to do. This patch changes the ntptimeval structure but keeps the old ntp_gettime definition. A new ntp_gettimex function which is transparently invoked through the old name is introduced. This has the advantage that even object files can remain compatible. This wouldn't be the case if symbol versioning would be used to overload the name ntp_gettime.
* Fix up <sys/timex.h> a bit more for recent API changes.Ulrich Drepper2009-11-221-1/+5
|
* Avoid warnings in CPU_* macros when using const bitsets.Ulrich Drepper2009-11-191-6/+6
|
* Follow kernel F_OWNER_{GID -> PGRP} change.Ulrich Drepper2009-11-197-21/+28
| | | | But maintain compatiblity for 2.11.
* Change misleading names of parameters of sync_file_range.Ulrich Drepper2009-11-177-7/+7
|
* Fix sync_file_range on ppc/ppc64.Jakub Jelinek2009-11-172-1/+53
| | | | | | | I've noticed that sync_file_range is a stub on ppc/ppc64. The kernel on these arches provides sync_file_range2 syscall with swapped parameters. The following completely untested patch ought to fix this.
* Add missing Linux MADV_* definitions.Ulrich Drepper2009-11-177-64/+89
|
* Fix building on x86 with older kernel headers.Mike Frsyinger2009-11-142-0/+12
| | | | Fix building on x86 when older linux headers lack __NR_fallocate define.
* Add support for new Linux error ERFKILL.Ulrich Drepper2009-11-143-2/+14
|
* Fix F_SETOWN_EX and F_GETOWN_EX definitions.Ulrich Drepper2009-11-147-20/+20
|
* Correct readahead syscall wrapper on powerpc32.Andreas Schwab2009-11-061-0/+3
| | | | | | Due to alignment of 64bit parameters there is a dummy second argument. But other than that the syscall arguments are directly mapped to the function arguments.
* Fix preadv, pwritev and fallocate for -D_FILE_OFFSET_BITS=64.Jakub Jelinek2009-11-067-14/+14
| | | | | | | | As reported in http://bugzilla.redhat.com/533063 , preadv/pwritev prototypes are wrong on 32-bit arches with -D_FILE_OFFSET_BITS=64 and as I've just found, fallocate is wrong too. The problem is that only off_t is remapped to the 64-bit type transparently, __off_t is not.
* Fix typo in readlinkatAndreas Schwab2009-10-301-1/+1
|
* Fix IA-64 and S390 sigevent definitions.Ulrich Drepper2009-10-292-4/+12
|
* Fix compat handling in *at functions.Ulrich Drepper2009-10-2918-18/+132
| | | | | When passed an empty string for the filename, the compat code using /proc in all *at functions did the wrong thing.
* Fix errno handling in posix_openpt.Andreas Schwab2009-10-291-2/+5
| | | | | | The implementation of posix_openpt on Linux can fail in a few extra ways if the appropriate pseudo filesystems are not mounted etc. In some of these cases we have to explicitly set errno.
* Fix getttyname on Linux when called for different devices.Ulrich Drepper2009-10-291-1/+6
| | | | | | If a second call to ttyname is not for the same type of device (e.g., serial vs ptty) the prefix of the buffer was wrong. Don't rely on the previous content, always reinitialize it.
* Fix F_GETOWN on some Linux archs.Ulrich Drepper2009-10-293-5/+71
| | | | | | The syscall conventions on some Linux archs prevented F_GETOWN from working correctly in some situations. This can be rectified when using the new F_GETOWN_EX command.
* Define F_OWNER_* and f_owner_ex for Linux targets.Ulrich Drepper2009-10-297-7/+126
|
* Add ____longjmp_chk for sparcDavid S. Miller2009-10-142-0/+184
| | | | | | | | | | | tst-longjmp_chk passes, tst-longjmp_chk2 fails but that is because of some limitations of kernel signal delivery on sparc that I need to fix, it has nothing to do with the longjmp_chk implementation. (The problem with tst-longjmp_chk2 is that it tries to do a stack fault SIGSEGV within a stack fault SIGSEGV , and the Linux kernel will refuse to setup the signal stack and deliver the signal if the register windows can't be written out to the stack first)
* Define F_SETOWN_EX and F_GETOWN_EX in Linux headers.Ulrich Drepper2009-10-017-14/+28
|
* configure tweaks, support $libc_add_on_config_subdirsRoland McGrath2009-09-152-141/+107
|
* Fix __longjmp_chk on s390/s390x.Jakub Jelinek2009-09-082-0/+110
| | | | s390/s390x hasn't been updated to handle alternate stacks properly.
* Add sysdeps/unix/syscall-template.S; build syscall stubs with deps and -g ↵Roland McGrath2009-08-243-24/+115
| | | | pointing to it.
* Add sigstack handling to Linux ____longjmp_chk on powerpc.Andreas Schwab2009-08-222-0/+154
|
* Remove leftover code from Linux/x86 ____longjmp_chk.Ulrich Drepper2009-08-021-6/+0
|
* Remove last trace of bounded pointer handling from ____longjmp_chk on x86-64.Ulrich Drepper2009-08-011-1/+1
|
* Optimize x86 and x86-64 ____longjmp_chk for Linux.Ulrich Drepper2009-07-312-117/+50
|
* Fix ____longjmp_chk on x86-64.Ulrich Drepper2009-07-311-2/+2
| | | | | After a recent change to fix CFI in ____longjmp_chk the test of the ss_flags used the wrong memory location.
* Support multiarch for i686.H.J. Lu2009-07-311-0/+1
| | | | | | This patch adds multiarch support when configured for i686. I modified some x86-64 functions to support 32bit. I will contribute 32bit SSE string and memory functions later.
* Whitespace cleanup.Ulrich Drepper2009-07-301-2/+2
|
* Add sigstack handling to Linux ____longjmp_chk on i386.Ulrich Drepper2009-07-301-0/+143
| | | | All other i386 ports need to provide their own versions.
* ____longjmp_chk is now OS-specific.Ulrich Drepper2009-07-301-0/+145
| | | | | | | We use sigaltstack internally which on some systems is a syscall and should be used as such. Move the x86-64 version to the Linux specific directory and create in its place a file which always causes compile errors.
* Compatibility of signalfd/eventfd with older kernels.Ulrich Drepper2009-07-263-6/+26
|
* Don't automatically use /lib/modules/* headers.Ulrich Drepper2009-07-242-24/+0
| | | | | Ever since the /usr/include/linux headers got cleaned up this isn't necessary. Meanwhile everybody should have these cleanups.
* Add more cache descriptors for L3 caches on x86 and x86-64.Ulrich Drepper2009-07-231-0/+3
| | | | | The most recent AP 485 describes a few more cache descriptors for L3 caches with 24-way associativity.
* Preserve stack alignment in i386 makecontext.Ulrich Drepper2009-07-231-6/+4
|
* Fix comment in Linux's <sys/epoll.h>.Ulrich Drepper2009-07-101-2/+2
|