aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
AgeCommit message (Collapse)Author
2010-04-28BZ #11538: Fix ttyname_r callers not to expect errno was set.Bruno Haible
2010-04-13Fix makecontext on s390/s390xAndreas Schwab
2010-04-08Fix reading loginuid file in getlogin{,_r}.Ulrich Drepper
2010-04-08Fix fallocate error return on i386.Andreas Schwab
2010-04-04Handle POSIX-compliant errno value of unlink in remove.Ulrich Drepper
2010-04-03Handle unnecessary padding in getdents64.Ulrich Drepper
The getdents64 syscall adds on 32-but platforms padding which isn't needed and not included in the userlevel data structure definition. We have to avoid copying those padding bytes in the readdir64_r function.
2010-04-03Fix changes to interface list during getifaddrs calls.Ulrich Drepper
2010-04-03Remove incorrect paring of /proc/stat etc.Ryan S. Arnold
2010-03-31Fix build of mmap64.David S. Miller
2010-03-29Define MSG_WAITFORONE.Ulrich Drepper
2010-03-27Optimize __getpagesize a bit.Ulrich Drepper
2010-03-27Fix comments and indentation.Ulrich Drepper
2010-03-27Define miss_F_GETOWN_EX only if needed.Ulrich Drepper
When doing i686-unknown-linux-gnu build configured with --enable-kernel=2.6.24, there are several warnings like this: ../sysdeps/unix/sysv/linux/i386/fcntl.c:36:12: warning: ‘miss_F_GETOWN_EX’ defined but not used
2010-03-26Don't take the address of a void object.Richard Henderson
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>
2010-03-25Add support for new clocks.Ulrich Drepper
Recent Linux kernels added support for the CLOCK_MONOTONIC_RAW, CLOCK_REALTIME_COARSE, and CLOCK_MONOTONIC_COARSE clocks.
2010-03-24Fix Linux getlogin{_r,} implementationUlrich Drepper
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.
2010-03-24Allow variable shift values in mmap2.Ulrich Drepper
2010-03-16Extended ELF ABI version handling only for Linux.Ulrich Drepper
If the OSABI is generic we should not allow the ABI version to be nonzero. Move all the new functionality into Linux-specific files.
2010-03-16Also update Linux-specific VALID_ELF_ABIVERSION definition.Ulrich Drepper
2010-03-12Define UMOUNT_NOFOLLOW.Ulrich Drepper
2010-03-07Fix one left over from last change to statvfs.Ulrich Drepper
2010-03-06Handle ext4 and logfs in statvfs functions.Ulrich Drepper
2010-03-03More in.h definitions from the Linux kernel.Ulrich Drepper
2010-03-03sparc64: Fix msgrcv()Aurelien Jarno
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.
2010-02-20sparc: Fix 32-bit makecontext arg passing.David S. Miller
test-makecontext3 fails because we fill in the argument stack slots past the 5th using the wrong index.
2010-02-12Cleanup old obsolete PPC_REL16 checksLuis Machado
2010-02-10Fix POWER7 ImpliesLuis Machado
2010-02-06Whitespace and copyright year fixes.Ulrich Drepper
2010-02-06Avoid PLT calls in utmp compat wrappers on Linux/s390Andreas Schwab
2010-02-06Add new errlist compat entry for 2.12.Andreas Schwab
2010-02-03Update constants for current kernels.Ulrich Drepper
2010-01-20Fix ____longjmp_chk for s390/s390x.Andreas Schwab
2010-01-18memcpy for ppc/cell.Ulrich Drepper
2010-01-18Remove duplicate definitions of O_DSYNC and O_RSYNC for Linux/sparc.Andreas Schwab
2010-01-11Fix double-inclusion problem of bits/stat.h.Ulrich Drepper
2010-01-10FIx up signal.h for XPG7.Ulrich Drepper
2010-01-09Add support for XPG7 testing.Ulrich Drepper
The header conformance testing code needed extending for XPG7. This exposed a few bugs in the headers. There are more changes to come.
2009-12-21Handle AT_FDCWD in futimens.Ulrich Drepper
2009-12-15Update poll.h header for POSIX 2008.Ulrich Drepper
2009-12-11Redefine O_SYNC and O_DSYNC to match 2.6.33+ kernels.Ulrich Drepper
2009-12-09Fix kernel version check in recent ptsname change.Ulrich Drepper
2009-12-08Add recvmmsg interface.Ulrich Drepper
2009-11-30Define SCHED_IDLE and SCHED_RESET_ON_FORK for Linux.Ulrich Drepper
2009-11-26Avoid handling long-obsolete old BSD PTY handling in ptsname.Ulrich Drepper
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.
2009-11-24Optimize grantpt.Ulrich Drepper
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.
2009-11-24Avoid local PLTs.Ulrich Drepper
2009-11-24Prevent unintended file desriptor leak in grantpt.Ulrich Drepper
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.
2009-11-24Don't get tty group info multiple times in grantpt.Ulrich Drepper
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.
2009-11-23Use struct timespec for timestamps in struct stat also if __USE_XOPEN2K8.Andreas Schwab
POSIX.1-2008 made stat.st_[acm]tim mandatory.
2009-11-22Update ntp_gettime for Linux.Ulrich Drepper
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.