aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2010-01-15/390: Add runtime check for the highgprs kernel feature.Andreas Krebbel
2010-01-15ld.so: Adjust the auxv if ld.so is directly invoked.Andreas Krebbel
If a binary gets invoked by passing it as argument to ld.so the stack still holds the auxiliary vector of ld.so when entering the _start routine of the executable. So the invocation via ld.so is not fully transparent to the executable. This causes problems if the executable wants to scan the auxv itself.
2010-01-14Define IPTOS_CLASS_* macros according to RFC 2474.Philip Prindeville
2010-01-14Prevent silent errors should x86-64 strncmp be needed outside libc.Ulrich Drepper
2010-01-13Unroll the loop x86-64 SSE4.2 strlen.H.J. Lu
2010-01-12Fix whitespace problems.Ulrich Drepper
2010-01-12Optimize 32bit memset/memcpy with SSE2/SSSE3.H.J. Lu
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-22Hurd: Fix spurious mach_port_deallocate in getcwd.Samuel Thibault
2009-12-22Implement handling of the needed S390 relocations.Martin Schwidefsky
2009-12-21Handle AT_FDCWD in futimens.Ulrich Drepper
2009-12-15Update poll.h header for POSIX 2008.Ulrich Drepper
2009-12-13Define bit_SSE2 and index_SSE2.H.J. Lu
2009-12-13Define bit_XXX and index_XXX.H.J. Lu
This patch defines bit_XXX and index_XXX and use them to check processor feature in assembly code. It can prevent typos in processor feature check.
2009-12-13Update sysdeps/sh/elf/initfini.c.Kaz Kojima
2009-12-13Provide a __set_fpscr prototype.Mike Frysinger
2009-12-11Redefine O_SYNC and O_DSYNC to match 2.6.33+ kernels.Ulrich Drepper
2009-12-10Fix a few error cases in *name4_r lookup handling.Ulrich Drepper
2009-12-09Fix kernel version check in recent ptsname change.Ulrich Drepper
2009-12-08Add recvmmsg interface.Ulrich Drepper
2009-12-07Add even more cfi to s390 asm files.Andreas Krebbel
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.
2009-11-22Fix up <sys/timex.h> a bit more for recent API changes.Ulrich Drepper
2009-11-20Properly recover from shorter read.H.J. Lu
2009-11-19Avoid warnings in CPU_* macros when using const bitsets.Ulrich Drepper
2009-11-19Follow kernel F_OWNER_{GID -> PGRP} change.Ulrich Drepper
But maintain compatiblity for 2.11.
2009-11-17Change misleading names of parameters of sync_file_range.Ulrich Drepper
2009-11-17Fix sync_file_range on ppc/ppc64.Jakub Jelinek
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.
2009-11-17Add missing Linux MADV_* definitions.Ulrich Drepper
2009-11-14Use a simple loop on data shorter than software pipeline.H.J. Lu
When data is shorter than software pipeline, recovery may fail. This patch avoids it by using a simple loop on data shorter than software pipeline.
2009-11-14Fix building on x86 with older kernel headers.Mike Frsyinger
Fix building on x86 when older linux headers lack __NR_fallocate define.
2009-11-14Add support for new Linux error ERFKILL.Ulrich Drepper
2009-11-14Fix F_SETOWN_EX and F_GETOWN_EX definitions.Ulrich Drepper
2009-11-06Fix spelling of (Newton-)RaphsonPhilippe De Muyter
2009-11-06Correct readahead syscall wrapper on powerpc32.Andreas Schwab
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.
2009-11-06Fix R_PPC64_{JMP_IREL,IRELATIVE} handling in dl-conflict.c.Jakub Jelinek
I've just committed STT_GNU_IFUNC ppc/ppc64 support into prelink, and this patch is needed on the glibc side. Without it ld.so segfaults, as in dl-conflict.c sym_map is always NULL. While dl-machine.h could use RESOLVE_CONFLICT_FIND_MAP macro to compute it, it doesn't make sense, because with prelink we know it is already properly relocated (all relative relocations are applied by prelink).
2009-11-06Fix preadv, pwritev and fallocate for -D_FILE_OFFSET_BITS=64.Jakub Jelinek
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.
2009-11-03Make name of libgcc_s library configurableAndreas Schwab
2009-10-30Fix typo in readlinkatAndreas Schwab
2009-10-30Uglify IFUNC tests for PPC.Alan Modra
2009-10-30Implement IFUNC for PPC.Alan Modra