This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

linuxthreads/linuxthreads ChangeLog Makefile d ...


CVSROOT:	/cvs/glibc
Module name:	linuxthreads
Changes by:	drow@sources.redhat.com	2006-04-26 15:04:14

Modified files:
	linuxthreads   : ChangeLog Makefile descr.h manager.c pthread.c 
	linuxthreads/sysdeps/i386: tcb-offsets.sym tls.h 
	linuxthreads/sysdeps/ia64: tcb-offsets.sym tls.h 
	linuxthreads/sysdeps/powerpc: tcb-offsets.sym tls.h 
	linuxthreads/sysdeps/s390: tcb-offsets.sym tls.h 
	linuxthreads/sysdeps/sh: tcb-offsets.sym tls.h 
	linuxthreads/sysdeps/sparc: tcb-offsets.sym tls.h 
	linuxthreads/sysdeps/x86_64: tcb-offsets.sym tls.h 
Added files:
	linuxthreads   : tst-stackguard1-static.c tst-stackguard1.c 

Log message:
	Import pointer and stack guard changes from NPTL.
	* descr.h (struct _pthread_descr_struct): Include sysinfo
	unconditionally.  Add stack_guard and pointer_guard.
	(PTHREAD_STRUCT_END_PADDING): Define.
	* manager.c (pthread_handle_create): Copy the pointer and
	stack guards.
	* pthread.c (__pthread_initialize_manager): Likewise.
	
	* sysdeps/i386/tcb-offsets.sym: Add POINTER_GUARD.
	* sysdeps/i386/tls.h (tcbhead_t): Add stack_guard and pointer_guard.
	(THREAD_SET_STACK_GUARD, THREAD_COPY_STACK_GUARD,
	THREAD_SET_POINTER_GUARD, THREAD_COPY_POINTER_GUARD): Define.
	* sysdeps/ia64/tls.h (TLS_PRE_TCB_SIZE): If PTHREAD_STRUCT_END_PADDING
	is smaller than 16 bytes, increase TLS_PRE_TCB_SIZE by 16 bytes.
	(THREAD_SYSINFO, THREAD_SELF): Don't assume TLS_PRE_TCB_SIZE is
	sizeof (struct _pthread_descr_struct).
	(THREAD_SET_STACK_GUARD, THREAD_COPY_STACK_GUARD,
	THREAD_GET_POINTER_GUARD, THREAD_SET_POINTER_GUARD,
	THREAD_COPY_POINTER_GUARD): Define.
	* sysdeps/ia64/tcb-offsets.sym (MULTIPLE_THREADS_OFFSET):
	Use TLS_PRE_TCB_SIZE instead of sizeof (struct pthread).
	* sysdeps/powerpc/tcb-offsets.sym (POINTER_GUARD): Add.
	* sysdeps/powerpc/tls.h (tcbhead_t): Add stack_guard and
	pointer_guard.
	(THREAD_SET_STACK_GUARD, THREAD_COPY_STACK_GUARD,
	THREAD_GET_POINTER_GUARD, THREAD_SET_POINTER_GUARD,
	THREAD_COPY_POINTER_GUARD): Define.
	* sysdeps/s390/tcb-offsets.sym (STACK_GUARD): Add.
	* sysdeps/s390/tls.h (tcbhead_t): Add stack_guard
	field.  Put in sysinfo field unconditionally.
	(THREAD_SET_STACK_GUARD, THREAD_COPY_STACK_GUARD,
	THREAD_GET_POINTER_GUARD, THREAD_SET_POINTER_GUARD,
	THREAD_COPY_POINTER_GUARD): Define.
	* sysdeps/sh/tcb-offsets.sym: Add POINTER_GUARD.
	* sysdeps/sh/tls.h (tcbhead_t): Remove private and add pointer_guard.
	(THREAD_GET_POINTER_GUARD, THREAD_SET_POINTER_GUARD,
	THREAD_COPY_POINTER_GUARD): Define.
	* sysdeps/sparc/tls.h (tcbhead_t): Add sysinfo, stack_guard,
	and pointer_guard fields.
	(THREAD_SET_STACK_GUARD, THREAD_COPY_STACK_GUARD,
	THREAD_GET_POINTER_GUARD, THREAD_SET_POINTER_GUARD,
	THREAD_COPY_POINTER_GUARD): Define.
	* sysdeps/sparc/tcb-offsets.sym (POINTER_GUARD): Define.
	* sysdeps/x86_64/tcb-offsets.sym (POINTER_GUARD): New.
	* sysdeps/x86_64/tls.h: Include <stdint.h>.
	(tcbhead_t): Add sysinfo, stack_guard, and pointer_guard.
	(THREAD_SET_STACK_GUARD, THREAD_COPY_STACK_GUARD,
	THREAD_SET_POINTER_GUARD, THREAD_COPY_POINTER_GUARD): New.
	* Makefile: Add rules to build and run tst-stackguard1{,-static}
	tests.
	* tst-stackguard1.c: New file.
	* tst-stackguard1-static.c: New file.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/tst-stackguard1-static.c.diff?cvsroot=glibc&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/tst-stackguard1.c.diff?cvsroot=glibc&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/ChangeLog.diff?cvsroot=glibc&r1=1.867&r2=1.868
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/Makefile.diff?cvsroot=glibc&r1=1.100&r2=1.101
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/descr.h.diff?cvsroot=glibc&r1=1.16&r2=1.17
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/manager.c.diff?cvsroot=glibc&r1=1.98&r2=1.99
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/pthread.c.diff?cvsroot=glibc&r1=1.136&r2=1.137
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/sysdeps/i386/tcb-offsets.sym.diff?cvsroot=glibc&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/sysdeps/i386/tls.h.diff?cvsroot=glibc&r1=1.38&r2=1.39
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/sysdeps/ia64/tcb-offsets.sym.diff?cvsroot=glibc&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/sysdeps/ia64/tls.h.diff?cvsroot=glibc&r1=1.10&r2=1.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/sysdeps/powerpc/tcb-offsets.sym.diff?cvsroot=glibc&r1=1.8&r2=1.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/sysdeps/powerpc/tls.h.diff?cvsroot=glibc&r1=1.9&r2=1.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/sysdeps/s390/tcb-offsets.sym.diff?cvsroot=glibc&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/sysdeps/s390/tls.h.diff?cvsroot=glibc&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/sysdeps/sh/tcb-offsets.sym.diff?cvsroot=glibc&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/sysdeps/sh/tls.h.diff?cvsroot=glibc&r1=1.11&r2=1.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/sysdeps/sparc/tcb-offsets.sym.diff?cvsroot=glibc&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/sysdeps/sparc/tls.h.diff?cvsroot=glibc&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/sysdeps/x86_64/tcb-offsets.sym.diff?cvsroot=glibc&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/linuxthreads/linuxthreads/sysdeps/x86_64/tls.h.diff?cvsroot=glibc&r1=1.7&r2=1.8


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]