kopensolaris-gnu/glibc.git
10 years agoDocument schedulers and mutex_real_ceiling
David Bartley [Wed, 18 Feb 2009 15:00:02 +0000 (15:00 +0000)]
Document schedulers and mutex_real_ceiling

10 years agoAdd mutex_real_ceiling field (flags.flag2) for mutexes
David Bartley [Wed, 18 Feb 2009 14:59:26 +0000 (14:59 +0000)]
Add mutex_real_ceiling field (flags.flag2) for mutexes

10 years agoImplement linux-style statfs and co.
David Bartley [Wed, 18 Feb 2009 10:41:43 +0000 (10:41 +0000)]
Implement linux-style statfs and co.

10 years agoFix compile warning in htonll.c
David Bartley [Mon, 16 Feb 2009 04:12:44 +0000 (04:12 +0000)]
Fix compile warning in htonll.c

10 years agoFix 'macro redefined' warning in nlm_prot.x
David Bartley [Mon, 16 Feb 2009 03:36:05 +0000 (03:36 +0000)]
Fix 'macro redefined' warning in nlm_prot.x

10 years agoFix typo in sys/mount.h
David Bartley [Mon, 16 Feb 2009 03:21:11 +0000 (03:21 +0000)]
Fix typo in sys/mount.h

10 years agoFix large-file macro usage in bits/statvfs.h
David Bartley [Mon, 16 Feb 2009 02:33:40 +0000 (02:33 +0000)]
Fix large-file macro usage in bits/statvfs.h

10 years agoCall tdetach in nptl_detach if needed
David Bartley [Fri, 13 Feb 2009 02:39:28 +0000 (02:39 +0000)]
Call tdetach in nptl_detach if needed

10 years agoAdd recently implemented syscalls to Versions
David Bartley [Wed, 11 Feb 2009 10:36:46 +0000 (10:36 +0000)]
Add recently implemented syscalls to Versions

10 years agoImplement _autofssys, _cladm, _lgrpsys, and _lgrp_home_fast
David Bartley [Wed, 11 Feb 2009 09:09:21 +0000 (09:09 +0000)]
Implement _autofssys, _cladm, _lgrpsys, and _lgrp_home_fast

10 years agoAdd sys/byteorder.h and ntoll/htonll
David Bartley [Mon, 9 Feb 2009 03:52:32 +0000 (03:52 +0000)]
Add sys/byteorder.h and ntoll/htonll

10 years agoAlways define basic limits if we include sys/param.h
David Bartley [Mon, 9 Feb 2009 03:51:59 +0000 (03:51 +0000)]
Always define basic limits if we include sys/param.h

10 years agoProvide a stub implementation for priv_set_to_str
David Bartley [Mon, 9 Feb 2009 03:51:13 +0000 (03:51 +0000)]
Provide a stub implementation for priv_set_to_str

10 years agoAdd inst_sync and sys/instance.h
David Bartley [Mon, 9 Feb 2009 01:14:35 +0000 (01:14 +0000)]
Add inst_sync and sys/instance.h

10 years agoRe-add linux-style getmntent
David Bartley [Mon, 9 Feb 2009 01:13:00 +0000 (01:13 +0000)]
Re-add linux-style getmntent

10 years agoReplace linux-style getmntent and co. with solaris-style functions
David Bartley [Sun, 8 Feb 2009 09:58:53 +0000 (09:58 +0000)]
Replace linux-style getmntent and co. with solaris-style functions

10 years agoDefine VFSTAB in sys/vfstab.h
David Bartley [Sun, 8 Feb 2009 09:58:30 +0000 (09:58 +0000)]
Define VFSTAB in sys/vfstab.h

10 years agoInclude sys/statvfs in sys/fstyp to get FSTYPSZ definition
David Bartley [Sun, 8 Feb 2009 09:57:57 +0000 (09:57 +0000)]
Include sys/statvfs in sys/fstyp to get FSTYPSZ definition

10 years agoDefine FSTYPSZ in bits/statvfs.h
David Bartley [Sun, 8 Feb 2009 09:57:44 +0000 (09:57 +0000)]
Define FSTYPSZ in bits/statvfs.h

10 years agoAdd __USE_XOPEN_OR_POSIX to features.h (now used by bits/types.h)
David Bartley [Sun, 8 Feb 2009 09:57:12 +0000 (09:57 +0000)]
Add __USE_XOPEN_OR_POSIX to features.h (now used by bits/types.h)

10 years agoRemove sys/segments.h dependency
David Bartley [Sun, 8 Feb 2009 07:49:10 +0000 (07:49 +0000)]
Remove sys/segments.h dependency

10 years agoAdd sys/sid.h
David Bartley [Sat, 7 Feb 2009 00:36:26 +0000 (00:36 +0000)]
Add sys/sid.h

10 years agoRemove mountP.h
David Bartley [Sat, 7 Feb 2009 00:35:31 +0000 (00:35 +0000)]
Remove mountP.h

10 years agoAdd sys/rctl_impl.h
David Bartley [Fri, 6 Feb 2009 23:28:03 +0000 (23:28 +0000)]
Add sys/rctl_impl.h

10 years agoAdd sys/port_impl.h
David Bartley [Fri, 6 Feb 2009 20:35:05 +0000 (20:35 +0000)]
Add sys/port_impl.h

10 years agoUpdate NOTES.opensolaris and TODO.opensolaris
David Bartley [Fri, 6 Feb 2009 20:16:41 +0000 (20:16 +0000)]
Update NOTES.opensolaris and TODO.opensolaris

10 years agoFormatting in sys/ptms.h
David Bartley [Fri, 6 Feb 2009 11:43:11 +0000 (11:43 +0000)]
Formatting in sys/ptms.h

10 years agoAdd sys/fsid.h and sys/fstyp.h
David Bartley [Fri, 6 Feb 2009 11:33:56 +0000 (11:33 +0000)]
Add sys/fsid.h and sys/fstyp.h

10 years agoAdd sys/loadavg.h
David Bartley [Fri, 6 Feb 2009 10:45:33 +0000 (10:45 +0000)]
Add sys/loadavg.h

10 years agoRemove sys_lwp_info from syscalls.list
David Bartley [Fri, 6 Feb 2009 10:06:15 +0000 (10:06 +0000)]
Remove sys_lwp_info from syscalls.list

10 years agoCall lwp_detach in pthread_detach
David Bartley [Fri, 6 Feb 2009 10:05:16 +0000 (10:05 +0000)]
Call lwp_detach in pthread_detach

10 years agoFix export of _lwp_cond_signal
David Bartley [Fri, 6 Feb 2009 09:36:49 +0000 (09:36 +0000)]
Fix export of _lwp_cond_signal

10 years agoAdd sys/tsol/label.h
David Bartley [Fri, 6 Feb 2009 05:57:23 +0000 (05:57 +0000)]
Add sys/tsol/label.h

10 years agoFix getpeerucred and ucred_get
David Bartley [Fri, 6 Feb 2009 04:25:49 +0000 (04:25 +0000)]
Fix getpeerucred and ucred_get

10 years agoFix net/if_dl.h
David Bartley [Fri, 6 Feb 2009 02:57:23 +0000 (02:57 +0000)]
Fix net/if_dl.h

10 years agoInstall net/if_dl.h
David Bartley [Fri, 6 Feb 2009 02:09:48 +0000 (02:09 +0000)]
Install net/if_dl.h

10 years agosys/old_procfs.h needs sys/procfs_isa.h
David Bartley [Fri, 6 Feb 2009 01:56:15 +0000 (01:56 +0000)]
sys/old_procfs.h needs sys/procfs_isa.h

10 years agoFix mtrace stack overflow bug
David Bartley [Tue, 3 Feb 2009 02:24:25 +0000 (02:24 +0000)]
Fix mtrace stack overflow bug

10 years agoFix up some test cases
David Bartley [Tue, 3 Feb 2009 00:15:54 +0000 (00:15 +0000)]
Fix up some test cases

10 years agoUpdate TODO.opensolaris
David Bartley [Mon, 2 Feb 2009 11:40:33 +0000 (11:40 +0000)]
Update TODO.opensolaris

10 years agoFix io/tst-* so that they do better checks for ENOSYS
David Bartley [Mon, 2 Feb 2009 08:01:14 +0000 (08:01 +0000)]
Fix io/tst-* so that they do better checks for ENOSYS

10 years agoImplement AT_EACCESS
David Bartley [Mon, 2 Feb 2009 07:53:45 +0000 (07:53 +0000)]
Implement AT_EACCESS

10 years agoMinor style fix in access.c
David Bartley [Mon, 2 Feb 2009 06:41:34 +0000 (06:41 +0000)]
Minor style fix in access.c

10 years agoImplement sched_rr_get_interval
David Bartley [Mon, 2 Feb 2009 05:39:45 +0000 (05:39 +0000)]
Implement sched_rr_get_interval

10 years agoAdd a few more scheduler SCHED_ constants to bits/sched.h
David Bartley [Mon, 2 Feb 2009 04:38:32 +0000 (04:38 +0000)]
Add a few more scheduler SCHED_ constants to bits/sched.h

10 years agoImplement sem_open, sem_close, and sem_unlink
David Bartley [Mon, 2 Feb 2009 01:05:19 +0000 (01:05 +0000)]
Implement sem_open, sem_close, and sem_unlink

10 years agoMinor style fix in sys/acl.h
David Bartley [Sun, 1 Feb 2009 21:27:15 +0000 (21:27 +0000)]
Minor style fix in sys/acl.h

10 years agoDon't install sys/xattr.h
David Bartley [Sun, 1 Feb 2009 20:58:10 +0000 (20:58 +0000)]
Don't install sys/xattr.h

10 years agoAdd sys/acl.h
David Bartley [Sun, 1 Feb 2009 20:51:05 +0000 (20:51 +0000)]
Add sys/acl.h

10 years agoAdd headers for OpenSolaris extensions that glibc implements
David Bartley [Sun, 1 Feb 2009 04:09:51 +0000 (04:09 +0000)]
Add headers for OpenSolaris extensions that glibc implements

10 years agoFix pthread_mutexattr_getrobust_np definition
David Bartley [Sat, 31 Jan 2009 21:50:27 +0000 (21:50 +0000)]
Fix  pthread_mutexattr_getrobust_np definition

10 years agoNeed to allocate more initial tls space since we use __thread
David Bartley [Sat, 31 Jan 2009 05:08:20 +0000 (05:08 +0000)]
Need to allocate more initial tls space since we use __thread

10 years agoMinor cleanup of vfsent code
David Bartley [Sat, 31 Jan 2009 01:28:19 +0000 (01:28 +0000)]
Minor cleanup of vfsent code

10 years agoDon't expose MAXSIG by default
David Bartley [Fri, 30 Jan 2009 12:27:07 +0000 (12:27 +0000)]
Don't expose MAXSIG by default

10 years agoNo need to include sys/ucontext.h in bits/sigcontext.h
David Bartley [Fri, 30 Jan 2009 12:17:57 +0000 (12:17 +0000)]
No need to include sys/ucontext.h in bits/sigcontext.h

10 years agoCleanup swapoff.c and swapon.c
David Bartley [Fri, 30 Jan 2009 10:56:36 +0000 (10:56 +0000)]
Cleanup swapoff.c and swapon.c

10 years agoPromote priocntlP.h to sys/priocntl.h
David Bartley [Fri, 30 Jan 2009 10:39:09 +0000 (10:39 +0000)]
Promote priocntlP.h to sys/priocntl.h

10 years agoRemove unused sys/priv_names.h
David Bartley [Fri, 30 Jan 2009 10:32:41 +0000 (10:32 +0000)]
Remove unused sys/priv_names.h

10 years agoFix typo: priocntl.h -> procset.h
David Bartley [Fri, 30 Jan 2009 10:29:15 +0000 (10:29 +0000)]
Fix typo: priocntl.h -> procset.h

10 years agoRemove erroneous comment
David Bartley [Fri, 30 Jan 2009 10:22:43 +0000 (10:22 +0000)]
Remove erroneous comment

10 years agoFix %edx clobbering in lseek64, forkx, and pipe syscalls
David Bartley [Fri, 30 Jan 2009 10:04:29 +0000 (10:04 +0000)]
Fix %edx clobbering in lseek64, forkx, and pipe syscalls

10 years agoRemove any ioctls and types found in solaris' sys/ptyvar.h
David Bartley [Fri, 30 Jan 2009 06:13:42 +0000 (01:13 -0500)]
Remove any ioctls and types found in solaris' sys/ptyvar.h

TIOCSSIZE/TIOCGSIZE are apparently broken and nobody uses them;
further, no other header includes sys/ptyvar.h so there's no reason
to expose these definitions.

10 years agoInstall netinet/if_ether.h
David Bartley [Fri, 30 Jan 2009 05:04:03 +0000 (00:04 -0500)]
Install netinet/if_ether.h

10 years agoRe-add swapon.c, swapoff.c, and sys/swap.h
David Bartley [Thu, 29 Jan 2009 22:26:56 +0000 (17:26 -0500)]
Re-add swapon.c, swapoff.c, and sys/swap.h

10 years agoMerge branch 'master' of /users/git/dtbartle/glibc-opensolaris
David Bartley [Thu, 29 Jan 2009 22:04:52 +0000 (17:04 -0500)]
Merge branch 'master' of /users/git/dtbartle/glibc-opensolaris

10 years agoRevert "Don't install net/route.h from glibc"
David Bartley [Thu, 29 Jan 2009 21:40:59 +0000 (16:40 -0500)]
Revert "Don't install net/route.h from glibc"

This reverts commit 500a3ddd845f8c4b15f0d03f63a0ff0a3a144b30.

10 years agoSolaris doesn't actually define E_OK in any headers
David Bartley [Thu, 29 Jan 2009 21:26:45 +0000 (16:26 -0500)]
Solaris doesn't actually define E_OK in any headers

10 years agoInstall bits/regset.h
rmh [Thu, 29 Jan 2009 17:26:52 +0000 (18:26 +0100)]
Install bits/regset.h

10 years agoDon't install net/route.h from glibc
David Bartley [Thu, 29 Jan 2009 05:27:59 +0000 (00:27 -0500)]
Don't install net/route.h from glibc

10 years agoIncluding sys/ucontext.h should not cause REG_* to be defined
David Bartley [Thu, 29 Jan 2009 02:57:47 +0000 (21:57 -0500)]
Including sys/ucontext.h should not cause REG_* to be defined

10 years agoFix clock
David Bartley [Wed, 28 Jan 2009 20:42:32 +0000 (15:42 -0500)]
Fix clock

10 years agoDon't include sys/param.h in sys/sysmacros.h
David Bartley [Wed, 28 Jan 2009 13:25:39 +0000 (08:25 -0500)]
Don't include sys/param.h in sys/sysmacros.h

10 years agoFix stack initialization code
David Bartley [Wed, 28 Jan 2009 02:17:49 +0000 (21:17 -0500)]
Fix stack initialization code

10 years agoDon't include sys/feature_tests.h
David Bartley [Tue, 27 Jan 2009 06:46:10 +0000 (01:46 -0500)]
Don't include sys/feature_tests.h

10 years agoDon't include <sys/feature_tests.h> in <bits/types.h>
David Bartley [Mon, 26 Jan 2009 06:04:59 +0000 (01:04 -0500)]
Don't include <sys/feature_tests.h> in <bits/types.h>

10 years agoDon't export sys_errlist
David Bartley [Mon, 26 Jan 2009 01:52:02 +0000 (20:52 -0500)]
Don't export sys_errlist

10 years agoRemove our version of <bits/sys_errlist.h>, which declares sys_errlist despite we...
rmh [Sat, 24 Jan 2009 01:26:54 +0000 (02:26 +0100)]
Remove our version of <bits/sys_errlist.h>, which declares sys_errlist despite we don't have it.

10 years agoForgot to add the net/*.h headers to sysdep_headers
rmh [Fri, 23 Jan 2009 22:01:31 +0000 (23:01 +0100)]
Forgot to add the net/*.h headers to sysdep_headers

10 years agoFix boolean_t/B_FALSE/B_TRUE compilation issue
David Bartley [Wed, 21 Jan 2009 20:49:57 +0000 (20:49 +0000)]
Fix boolean_t/B_FALSE/B_TRUE compilation issue

10 years agoMerge branch 'master' of csclub.uwaterloo.ca:/users/kopensolaris-gnu/git/glibc
David Bartley [Wed, 21 Jan 2009 09:09:40 +0000 (09:09 +0000)]
Merge branch 'master' of csclub.uwaterloo.ca:/users/kopensolaris-gnu/git/glibc

10 years agoIgnore failures when changing thread scheduling for now
David Bartley [Wed, 21 Jan 2009 09:06:10 +0000 (09:06 +0000)]
Ignore failures when changing thread scheduling for now

10 years agoFix failure handling for thread creation
David Bartley [Wed, 21 Jan 2009 08:54:14 +0000 (08:54 +0000)]
Fix failure handling for thread creation

10 years agoUpdate TODO
David Bartley [Wed, 21 Jan 2009 08:41:25 +0000 (08:41 +0000)]
Update TODO

10 years agoAdd generic versions of net/ethernet.h, net/if_arp.h, net/if_ether.h, net/if_ppp...
rmh [Tue, 20 Jan 2009 21:25:16 +0000 (22:25 +0100)]
Add generic versions of net/ethernet.h, net/if_arp.h, net/if_ether.h, net/if_ppp.h and net/route.h (based on patch from sources.redhat.com/ml/libc-alpha/2009-01/msg00026.html)

10 years agoAdd klogctl stub and sys/klog.h
David Bartley [Mon, 19 Jan 2009 21:31:54 +0000 (21:31 +0000)]
Add klogctl stub and sys/klog.h

10 years agoAdd some compatibility aliases (copied from generic bits/sigaction.h).
rmh [Mon, 19 Jan 2009 14:12:26 +0000 (15:12 +0100)]
Add some compatibility aliases (copied from generic bits/sigaction.h).

10 years agoSince /dev/log is taken by the kernel, use /etc/.log for syslog unix socket
David Bartley [Wed, 14 Jan 2009 05:34:17 +0000 (05:34 +0000)]
Since /dev/log is taken by the kernel, use /etc/.log for syslog unix socket

10 years agoppoll should be restartable
David Bartley [Wed, 14 Jan 2009 05:34:03 +0000 (05:34 +0000)]
ppoll should be restartable

10 years agoFix error handling in access
David Bartley [Tue, 13 Jan 2009 22:03:21 +0000 (22:03 +0000)]
Fix error handling in access

10 years agoFix a bunch of compiler warnings and a few bugs
David Bartley [Tue, 13 Jan 2009 06:20:27 +0000 (06:20 +0000)]
Fix a bunch of compiler warnings and a few bugs

10 years agoRemove nsl_misc.c
David Bartley [Tue, 13 Jan 2009 05:49:00 +0000 (05:49 +0000)]
Remove nsl_misc.c

10 years agoFix access(X_OK) for super-user
David Bartley [Tue, 13 Jan 2009 05:48:04 +0000 (05:48 +0000)]
Fix access(X_OK) for super-user

10 years ago #undef ERR in gmon.c to fix compiler warning
David Bartley [Tue, 13 Jan 2009 02:25:48 +0000 (02:25 +0000)]
 #undef ERR in gmon.c to fix compiler warning

10 years agoMove some 32-bit x86 code into the common x86 directory
David Bartley [Mon, 12 Jan 2009 06:03:51 +0000 (01:03 -0500)]
Move some 32-bit x86 code into the common x86 directory

10 years agoMake ssh work (fixes in openpty and ptsname)
David Bartley [Mon, 12 Jan 2009 06:00:55 +0000 (01:00 -0500)]
Make ssh work (fixes in openpty and ptsname)

10 years agoFix type cast bug
David Bartley [Mon, 12 Jan 2009 03:58:46 +0000 (22:58 -0500)]
Fix type cast bug

10 years agoFix recvmsg; also fix minor cast errors
David Bartley [Mon, 12 Jan 2009 03:35:43 +0000 (22:35 -0500)]
Fix recvmsg; also fix minor cast errors

10 years agoAdd cmsg_nxthdr.c
David Bartley [Mon, 12 Jan 2009 02:52:50 +0000 (21:52 -0500)]
Add cmsg_nxthdr.c

10 years agoPass SOV_XPG4_2 and MSG_XPG4_2 everywhere
David Bartley [Mon, 12 Jan 2009 01:52:11 +0000 (20:52 -0500)]
Pass SOV_XPG4_2 and MSG_XPG4_2 everywhere

10 years agoPass MSG_XPG4_2 down to the kernel in sendmsg.c
David Bartley [Sun, 11 Jan 2009 23:27:22 +0000 (18:27 -0500)]
Pass MSG_XPG4_2 down to the kernel in sendmsg.c