Commit graph

17099 commits

Author SHA1 Message Date
Samuel Thibault e87e2f48ef Hurd: Fix possibly uninitialized variable in _hurd_locked_install_cttyid. 2009-12-22 11:51:44 -08:00
Samuel Thibault e70ffcb0fa Hurd: Fix spurious mach_port_deallocate in getcwd. 2009-12-22 11:47:13 -08:00
Thomas Schwinge d34bd80fce Fix s390 startup code in libpthread. 2009-12-22 08:37:33 -08:00
Martin Schwidefsky caf512dec2 Implement handling of the needed S390 relocations. 2009-12-22 08:34:07 -08:00
Ulrich Drepper 4286fa41ed Handle AT_FDCWD in futimens. 2009-12-21 14:08:05 -08:00
Ulrich Drepper f01c2359eb Small optimization of pthread_rwlock_init. 2009-12-17 13:49:36 -08:00
Ulrich Drepper f282f6b90a Update poll.h header for POSIX 2008. 2009-12-15 13:05:14 -08:00
Ulrich Drepper 2af6396817 Avoid ELF lookup race.
On some architectures the update of the l_used field in the lookup
functions races with setting the other bits in the bitfield.  Simply
avoid this and optimize use of l_used in general.
2009-12-15 12:32:27 -08:00
H.J. Lu 2510d01ddb Define bit_SSE2 and index_SSE2. 2009-12-13 15:23:02 -08:00
Ulrich Drepper 23b8575625 More whitespace fixes. 2009-12-13 11:52:28 -08:00
Ulrich Drepper 5a9e37df22 Fix whitespaces. 2009-12-13 11:51:54 -08:00
Dinakar Guniguntala 75956694f3 Add Requeue-PI support for x86 arch. 2009-12-13 11:50:16 -08:00
H.J. Lu 51ddd2c01e Define bit_XXX and index_XXX.
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-13 09:47:02 -08:00
Kaz Kojima 9b2f1d4b58 Update sysdeps/sh/elf/initfini.c. 2009-12-13 09:43:51 -08:00
Mike Frysinger ca1ccae525 Provide a __set_fpscr prototype. 2009-12-13 09:42:52 -08:00
Ulrich Drepper 9554ebf2d4 Invalid timeouts in i386 sem_timedwait.
We adjusted nwaiters even though this isn't necessary.
2009-12-12 11:06:23 -08:00
Ulrich Drepper 2de59be022 Redefine O_SYNC and O_DSYNC to match 2.6.33+ kernels. 2009-12-11 23:00:49 -08:00
Ulrich Drepper a682a1bf55 Fix a few error cases in *name4_r lookup handling. 2009-12-10 15:44:26 -08:00
Ulrich Drepper 633bbc1d91 Fix kernel version check in recent ptsname change. 2009-12-09 08:34:48 -08:00
Bruno Haible 4940d71bef Add more warnings to exec functions. 2009-12-09 08:30:38 -08:00
Ulrich Drepper ee1a7fabb4 Add recvmmsg interface. 2009-12-08 20:10:46 -08:00
Andreas Krebbel 406300d20a Add even more cfi to s390 asm files. 2009-12-07 17:27:45 -08:00
Ulrich Drepper 941a0d9970 Ignore *.rej and *.orig files in git operations. 2009-12-07 17:00:43 -08:00
Andreas Schwab 555e4d2a82 Remove build related ignore patterns 2009-12-02 14:31:54 +01:00
Ulrich Drepper 02a52de084 Define SCHED_IDLE and SCHED_RESET_ON_FORK for Linux. 2009-11-30 08:24:59 -08:00
Thomas Schwinge ebb92a491f SH calling __gmon_start__ from pt-initfini.c. 2009-11-30 06:24:22 -08:00
Andreas Schwab b55ec98c64 Fix infloop in __pthread_disable_asynccancel on x86_64 2009-11-27 21:37:30 -08:00
Ulrich Drepper e2c59de609 Avoid handling long-obsolete old BSD PTY handling in ptsname.
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-26 08:47:56 -08:00
Ulrich Drepper c53f6228f1 Fix comments in random_r.c. 2009-11-24 20:22:44 -08:00
Ulrich Drepper aa9890239a Optimize grantpt.
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-24 18:50:32 -08:00
Ulrich Drepper 0f622686af Avoid local PLTs. 2009-11-24 18:47:26 -08:00
Ulrich Drepper 139ee080b6 Prevent unintended file desriptor leak in grantpt.
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-24 18:24:14 -08:00
Ulrich Drepper fa214705b9 Once again forgot to add new test file. 2009-11-24 18:22:30 -08:00
Ulrich Drepper 21f2c22320 Don't get tty group info multiple times in grantpt.
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-24 17:50:27 -08:00
Ulrich Drepper 80b3a4ea1c New NPTL POSIX semaphore test. 2009-11-24 16:37:29 -08:00
Ulrich Drepper 1c3c269b55 Fix startup to security-relevant statically linked binaries.
Before the change they crash on startup.  Perform IREL relocations
earlier to prevent this.
2009-11-24 11:17:06 -08:00
Ulrich Drepper ee5a5ba672 Define week, first_weekday, and first_workday for hsb_DE locale. 2009-11-24 10:00:28 -08:00
Ulrich Drepper 49c7f27194 Define week, first_weekday, and first_workday for en_DK locale. 2009-11-23 16:16:26 -08:00
Andreas Schwab e3611aefb4 Use struct timespec for timestamps in struct stat also if __USE_XOPEN2K8.
POSIX.1-2008 made stat.st_[acm]tim mandatory.
2009-11-23 07:10:27 -08:00
Ulrich Drepper 351fe94770 Try harder to re-exec nscd in paranoia mode. 2009-11-22 19:07:52 -08:00
Roland McGrath 57a299fe47 Use #include instead of duplication for i386 vs i686 dl-sysdep.h in NPTL. 2009-11-22 17:49:21 -08:00
Ulrich Drepper 6503cfe2de Fix week information for nl_NL locale. 2009-11-22 16:54:45 -08:00
Ulrich Drepper c5a8b997e2 Reinitialize _create_xid state after fork.
Programs forking and using RPC in the forks would use the same XIDs.
2009-11-22 11:43:57 -08:00
Ulrich Drepper eb4157390c Update ntp_gettime for Linux.
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-22 11:07:04 -08:00
Ulrich Drepper 89b432d7a5 Fix up <sys/timex.h> a bit more for recent API changes. 2009-11-22 10:23:12 -08:00
H.J. Lu 6622141795 Properly recover from shorter read. 2009-11-20 08:30:20 -08:00
Ulrich Drepper df1934daa7 Fix getwc* and putwc* on non-wide streams. 2009-11-19 10:29:16 -08:00
Ulrich Drepper 03ebadd9ea Avoid warnings in CPU_* macros when using const bitsets. 2009-11-19 10:03:46 -08:00
Ulrich Drepper c6e7f16c53 Follow kernel F_OWNER_{GID -> PGRP} change.
But maintain compatiblity for 2.11.
2009-11-19 06:38:31 -08:00
Ulrich Drepper dfedb126d6 Minor optimizations and cleanups of x86 cond_broadcast. 2009-11-18 06:40:25 -08:00