about summary refs log tree commit diff
path: root/nptl/ChangeLog
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-12-27 07:38:25 +0000
committerUlrich Drepper <drepper@redhat.com>2003-12-27 07:38:25 +0000
commitcb5b9388dad6d0524322d45eafaa7b5d7b00b554 (patch)
treed1c543bdfe5bcaa0fb71816104857a9bcbead484 /nptl/ChangeLog
parentdc8527f6475c8dd3682fd9203e91a01c77443463 (diff)
downloadglibc-cb5b9388dad6d0524322d45eafaa7b5d7b00b554.tar.gz
glibc-cb5b9388dad6d0524322d45eafaa7b5d7b00b554.tar.xz
glibc-cb5b9388dad6d0524322d45eafaa7b5d7b00b554.zip
Update.
2003-12-23  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/raise.c (raise): Protect pid = selftid
	setting with __ASSUME_TGKILL || defined __NR_tgkill.
	If pid is 0, set it to selftid.
	* sysdeps/unix/sysv/linux/getpid.c (really_getpid): Make inline.
	Don't set self->pid but self->tid.  If self->pid == 0 and self->tid
	!= 0, return self->tid without doing a syscall.
	* descr.h (struct pthread): Move pid field after tid.

	* Makefile (tests): Add tst-raise1.
	* tst-raise1.c: New file.
Diffstat (limited to 'nptl/ChangeLog')
-rw-r--r--nptl/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index e0e2beeb92..1fda8e4178 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,16 @@
+2003-12-23  Jakub Jelinek  <jakub@redhat.com>
+
+	* sysdeps/unix/sysv/linux/raise.c (raise): Protect pid = selftid
+	setting with __ASSUME_TGKILL || defined __NR_tgkill.
+	If pid is 0, set it to selftid.
+	* sysdeps/unix/sysv/linux/getpid.c (really_getpid): Make inline.
+	Don't set self->pid but self->tid.  If self->pid == 0 and self->tid
+	!= 0, return self->tid without doing a syscall.
+	* descr.h (struct pthread): Move pid field after tid.
+
+	* Makefile (tests): Add tst-raise1.
+	* tst-raise1.c: New file.
+
 2003-12-23  Roland McGrath  <roland@redhat.com>
 
 	* tst-oddstacklimit.c: New file.