kopensolaris-gnu/glibc.git
11 years agoAdd more door stuff
David Bartley [Thu, 28 Aug 2008 09:57:40 +0000 (09:57 +0000)]
Add more door stuff

11 years agoNo need for sys_pollsys anymore
David Bartley [Thu, 28 Aug 2008 09:39:31 +0000 (09:39 +0000)]
No need for sys_pollsys anymore

11 years agoImplement acctctl, allocids, idmap_reg, and idmap_unreg
David Bartley [Thu, 28 Aug 2008 09:37:52 +0000 (09:37 +0000)]
Implement acctctl, allocids, idmap_reg, and idmap_unreg

11 years agoImplement acct
David Bartley [Thu, 28 Aug 2008 08:49:48 +0000 (08:49 +0000)]
Implement acct

11 years agoCleanup ucred.*
David Bartley [Thu, 28 Aug 2008 07:45:48 +0000 (07:45 +0000)]
Cleanup ucred.*

11 years agoFix PTR_DEMANGLE inclusion
David Bartley [Thu, 28 Aug 2008 07:39:28 +0000 (07:39 +0000)]
Fix PTR_DEMANGLE inclusion

11 years agoImplement sysfs
David Bartley [Thu, 28 Aug 2008 07:35:09 +0000 (07:35 +0000)]
Implement sysfs

11 years agoImplement getacct, putacct, and wracct
David Bartley [Thu, 28 Aug 2008 07:20:37 +0000 (07:20 +0000)]
Implement getacct, putacct, and wracct

11 years agoAdd sys/exacct.h
David Bartley [Thu, 28 Aug 2008 07:09:24 +0000 (07:09 +0000)]
Add sys/exacct.h

11 years agoAdd FNDELAY and FFSYNC to bits/fcntl.h
David Bartley [Thu, 28 Aug 2008 06:27:02 +0000 (06:27 +0000)]
Add FNDELAY and FFSYNC to bits/fcntl.h

11 years agoMake ptsname work
David Bartley [Thu, 28 Aug 2008 06:19:27 +0000 (06:19 +0000)]
Make ptsname work

11 years agoFix bug in priv.c
David Bartley [Thu, 28 Aug 2008 05:24:39 +0000 (05:24 +0000)]
Fix bug in priv.c

11 years agoUse bslabel_t instead of m_label_t in ucred.c
David Bartley [Thu, 28 Aug 2008 05:22:50 +0000 (05:22 +0000)]
Use bslabel_t instead of m_label_t in ucred.c

11 years agoImplement core_*
David Bartley [Thu, 28 Aug 2008 04:43:05 +0000 (04:43 +0000)]
Implement core_*

11 years agozone.h and ucred.h can include sys/tsol/label.h now
David Bartley [Thu, 28 Aug 2008 04:08:01 +0000 (04:08 +0000)]
zone.h and ucred.h can include sys/tsol/label.h now

11 years agoAdd sys/tsol/label.h
David Bartley [Thu, 28 Aug 2008 04:06:14 +0000 (04:06 +0000)]
Add sys/tsol/label.h

11 years agoI suck or: How I Introduced Another Bug Into pselect.c
David Bartley [Thu, 28 Aug 2008 03:47:02 +0000 (03:47 +0000)]
I suck or: How I Introduced Another Bug Into pselect.c

11 years agoUnconditionally set mutex_owner
David Bartley [Thu, 28 Aug 2008 03:41:22 +0000 (03:41 +0000)]
Unconditionally set mutex_owner

* cond_reltimedwait's cancel handling checks this regardless of the mutex type

11 years agoppoll can be directly implemented using pollsys
David Bartley [Thu, 28 Aug 2008 03:40:46 +0000 (03:40 +0000)]
ppoll can be directly implemented using pollsys

11 years agoFix more bugs in pselect.c
David Bartley [Thu, 28 Aug 2008 03:39:54 +0000 (03:39 +0000)]
Fix more bugs in pselect.c

* Can't use FD_ZERO since nfds could be greater than fd_set's size
* Can't use emptyset because of above reason

11 years agoFix bugs and formatting in pselect.c
David Bartley [Thu, 28 Aug 2008 02:11:24 +0000 (02:11 +0000)]
Fix bugs and formatting in pselect.c

11 years agoMinor fixes in if_index.c and ifreq.c
David Bartley [Thu, 28 Aug 2008 01:55:14 +0000 (01:55 +0000)]
Minor fixes in if_index.c and ifreq.c

11 years ago__exit-thread should call lwp_exit not exit
David Bartley [Thu, 28 Aug 2008 01:45:43 +0000 (01:45 +0000)]
__exit-thread should call lwp_exit not exit

11 years agoAdd more cfi magic to some .S files
David Bartley [Thu, 28 Aug 2008 01:39:14 +0000 (01:39 +0000)]
Add more cfi magic to some .S files

11 years agoAdd libc_freeres_ptr around global in priv.c
David Bartley [Thu, 28 Aug 2008 01:38:43 +0000 (01:38 +0000)]
Add libc_freeres_ptr around global in priv.c

11 years agoFix configure/configure.in
David Bartley [Thu, 28 Aug 2008 00:00:35 +0000 (00:00 +0000)]
Fix configure/configure.in

11 years agoSet use_ldconfig in configure
David Bartley [Wed, 27 Aug 2008 23:31:54 +0000 (23:31 +0000)]
Set use_ldconfig in configure

11 years agoUpdate CDDL headers
David Bartley [Wed, 27 Aug 2008 22:45:54 +0000 (22:45 +0000)]
Update CDDL headers

11 years agoAdd more to sys/corectl.h
David Bartley [Wed, 27 Aug 2008 15:39:52 +0000 (15:39 +0000)]
Add more to sys/corectl.h

11 years agoUse syscall/__systemcall instead of *_SYSCALL macros in certain places
David Bartley [Wed, 27 Aug 2008 15:39:17 +0000 (15:39 +0000)]
Use syscall/__systemcall instead of *_SYSCALL macros in certain places

11 years agoAdd additional functions to Versions
David Bartley [Wed, 27 Aug 2008 15:38:33 +0000 (15:38 +0000)]
Add additional functions to Versions

11 years agoAdd more headers
David Bartley [Wed, 27 Aug 2008 13:45:37 +0000 (13:45 +0000)]
Add more headers

11 years agoAdd jmp-unwind.c
David Bartley [Wed, 27 Aug 2008 11:40:10 +0000 (11:40 +0000)]
Add jmp-unwind.c

11 years agoUpdate TODO.opensolaris
David Bartley [Wed, 27 Aug 2008 11:37:49 +0000 (11:37 +0000)]
Update TODO.opensolaris

11 years agoAdd some zone functions to zone.h
David Bartley [Wed, 27 Aug 2008 11:37:27 +0000 (11:37 +0000)]
Add some zone functions to zone.h

11 years agoInstall more headers
David Bartley [Wed, 27 Aug 2008 11:37:06 +0000 (11:37 +0000)]
Install more headers

11 years agoInstall synch.h
David Bartley [Wed, 27 Aug 2008 11:36:17 +0000 (11:36 +0000)]
Install synch.h

11 years agoFix ttyname/ttyname_r
David Bartley [Wed, 27 Aug 2008 11:35:53 +0000 (11:35 +0000)]
Fix ttyname/ttyname_r

11 years agoAdd new headers and fix up some old ones
David Bartley [Wed, 27 Aug 2008 11:18:22 +0000 (11:18 +0000)]
Add new headers and fix up some old ones

11 years agoFix up some headers
David Bartley [Wed, 27 Aug 2008 02:43:47 +0000 (02:43 +0000)]
Fix up some headers

11 years agoUpdate TODO.opensolaris
David Bartley [Tue, 26 Aug 2008 20:54:44 +0000 (20:54 +0000)]
Update TODO.opensolaris

11 years agoUpdate comments in if_index.c
David Bartley [Tue, 26 Aug 2008 20:54:01 +0000 (20:54 +0000)]
Update comments in if_index.c

11 years agoNo need for hidden def for clock_settime
David Bartley [Tue, 26 Aug 2008 20:52:59 +0000 (20:52 +0000)]
No need for hidden def for clock_settime

11 years agoAdd gethrtime and gethrvtime
David Bartley [Tue, 26 Aug 2008 20:52:03 +0000 (20:52 +0000)]
Add gethrtime and gethrvtime

11 years agoAdd ifreq.c
David Bartley [Tue, 26 Aug 2008 20:49:32 +0000 (20:49 +0000)]
Add ifreq.c

11 years agoAdd PSEUDO_FASTTRAP to sysdep.h
David Bartley [Tue, 26 Aug 2008 19:13:26 +0000 (19:13 +0000)]
Add PSEUDO_FASTTRAP to sysdep.h

11 years agoclock_settime needs to be in a .S file
David Bartley [Tue, 26 Aug 2008 19:13:01 +0000 (19:13 +0000)]
clock_settime needs to be in a .S file

11 years agoFix formatting in net/if.h
David Bartley [Tue, 26 Aug 2008 19:12:34 +0000 (19:12 +0000)]
Fix formatting in net/if.h

11 years agoClarify comments in brk.c
David Bartley [Tue, 26 Aug 2008 19:12:15 +0000 (19:12 +0000)]
Clarify comments in brk.c

11 years agoFix if_index.c
David Bartley [Tue, 26 Aug 2008 19:11:54 +0000 (19:11 +0000)]
Fix if_index.c

11 years agoFix clock_nanosleep and clock_settime
David Bartley [Tue, 26 Aug 2008 06:02:12 +0000 (06:02 +0000)]
Fix clock_nanosleep and clock_settime

11 years agoFormatting fixes
David Bartley [Tue, 26 Aug 2008 04:56:25 +0000 (04:56 +0000)]
Formatting fixes

11 years agoAdd LIBC_CANCEL_HANDLED to some files
David Bartley [Tue, 26 Aug 2008 04:56:04 +0000 (04:56 +0000)]
Add LIBC_CANCEL_HANDLED to some files

11 years agoImplement fdatasync
David Bartley [Tue, 26 Aug 2008 04:55:09 +0000 (04:55 +0000)]
Implement fdatasync

11 years agoRemove empty pollsys.h
David Bartley [Tue, 26 Aug 2008 03:54:06 +0000 (03:54 +0000)]
Remove empty pollsys.h

11 years agoAdd fork.h (just #include's linux version)
David Bartley [Tue, 26 Aug 2008 03:53:37 +0000 (03:53 +0000)]
Add fork.h (just #include's linux version)

11 years agoMake tcsetattr.c clearer
David Bartley [Tue, 26 Aug 2008 03:53:05 +0000 (03:53 +0000)]
Make tcsetattr.c clearer

11 years agoFormatting fix
David Bartley [Tue, 26 Aug 2008 03:52:50 +0000 (03:52 +0000)]
Formatting fix

11 years agoImplement a TODO
David Bartley [Tue, 26 Aug 2008 02:25:06 +0000 (02:25 +0000)]
Implement a TODO

11 years agoFix formatting
David Bartley [Tue, 26 Aug 2008 02:07:33 +0000 (02:07 +0000)]
Fix formatting

11 years agoFix NCCS and add comment in tcsetattr.c
David Bartley [Tue, 26 Aug 2008 02:04:19 +0000 (02:04 +0000)]
Fix NCCS and add comment in tcsetattr.c

11 years agoRefactor tls.h
David Bartley [Tue, 26 Aug 2008 02:04:00 +0000 (02:04 +0000)]
Refactor tls.h

11 years agoRemove old files
David Bartley [Tue, 26 Aug 2008 02:03:40 +0000 (02:03 +0000)]
Remove old files

11 years agoEmulate futex_wake/futex_wait via busy waiting
David Bartley [Tue, 26 Aug 2008 00:56:57 +0000 (00:56 +0000)]
Emulate futex_wake/futex_wait via busy waiting

11 years agoMake i386/tls.h more like the linux one
David Bartley [Tue, 26 Aug 2008 00:55:24 +0000 (00:55 +0000)]
Make i386/tls.h more like the linux one

11 years agoReuse linux fork code better
David Bartley [Tue, 26 Aug 2008 00:50:42 +0000 (00:50 +0000)]
Reuse linux fork code better

11 years agoFix lowlevellocks again
David Bartley [Mon, 25 Aug 2008 05:31:59 +0000 (05:31 +0000)]
Fix lowlevellocks again

11 years agounlink does not return EISDIR (but does return EPERM)
David Bartley [Mon, 25 Aug 2008 05:30:24 +0000 (05:30 +0000)]
unlink does not return EISDIR (but does return EPERM)

11 years agoUpdate TODO.opensolaris
David Bartley [Sat, 23 Aug 2008 09:58:19 +0000 (09:58 +0000)]
Update TODO.opensolaris

11 years agoNo need to define PTHREAD_THREADS_MAX
David Bartley [Sat, 23 Aug 2008 09:57:34 +0000 (09:57 +0000)]
No need to define PTHREAD_THREADS_MAX

11 years agoFix bug in pthread_sigmask
David Bartley [Sat, 23 Aug 2008 09:57:06 +0000 (09:57 +0000)]
Fix bug in pthread_sigmask

11 years agoMake sure that we inherit the parent thread's sigmask when creating new threads
David Bartley [Sat, 23 Aug 2008 09:56:45 +0000 (09:56 +0000)]
Make sure that we inherit the parent thread's sigmask when creating new threads

11 years agoFix mutex initializers
David Bartley [Sat, 23 Aug 2008 09:56:29 +0000 (09:56 +0000)]
Fix mutex initializers

11 years agoWe no longer waste 2 realtime signals (there's only 8 in total)
David Bartley [Sat, 23 Aug 2008 09:56:05 +0000 (09:56 +0000)]
We no longer waste 2 realtime signals (there's only 8 in total)

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