kopensolaris-gnu/glibc.git
11 years agoImplement pthread_getattr_np
David Bartley [Sat, 23 Aug 2008 09:55:51 +0000 (09:55 +0000)]
Implement pthread_getattr_np

11 years agoDon't test SIGSETXID if not defined
David Bartley [Sat, 23 Aug 2008 06:33:21 +0000 (06:33 +0000)]
Don't test SIGSETXID if not defined

11 years agoFormatting fix in sys/syscall.h
David Bartley [Sat, 23 Aug 2008 02:53:03 +0000 (02:53 +0000)]
Formatting fix in sys/syscall.h

11 years agoRemove debug prints from sched_priv.c
David Bartley [Sat, 23 Aug 2008 02:52:33 +0000 (02:52 +0000)]
Remove debug prints from sched_priv.c

11 years agoInclude lockkind in rwlock initialization
David Bartley [Sat, 23 Aug 2008 02:12:57 +0000 (02:12 +0000)]
Include lockkind in rwlock initialization

11 years agoFix barrier initialization
David Bartley [Sat, 23 Aug 2008 02:12:05 +0000 (02:12 +0000)]
Fix barrier initialization

11 years agoUpdate NOTES.opensolaris to include new mutex_owner and mutex_cond_waiters
David Bartley [Fri, 22 Aug 2008 10:51:19 +0000 (10:51 +0000)]
Update NOTES.opensolaris to include new mutex_owner and mutex_cond_waiters

11 years agoUse lwpid instead of THREAD_SELF for mutex_owner
David Bartley [Fri, 22 Aug 2008 10:46:23 +0000 (10:46 +0000)]
Use lwpid instead of THREAD_SELF for mutex_owner

11 years agoImplement getustack and setustack
David Bartley [Fri, 22 Aug 2008 10:45:28 +0000 (10:45 +0000)]
Implement getustack and setustack

11 years agoCall __pthread_getschedparam_internal instead of __pthread_getschedparam
David Bartley [Fri, 22 Aug 2008 09:05:13 +0000 (09:05 +0000)]
Call __pthread_getschedparam_internal instead of __pthread_getschedparam

11 years agoFix handling of EINTR
David Bartley [Fri, 22 Aug 2008 09:04:40 +0000 (09:04 +0000)]
Fix handling of EINTR

11 years agopthread_self should return 1 on opensolaris for the first thread
David Bartley [Fri, 22 Aug 2008 09:04:14 +0000 (09:04 +0000)]
pthread_self should return 1 on opensolaris for the first thread

11 years agoPass sched_priority rather than full sched_param
David Bartley [Fri, 22 Aug 2008 09:03:47 +0000 (09:03 +0000)]
Pass sched_priority rather than full sched_param

11 years agoDon't call the priocntlsys syscall directly
David Bartley [Fri, 22 Aug 2008 09:01:46 +0000 (09:01 +0000)]
Don't call the priocntlsys syscall directly

11 years agoInstall sys/bufmod.h and sys/types32.h
David Bartley [Fri, 22 Aug 2008 02:33:55 +0000 (02:33 +0000)]
Install sys/bufmod.h and sys/types32.h

11 years agostropts.h defines t_uscalar_t so we can't define it in bits/types.h
David Bartley [Fri, 22 Aug 2008 02:33:24 +0000 (02:33 +0000)]
stropts.h defines t_uscalar_t so we can't define it in bits/types.h

11 years agoSome tests need sys/time.h
David Bartley [Fri, 22 Aug 2008 02:32:57 +0000 (02:32 +0000)]
Some tests need sys/time.h

11 years agocond_timedwait and cond_wait should return EINTR
David Bartley [Fri, 22 Aug 2008 02:32:19 +0000 (02:32 +0000)]
cond_timedwait and cond_wait should return EINTR

11 years agoAdd sys/bufmod.h (used by things like libpcap)
David Bartley [Fri, 22 Aug 2008 02:31:11 +0000 (02:31 +0000)]
Add sys/bufmod.h (used by things like libpcap)

11 years agoRefactor pthread_*sched*
David Bartley [Fri, 22 Aug 2008 02:30:49 +0000 (02:30 +0000)]
Refactor pthread_*sched*

11 years agoFix up some sys/bits headers
David Bartley [Fri, 22 Aug 2008 00:46:12 +0000 (00:46 +0000)]
Fix up some sys/bits headers

11 years agoAdd missing brackets in createthread.c
David Bartley [Thu, 21 Aug 2008 23:32:12 +0000 (23:32 +0000)]
Add missing brackets in createthread.c

11 years agoDon't assume thread will be immediately cancelled by pthread_cancel
David Bartley [Thu, 21 Aug 2008 23:27:52 +0000 (23:27 +0000)]
Don't assume thread will be immediately cancelled by pthread_cancel

11 years agoFix error check mutex handling
David Bartley [Thu, 21 Aug 2008 10:51:57 +0000 (10:51 +0000)]
Fix error check mutex handling

11 years agoClear owner before unlocking (fixes race condition)
David Bartley [Thu, 21 Aug 2008 10:50:16 +0000 (10:50 +0000)]
Clear owner before unlocking (fixes race condition)

11 years agoFix rwlock initializer
David Bartley [Thu, 21 Aug 2008 10:49:26 +0000 (10:49 +0000)]
Fix rwlock initializer

11 years agoFix typo in thr_getconcurrency.c
David Bartley [Thu, 21 Aug 2008 07:24:46 +0000 (07:24 +0000)]
Fix typo in thr_getconcurrency.c

11 years agoImplement pthread_mutex_getprioceiling
David Bartley [Thu, 21 Aug 2008 07:20:56 +0000 (07:20 +0000)]
Implement pthread_mutex_getprioceiling

11 years agoAdd more space for clockid
David Bartley [Thu, 21 Aug 2008 07:20:39 +0000 (07:20 +0000)]
Add more space for clockid

11 years agoImplement thr_getconcurrency and thr_setconcurrency
David Bartley [Thu, 21 Aug 2008 07:18:18 +0000 (07:18 +0000)]
Implement thr_getconcurrency and thr_setconcurrency

11 years agoImplement thr_min_stack
David Bartley [Thu, 21 Aug 2008 07:10:56 +0000 (07:10 +0000)]
Implement thr_min_stack

11 years agoUpdate TODO
David Bartley [Thu, 21 Aug 2008 06:54:20 +0000 (06:54 +0000)]
Update TODO

11 years agoUse clock in condition variables
David Bartley [Thu, 21 Aug 2008 06:52:50 +0000 (06:52 +0000)]
Use clock in condition variables

11 years agoFix return in createthread_arch.c
David Bartley [Thu, 21 Aug 2008 06:52:20 +0000 (06:52 +0000)]
Fix return in createthread_arch.c

11 years agoRefactor getpriority.c/setpriority.c
David Bartley [Thu, 21 Aug 2008 06:52:02 +0000 (06:52 +0000)]
Refactor getpriority.c/setpriority.c

11 years agoImplement thr_getspecific, thr_setspecific, and thr_keycreate
David Bartley [Thu, 21 Aug 2008 06:10:38 +0000 (06:10 +0000)]
Implement thr_getspecific, thr_setspecific, and thr_keycreate

11 years agoAdd thr_sigsetmask
David Bartley [Thu, 21 Aug 2008 05:38:18 +0000 (05:38 +0000)]
Add thr_sigsetmask

11 years agoFix typo in thr_main.c
David Bartley [Thu, 21 Aug 2008 05:25:26 +0000 (05:25 +0000)]
Fix typo in thr_main.c

11 years agoImplement thr_yield
David Bartley [Thu, 21 Aug 2008 05:25:06 +0000 (05:25 +0000)]
Implement thr_yield

11 years agoAdd ATTR_FLAG_THR_CREATE flag (used by thr_create)
David Bartley [Thu, 21 Aug 2008 05:07:43 +0000 (05:07 +0000)]
Add ATTR_FLAG_THR_CREATE flag (used by thr_create)

11 years agoEnsure that signals are blocked when __sigaction is called
David Bartley [Thu, 21 Aug 2008 05:06:32 +0000 (05:06 +0000)]
Ensure that signals are blocked when __sigaction is called

11 years agoAdd P_* p_online flags
David Bartley [Thu, 21 Aug 2008 05:06:13 +0000 (05:06 +0000)]
Add P_* p_online flags

11 years agoImplement thr_main
David Bartley [Thu, 21 Aug 2008 05:05:58 +0000 (05:05 +0000)]
Implement thr_main

11 years agoBreak-off arch-specific part of createthread.c
David Bartley [Thu, 21 Aug 2008 05:05:17 +0000 (05:05 +0000)]
Break-off arch-specific part of createthread.c

11 years agoAdd some macros to sys/priv.h
David Bartley [Thu, 21 Aug 2008 02:04:01 +0000 (02:04 +0000)]
Add some macros to sys/priv.h

11 years agoDefine NAME_MAX if not defined in bug-glob2.c and tst-gnuglob.c
David Bartley [Thu, 21 Aug 2008 01:17:12 +0000 (01:17 +0000)]
Define NAME_MAX if not defined in bug-glob2.c and tst-gnuglob.c

11 years agoImplement additional sysconf values
David Bartley [Thu, 21 Aug 2008 01:03:13 +0000 (01:03 +0000)]
Implement additional sysconf values

11 years agoAdd getsysstats.c
David Bartley [Wed, 20 Aug 2008 23:41:34 +0000 (23:41 +0000)]
Add getsysstats.c

11 years agoFix NSIG in bits/signum.h
David Bartley [Wed, 20 Aug 2008 23:10:17 +0000 (23:10 +0000)]
Fix NSIG in bits/signum.h

11 years agoMerge branch 'master' of /users/dtbartle/opensolaris/glibc-opensolaris/
David Bartley [Wed, 20 Aug 2008 11:11:49 +0000 (07:11 -0400)]
Merge branch 'master' of /users/dtbartle/opensolaris/glibc-opensolaris/

11 years agoFix sigaltstack
David Bartley [Wed, 20 Aug 2008 11:10:47 +0000 (07:10 -0400)]
Fix sigaltstack

11 years agoFix typo in bits/regset.h
David Bartley [Wed, 20 Aug 2008 10:37:43 +0000 (06:37 -0400)]
Fix typo in bits/regset.h

11 years agoActually fix i386/Implies
David Bartley [Wed, 20 Aug 2008 10:35:09 +0000 (06:35 -0400)]
Actually fix i386/Implies

11 years agoFix i386/Implies in nptl
David Bartley [Wed, 20 Aug 2008 10:33:02 +0000 (06:33 -0400)]
Fix i386/Implies in nptl

11 years agoMore x86 Implies magic
David Bartley [Wed, 20 Aug 2008 10:30:38 +0000 (06:30 -0400)]
More x86 Implies magic

11 years agoMove some shared 32/64-bit stuff into x86
David Bartley [Wed, 20 Aug 2008 10:10:59 +0000 (06:10 -0400)]
Move some shared 32/64-bit stuff into x86

11 years agoFix __prmask and __prword
David Bartley [Wed, 20 Aug 2008 09:47:08 +0000 (05:47 -0400)]
Fix __prmask and __prword

11 years agoAdd x86 directory for common x86 32-bit and 64-bit code
David Bartley [Wed, 20 Aug 2008 08:55:01 +0000 (04:55 -0400)]
Add x86 directory for common x86 32-bit and 64-bit code

11 years agoopensolaris to kopensolaris in nptl/shlib-versions
David Bartley [Wed, 20 Aug 2008 04:02:13 +0000 (00:02 -0400)]
opensolaris to kopensolaris in nptl/shlib-versions

11 years agoApply make-install-lib-all.patch
David Bartley [Wed, 20 Aug 2008 03:56:16 +0000 (23:56 -0400)]
Apply make-install-lib-all.patch

* http://svn.exactcode.de/t2/trunk/package/base/glibc32/make-install-lib-all.patch

11 years agoopensolaris -> kopensolaris in shlib-versions
David Bartley [Wed, 20 Aug 2008 03:25:38 +0000 (23:25 -0400)]
opensolaris -> kopensolaris in shlib-versions

11 years agoopensolaris -> kopensolaris in sigprocmask.c
David Bartley [Wed, 20 Aug 2008 03:16:32 +0000 (23:16 -0400)]
opensolaris -> kopensolaris in sigprocmask.c

11 years agoFix abi-tags
David Bartley [Wed, 20 Aug 2008 03:12:11 +0000 (23:12 -0400)]
Fix abi-tags

11 years agoUpdate config.guess/.sub
David Bartley [Wed, 20 Aug 2008 03:10:24 +0000 (23:10 -0400)]
Update config.guess/.sub

11 years agoMove opensolaris-gnu to kopensolaris-gnu
David Bartley [Wed, 20 Aug 2008 03:05:14 +0000 (23:05 -0400)]
Move opensolaris-gnu to kopensolaris-gnu

11 years agoMake uname return GNU/kOpenSolaris
David Bartley [Wed, 20 Aug 2008 03:02:29 +0000 (23:02 -0400)]
Make uname return GNU/kOpenSolaris

11 years agoUpdate nptl/configure to use kopensolaris
David Bartley [Wed, 20 Aug 2008 03:01:59 +0000 (23:01 -0400)]
Update nptl/configure to use kopensolaris

11 years agoImplement opensolaris-specific system hooks
David Bartley [Wed, 20 Aug 2008 01:11:05 +0000 (21:11 -0400)]
Implement opensolaris-specific system hooks

11 years agoAdd sys/reg.h (just includes sys/regset.h)
David Bartley [Wed, 20 Aug 2008 01:10:40 +0000 (21:10 -0400)]
Add sys/reg.h (just includes sys/regset.h)

11 years agoDefine more stuff in sys/fault.h and sys/procfs.h
David Bartley [Wed, 20 Aug 2008 01:09:54 +0000 (21:09 -0400)]
Define more stuff in sys/fault.h and sys/procfs.h

11 years agoFix lowlevel locks
David Bartley [Wed, 20 Aug 2008 01:04:25 +0000 (21:04 -0400)]
Fix lowlevel locks

11 years agoFix typo in bits/siginfo.h
David Bartley [Wed, 20 Aug 2008 01:09:34 +0000 (21:09 -0400)]
Fix typo in bits/siginfo.h

11 years agoStatic rwlock initializer needs extra 3 fields initialized
David Bartley [Wed, 20 Aug 2008 01:06:26 +0000 (21:06 -0400)]
Static rwlock initializer needs extra 3 fields initialized

11 years agoonce_control should be a recursive lock
David Bartley [Wed, 20 Aug 2008 01:06:06 +0000 (21:06 -0400)]
once_control should be a recursive lock

11 years agoRe-use solaris abi tag
David Bartley [Wed, 20 Aug 2008 01:04:51 +0000 (21:04 -0400)]
Re-use solaris abi tag

11 years agoFix typo in bits/fcntl.h
David Bartley [Mon, 18 Aug 2008 10:11:20 +0000 (06:11 -0400)]
Fix typo in bits/fcntl.h

11 years agoFix lwp_sigmask in Makefile
David Bartley [Mon, 18 Aug 2008 10:10:59 +0000 (06:10 -0400)]
Fix lwp_sigmask in Makefile

11 years agoGet scheduling params in pthread_create
David Bartley [Mon, 18 Aug 2008 09:24:08 +0000 (05:24 -0400)]
Get scheduling params in pthread_create

11 years agoAdd internal sched_* functions
David Bartley [Mon, 18 Aug 2008 09:23:28 +0000 (05:23 -0400)]
Add internal sched_* functions

11 years agonptl needs sys_lwp_sigmask
David Bartley [Mon, 18 Aug 2008 09:23:15 +0000 (05:23 -0400)]
nptl needs sys_lwp_sigmask

11 years agoAdd cfi magic
David Bartley [Mon, 18 Aug 2008 09:23:05 +0000 (05:23 -0400)]
Add cfi magic

11 years agoSome syscalls should be cancellation points
David Bartley [Mon, 18 Aug 2008 09:22:43 +0000 (05:22 -0400)]
Some syscalls should be cancellation points

11 years agoUse lwp_sigmask to block signals (this blocks SIGCANCEL as well)
David Bartley [Mon, 18 Aug 2008 09:22:17 +0000 (05:22 -0400)]
Use lwp_sigmask to block signals (this blocks SIGCANCEL as well)

11 years agoImplement cancellable PSEUDO_SUBCALL
David Bartley [Mon, 18 Aug 2008 09:21:36 +0000 (05:21 -0400)]
Implement cancellable PSEUDO_SUBCALL

11 years agoRefactor rval_t
David Bartley [Mon, 18 Aug 2008 09:20:18 +0000 (05:20 -0400)]
Refactor rval_t

11 years agoAlways define __resp
David Bartley [Mon, 18 Aug 2008 09:19:00 +0000 (05:19 -0400)]
Always define __resp

11 years agoAdd better invalid abstime checks and fix bug in rwlock_init
David Bartley [Mon, 18 Aug 2008 06:14:06 +0000 (02:14 -0400)]
Add better invalid abstime checks and fix bug in rwlock_init

11 years agolll_wait_tid should not return EINTR
David Bartley [Sun, 17 Aug 2008 20:30:57 +0000 (16:30 -0400)]
lll_wait_tid should not return EINTR

11 years agoFix FREE_P
David Bartley [Sun, 17 Aug 2008 20:30:35 +0000 (16:30 -0400)]
Fix FREE_P

11 years agoRemove sunlwp from Depend files
David Bartley [Sun, 17 Aug 2008 12:08:48 +0000 (08:08 -0400)]
Remove sunlwp from Depend files

11 years agoSemaphore fixes
David Bartley [Sun, 17 Aug 2008 11:59:07 +0000 (07:59 -0400)]
Semaphore fixes

11 years agoMisc. fixes
David Bartley [Sun, 17 Aug 2008 10:59:42 +0000 (06:59 -0400)]
Misc. fixes

11 years agoMinor fixes
David Bartley [Sun, 17 Aug 2008 10:56:58 +0000 (06:56 -0400)]
Minor fixes

11 years agoImplement sema_*
David Bartley [Sun, 17 Aug 2008 10:54:36 +0000 (06:54 -0400)]
Implement sema_*

11 years agoImplement rwlock_*/rw_*
David Bartley [Sun, 17 Aug 2008 10:54:17 +0000 (06:54 -0400)]
Implement rwlock_*/rw_*

11 years agoFix barriers so that ptread_barrier_destroy is consistent
David Bartley [Sun, 17 Aug 2008 10:52:30 +0000 (06:52 -0400)]
Fix barriers so that ptread_barrier_destroy is consistent

11 years agoFix up struct sizes
David Bartley [Sun, 17 Aug 2008 10:51:51 +0000 (06:51 -0400)]
Fix up struct sizes

11 years agoAdd priority protect checks to pthread_setsched*
David Bartley [Sat, 16 Aug 2008 18:36:40 +0000 (14:36 -0400)]
Add priority protect checks to pthread_setsched*

11 years agoFix rwlock static initializers
David Bartley [Sat, 16 Aug 2008 18:35:44 +0000 (14:35 -0400)]
Fix rwlock static initializers

11 years agoDon't return EINTR and don't check invalid abstime right away
David Bartley [Sat, 16 Aug 2008 18:35:04 +0000 (14:35 -0400)]
Don't return EINTR and don't check invalid abstime right away