kopensolaris-gnu/glibc.git
11 years agoAdd sys/filio.h and fix up some other headers
David Bartley [Fri, 5 Sep 2008 21:31:10 +0000 (21:31 +0000)]
Add sys/filio.h and fix up some other headers

11 years agoUpdate TODO.opensolaris
David Bartley [Fri, 5 Sep 2008 20:19:58 +0000 (20:19 +0000)]
Update TODO.opensolaris

11 years agoAdd sys/kd.h
David Bartley [Fri, 5 Sep 2008 19:19:00 +0000 (19:19 +0000)]
Add sys/kd.h

11 years agoImplement thr_stksegment
David Bartley [Fri, 5 Sep 2008 12:41:19 +0000 (12:41 +0000)]
Implement thr_stksegment

11 years agoInclude string.h in *sourcefilter.c
David Bartley [Fri, 5 Sep 2008 12:28:38 +0000 (12:28 +0000)]
Include string.h in *sourcefilter.c

11 years agoRevert "Make sure we always use the new procfs api"
David Bartley [Fri, 5 Sep 2008 12:19:37 +0000 (12:19 +0000)]
Revert "Make sure we always use the new procfs api"

This reverts commit 28b6315a9a286dee71323e240e310d5c64134603.

11 years agoproc_service.h also is linux-specific
David Bartley [Fri, 5 Sep 2008 12:09:15 +0000 (12:09 +0000)]
proc_service.h also is linux-specific

11 years agoThe "generic" thread_db.h is really linux-specific
David Bartley [Fri, 5 Sep 2008 12:06:52 +0000 (12:06 +0000)]
The "generic" thread_db.h is really linux-specific

11 years agoAdd thread_db.h
David Bartley [Fri, 5 Sep 2008 11:51:33 +0000 (11:51 +0000)]
Add thread_db.h

11 years agoMake sure we always use the new procfs api
David Bartley [Fri, 5 Sep 2008 11:26:26 +0000 (11:26 +0000)]
Make sure we always use the new procfs api

11 years agoAdd malloc-machine.h
David Bartley [Fri, 5 Sep 2008 11:15:37 +0000 (11:15 +0000)]
Add malloc-machine.h

11 years agoFix formatting in synch.h
David Bartley [Fri, 5 Sep 2008 11:08:40 +0000 (11:08 +0000)]
Fix formatting in synch.h

11 years agoAdd sys/old_procfs.h
David Bartley [Fri, 5 Sep 2008 10:36:47 +0000 (10:36 +0000)]
Add sys/old_procfs.h

11 years agoFix procfs.h
David Bartley [Fri, 5 Sep 2008 10:35:21 +0000 (10:35 +0000)]
Fix procfs.h

11 years agoAdd sys/vm.h and sys/vmparam.h
David Bartley [Fri, 5 Sep 2008 08:50:56 +0000 (08:50 +0000)]
Add sys/vm.h and sys/vmparam.h

11 years agothread.h should #include synch.h
David Bartley [Fri, 5 Sep 2008 08:22:21 +0000 (08:22 +0000)]
thread.h should #include synch.h

11 years agoUse LWP_* instead of THR_* in lwp_create syscall
David Bartley [Fri, 5 Sep 2008 01:05:09 +0000 (01:05 +0000)]
Use LWP_* instead of THR_* in lwp_create syscall

11 years agoInstall thread_db.h and proc_service.h
David Bartley [Fri, 5 Sep 2008 00:22:20 +0000 (00:22 +0000)]
Install thread_db.h and proc_service.h

11 years agoDon't set ATTR_FLAG_STACKADDR if stack_address is 0
David Bartley [Fri, 5 Sep 2008 00:13:27 +0000 (00:13 +0000)]
Don't set ATTR_FLAG_STACKADDR if stack_address is 0

11 years agolwp_wait may return ERESTART
David Bartley [Thu, 4 Sep 2008 23:46:52 +0000 (23:46 +0000)]
lwp_wait may return ERESTART

11 years agoImplement thr_setprio and thr_getprio
David Bartley [Thu, 4 Sep 2008 23:46:36 +0000 (23:46 +0000)]
Implement thr_setprio and thr_getprio

11 years agonot-cancel.h needs to check for ERESTART
David Bartley [Thu, 4 Sep 2008 22:55:55 +0000 (22:55 +0000)]
not-cancel.h needs to check for ERESTART

11 years agoFix ERESTART check in sysdep-cancel.h
David Bartley [Thu, 4 Sep 2008 21:39:35 +0000 (21:39 +0000)]
Fix ERESTART check in sysdep-cancel.h

11 years agoUse pthread_*sched* in pthread_create.c
David Bartley [Thu, 4 Sep 2008 19:09:15 +0000 (19:09 +0000)]
Use pthread_*sched* in pthread_create.c

11 years agoUpdate TODO.opensolaris
David Bartley [Thu, 4 Sep 2008 18:01:11 +0000 (18:01 +0000)]
Update TODO.opensolaris

11 years agoInstall thread_db.h
David Bartley [Thu, 4 Sep 2008 18:00:21 +0000 (18:00 +0000)]
Install thread_db.h

11 years agoMove lwpid_t definition to bits/types.h
David Bartley [Thu, 4 Sep 2008 18:00:00 +0000 (18:00 +0000)]
Move lwpid_t definition to bits/types.h

11 years agoFix recursive include in pthread_self.c
David Bartley [Thu, 4 Sep 2008 17:59:42 +0000 (17:59 +0000)]
Fix recursive include in pthread_self.c

11 years agoInstall proc_service.h
David Bartley [Thu, 4 Sep 2008 16:54:57 +0000 (16:54 +0000)]
Install proc_service.h

11 years agoImplement _lwp_sema_init
David Bartley [Thu, 4 Sep 2008 16:54:37 +0000 (16:54 +0000)]
Implement _lwp_sema_init

11 years agoImplement _lwp_info
David Bartley [Thu, 4 Sep 2008 16:54:18 +0000 (16:54 +0000)]
Implement _lwp_info

11 years agoFix lwp_join
David Bartley [Thu, 4 Sep 2008 16:54:00 +0000 (16:54 +0000)]
Fix lwp_join

11 years agoImplement _lwp_*
David Bartley [Thu, 4 Sep 2008 16:53:46 +0000 (16:53 +0000)]
Implement _lwp_*

11 years agoRename *_priv.* to *P.*
David Bartley [Thu, 4 Sep 2008 16:24:16 +0000 (16:24 +0000)]
Rename *_priv.* to *P.*

11 years agoMove SYS_SUB_* into syscall_priv.h
David Bartley [Thu, 4 Sep 2008 15:49:26 +0000 (15:49 +0000)]
Move SYS_SUB_* into syscall_priv.h

11 years agoFix sched_*
David Bartley [Thu, 4 Sep 2008 15:49:10 +0000 (15:49 +0000)]
Fix sched_*

11 years agoImplement getsourcefilter, setsourcefilter, getipv4sourcefilter, and setipv4sourcefilter
David Bartley [Tue, 2 Sep 2008 13:08:45 +0000 (13:08 +0000)]
Implement getsourcefilter, setsourcefilter, getipv4sourcefilter, and setipv4sourcefilter

11 years agoUse alloca conditionally in pselect.c
David Bartley [Tue, 2 Sep 2008 12:06:17 +0000 (12:06 +0000)]
Use alloca conditionally in pselect.c

11 years agoImplement thr_continue and thr_suspend
David Bartley [Tue, 2 Sep 2008 12:05:34 +0000 (12:05 +0000)]
Implement thr_continue and thr_suspend

11 years agoAdd comment in dl-execstack.c
David Bartley [Tue, 2 Sep 2008 01:49:50 +0000 (01:49 +0000)]
Add comment in dl-execstack.c

11 years agoImplement get_zone_id
David Bartley [Tue, 2 Sep 2008 01:49:39 +0000 (01:49 +0000)]
Implement get_zone_id

11 years agoImplement profil and sprofil
David Bartley [Tue, 2 Sep 2008 00:09:04 +0000 (00:09 +0000)]
Implement profil and sprofil

11 years agoUpdate TODO.opensolaris
David Bartley [Mon, 1 Sep 2008 21:16:48 +0000 (21:16 +0000)]
Update TODO.opensolaris

11 years agoRename priv.c to priv_priv.c
David Bartley [Mon, 1 Sep 2008 21:15:45 +0000 (21:15 +0000)]
Rename priv.c to priv_priv.c

11 years agoImplement more zone stuff
David Bartley [Mon, 1 Sep 2008 21:15:34 +0000 (21:15 +0000)]
Implement more zone stuff

11 years agoNeed to #include <sysdep-cancel.h> when CANCEL_HANDLED is used
David Bartley [Mon, 1 Sep 2008 16:36:20 +0000 (16:36 +0000)]
Need to #include <sysdep-cancel.h> when CANCEL_HANDLED is used

11 years agoImplement dl-execstack.c
David Bartley [Mon, 1 Sep 2008 16:35:52 +0000 (16:35 +0000)]
Implement dl-execstack.c

11 years agoAdd -fexceptions to some CFLAGS
David Bartley [Mon, 1 Sep 2008 10:42:09 +0000 (10:42 +0000)]
Add -fexceptions to some CFLAGS

11 years agoFix internal name of msgrcv
David Bartley [Mon, 1 Sep 2008 10:41:55 +0000 (10:41 +0000)]
Fix internal name of msgrcv

11 years agoFix cfa magic
David Bartley [Mon, 1 Sep 2008 10:41:40 +0000 (10:41 +0000)]
Fix cfa magic

11 years agoAdd waitid_not_cancel
David Bartley [Sun, 31 Aug 2008 03:36:30 +0000 (03:36 +0000)]
Add waitid_not_cancel

11 years agoFormatting fix
David Bartley [Sun, 31 Aug 2008 03:34:50 +0000 (03:34 +0000)]
Formatting fix

11 years agoAdd sys/siginfo.h
David Bartley [Sun, 31 Aug 2008 02:06:17 +0000 (02:06 +0000)]
Add sys/siginfo.h

11 years agothread.h needs sys/signal.h
David Bartley [Sun, 31 Aug 2008 01:16:35 +0000 (01:16 +0000)]
thread.h needs sys/signal.h

11 years agoSet ebp to 0 initially
David Bartley [Sun, 31 Aug 2008 01:04:27 +0000 (01:04 +0000)]
Set ebp to 0 initially

11 years agoFix some cfa magic
David Bartley [Sun, 31 Aug 2008 01:03:53 +0000 (01:03 +0000)]
Fix some cfa magic

11 years agoCDISABLE is an internal function so need to pass-by-register
David Bartley [Sun, 31 Aug 2008 01:03:25 +0000 (01:03 +0000)]
CDISABLE is an internal function so need to pass-by-register

11 years agoRestore nptl/sysdeps/pthread/aio_misc.h
David Bartley [Fri, 29 Aug 2008 15:22:16 +0000 (15:22 +0000)]
Restore nptl/sysdeps/pthread/aio_misc.h

11 years agoFix sys/segments.h and move it to x86
David Bartley [Fri, 29 Aug 2008 15:22:00 +0000 (15:22 +0000)]
Fix sys/segments.h and move it to x86

11 years agoSet header.multiple_threads in createthread.c
David Bartley [Fri, 29 Aug 2008 15:20:55 +0000 (15:20 +0000)]
Set header.multiple_threads in createthread.c

11 years agoFix bug in pthread_rwlock_init
David Bartley [Fri, 29 Aug 2008 15:20:24 +0000 (15:20 +0000)]
Fix bug in pthread_rwlock_init

11 years agoAdd support for USYNC_PROCESS_ROBUST
David Bartley [Fri, 29 Aug 2008 15:20:03 +0000 (15:20 +0000)]
Add support for USYNC_PROCESS_ROBUST

11 years agoCheck type in cond_init and rwlock_init
David Bartley [Fri, 29 Aug 2008 15:19:38 +0000 (15:19 +0000)]
Check type in cond_init and rwlock_init

11 years agoAdd macros to test for self-ownership of a mutex
David Bartley [Fri, 29 Aug 2008 15:19:01 +0000 (15:19 +0000)]
Add macros to test for self-ownership of a mutex

11 years agoAdd aio_misc.h
David Bartley [Fri, 29 Aug 2008 15:18:37 +0000 (15:18 +0000)]
Add aio_misc.h

11 years agoMove sys/stack.h into x86
David Bartley [Fri, 29 Aug 2008 10:55:19 +0000 (10:55 +0000)]
Move sys/stack.h into x86

11 years agoMove some i386 headers into x86
David Bartley [Fri, 29 Aug 2008 10:54:11 +0000 (10:54 +0000)]
Move some i386 headers into x86

11 years agocond_* and sigaction need to be compiled with -fexceptions
David Bartley [Fri, 29 Aug 2008 10:18:55 +0000 (10:18 +0000)]
cond_* and sigaction need to be compiled with -fexceptions

11 years agoImplement settaskid, gettaskid, getprojid, and utssys
David Bartley [Thu, 28 Aug 2008 11:40:47 +0000 (11:40 +0000)]
Implement settaskid, gettaskid, getprojid, and utssys

11 years agoInstall pcsample.h
David Bartley [Thu, 28 Aug 2008 11:19:45 +0000 (11:19 +0000)]
Install pcsample.h

11 years agoImplement pcsample
David Bartley [Thu, 28 Aug 2008 11:15:18 +0000 (11:15 +0000)]
Implement pcsample

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