about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
Commit message (Collapse)AuthorAgeFilesLines
* Don't take the address of a void object.Richard Henderson2010-03-261-4/+4
| | | | | | | | GCC 4.5 warns about "extern void _end; &end;". Use char[] instead, as that also doesn't fall foul of a target's .sdata optimizations. Signed-off-by: Richard Henderson <rth@twiddle.net>
* Add support for new clocks.Ulrich Drepper2010-03-253-4/+14
| | | | | Recent Linux kernels added support for the CLOCK_MONOTONIC_RAW, CLOCK_REALTIME_COARSE, and CLOCK_MONOTONIC_COARSE clocks.
* Fix Linux getlogin{_r,} implementationUlrich Drepper2010-03-242-0/+139
| | | | | | | | | The old implementation uses fd 0 to determine the login TTY. This was needed because using /dev/tty it is not possible to deduce the login TTY. For some time now there is the pseudo-file /proc/self/loginuid which directly helps us to find the user. Prefer using this file. It also works if stdin is closed, redirected, or re-opened.
* Allow variable shift values in mmap2.Ulrich Drepper2010-03-241-4/+17
|
* Extended ELF ABI version handling only for Linux.Ulrich Drepper2010-03-161-4/+5
| | | | | If the OSABI is generic we should not allow the ABI version to be nonzero. Move all the new functionality into Linux-specific files.
* Also update Linux-specific VALID_ELF_ABIVERSION definition.Ulrich Drepper2010-03-161-1/+1
|
* Define UMOUNT_NOFOLLOW.Ulrich Drepper2010-03-121-1/+3
|
* Fix one left over from last change to statvfs.Ulrich Drepper2010-03-071-1/+1
|
* Handle ext4 and logfs in statvfs functions.Ulrich Drepper2010-03-062-33/+43
|
* More in.h definitions from the Linux kernel.Ulrich Drepper2010-03-031-9/+21
|
* sparc64: Fix msgrcv()Aurelien Jarno2010-03-031-0/+49
| | | | | | | | | | | msgrcv() does not work on sparc64, as it passes the 6th argument using the ipc kludge, while the kernel waits for a 6 arguments syscall. This patches fixes the problem by using a sparc64 specific version of msgrcv.c. 2010-03-03 Aurelien Jarno <aurelien@aurel32.net> * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: New file.
* sparc: Fix 32-bit makecontext arg passing.David S. Miller2010-02-201-1/+1
| | | | | test-makecontext3 fails because we fill in the argument stack slots past the 5th using the wrong index.
* Cleanup old obsolete PPC_REL16 checksLuis Machado2010-02-125-29/+0
|
* Fix POWER7 ImpliesLuis Machado2010-02-102-0/+2
|
* Whitespace and copyright year fixes.Ulrich Drepper2010-02-063-5/+5
|
* Avoid PLT calls in utmp compat wrappers on Linux/s390Andreas Schwab2010-02-063-15/+27
|
* Add new errlist compat entry for 2.12.Andreas Schwab2010-02-061-0/+4
|
* Update constants for current kernels.Ulrich Drepper2010-02-031-9/+32
|
* Fix ____longjmp_chk for s390/s390x.Andreas Schwab2010-01-202-2/+2
|
* memcpy for ppc/cell.Ulrich Drepper2010-01-182-0/+4
|
* Remove duplicate definitions of O_DSYNC and O_RSYNC for Linux/sparc.Andreas Schwab2010-01-181-8/+0
|
* Fix double-inclusion problem of bits/stat.h.Ulrich Drepper2010-01-116-0/+30
|
* FIx up signal.h for XPG7.Ulrich Drepper2010-01-104-4/+12
|
* Add support for XPG7 testing.Ulrich Drepper2010-01-0913-46/+78
| | | | | The header conformance testing code needed extending for XPG7. This exposed a few bugs in the headers. There are more changes to come.
* 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-241-14/+21
| | | | | | 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-241-0/+42
| | | | | | | | | 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.
* 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.