kopensolaris-gnu/glibc.git
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

10 years agoFix euidaccess (test -x)
David Bartley [Sun, 11 Jan 2009 10:58:17 +0000 (05:58 -0500)]
Fix euidaccess (test -x)

10 years agoDefine NAME_MAX for compatibility reasons
David Bartley [Sun, 11 Jan 2009 10:36:19 +0000 (05:36 -0500)]
Define NAME_MAX for compatibility reasons

10 years agoFix typo
David Bartley [Sun, 11 Jan 2009 10:15:02 +0000 (05:15 -0500)]
Fix typo

10 years agoAdd audit_users and exec_attr to nss/databases.def
David Bartley [Sun, 11 Jan 2009 10:10:32 +0000 (05:10 -0500)]
Add audit_users and exec_attr to nss/databases.def

10 years agoMake (struct dirent).d_name length 256 for compatibility
David Bartley [Sun, 11 Jan 2009 10:09:46 +0000 (05:09 -0500)]
Make (struct dirent).d_name length 256 for compatibility

10 years agoForward declare and cleanup some internal get*_r functions
David Bartley [Thu, 8 Jan 2009 19:29:16 +0000 (14:29 -0500)]
Forward declare and cleanup some internal get*_r functions

10 years agoDefine gnu_dev_* for compatibility
David Bartley [Thu, 8 Jan 2009 06:57:48 +0000 (01:57 -0500)]
Define gnu_dev_* for compatibility

10 years agoRevert "Add fchmodat.c submitted by Robert Millan"
David Bartley [Thu, 8 Jan 2009 06:54:29 +0000 (01:54 -0500)]
Revert "Add fchmodat.c submitted by Robert Millan"

This reverts commit 609f6f33e02b6cd758f7538be0107ba862bec706.

Calling openat() on certain devices may have the collateral effect of blocking
the process, and then you never have a chance to fchmod() it, as a result you
can't change the permissions of e.g. /dev/ttyp0.

10 years agoAdd _CMSG_HDR_ALIGN to bits/socket.h
David Bartley [Thu, 8 Jan 2009 03:03:17 +0000 (22:03 -0500)]
Add _CMSG_HDR_ALIGN to bits/socket.h

10 years agoMinor comment fix
David Bartley [Wed, 7 Jan 2009 11:15:33 +0000 (06:15 -0500)]
Minor comment fix

10 years agoAdd sys/mkdev.h
David Bartley [Wed, 7 Jan 2009 11:11:34 +0000 (06:11 -0500)]
Add sys/mkdev.h

10 years agoFix makedev/major/minor bug
David Bartley [Wed, 7 Jan 2009 11:06:10 +0000 (06:06 -0500)]
Fix makedev/major/minor bug

10 years agostruct msgbuf is from sysv, not gnu
David Bartley [Wed, 7 Jan 2009 04:18:47 +0000 (23:18 -0500)]
struct msgbuf is from sysv, not gnu

10 years agoMove rtld_db.h
David Bartley [Wed, 7 Jan 2009 02:30:35 +0000 (21:30 -0500)]
Move rtld_db.h

10 years agoUse the mknod syscall instead of the deprecated xmknod one
David Bartley [Sun, 4 Jan 2009 11:43:55 +0000 (06:43 -0500)]
Use the mknod syscall instead of the deprecated xmknod one

10 years agoRemove ABS, MAX, and MIN - they cause more problems than they solve
David Bartley [Sun, 4 Jan 2009 11:14:01 +0000 (06:14 -0500)]
Remove ABS, MAX, and MIN - they cause more problems than they solve

10 years agoUTMPX_FILE and WTMPX_FILE are already defined in paths.h
David Bartley [Sun, 4 Jan 2009 10:39:34 +0000 (05:39 -0500)]
UTMPX_FILE and WTMPX_FILE are already defined in paths.h

10 years agoImplement more sun nss db stubs and file parsers
David Bartley [Sun, 4 Jan 2009 10:39:00 +0000 (05:39 -0500)]
Implement more sun nss db stubs and file parsers

10 years agoRemove sun nss compat code (moved to libsun)
David Bartley [Sun, 4 Jan 2009 09:52:49 +0000 (04:52 -0500)]
Remove sun nss compat code (moved to libsun)

10 years agoImplement x86_64 version of syscall.S (untested)
David Bartley [Sun, 4 Jan 2009 08:22:56 +0000 (03:22 -0500)]
Implement x86_64 version of syscall.S (untested)

10 years agoUndo __systemcall fix; actual bug is in port.c
David Bartley [Sun, 4 Jan 2009 08:17:46 +0000 (03:17 -0500)]
Undo __systemcall fix; actual bug is in port.c

10 years agoForward declare *_r functions
David Bartley [Sun, 4 Jan 2009 05:57:14 +0000 (00:57 -0500)]
Forward declare *_r functions

10 years agoFix xmknod in syscalls.list
David Bartley [Sun, 4 Jan 2009 03:27:15 +0000 (22:27 -0500)]
Fix xmknod in syscalls.list

10 years agoRemove strlcpy and strlcat from string/Makefile
David Bartley [Sun, 4 Jan 2009 03:17:39 +0000 (22:17 -0500)]
Remove strlcpy and strlcat from string/Makefile

10 years agoAdd ut_* from bits/utmp.h to bits/utmpx.h
David Bartley [Sun, 4 Jan 2009 01:18:11 +0000 (20:18 -0500)]
Add ut_* from bits/utmp.h to bits/utmpx.h

10 years agoAdd LOGNAME_MAX to bits/local_lim.h
David Bartley [Sun, 4 Jan 2009 01:12:49 +0000 (20:12 -0500)]
Add LOGNAME_MAX to bits/local_lim.h

10 years agoExport sys_errlist and sys_nerr for compatibility
David Bartley [Sun, 4 Jan 2009 00:41:00 +0000 (19:41 -0500)]
Export sys_errlist and sys_nerr for compatibility

10 years agoRemove more __USE_SUN macros
David Bartley [Sun, 4 Jan 2009 00:23:45 +0000 (19:23 -0500)]
Remove more __USE_SUN macros

10 years agoFix bug in __systemcall
David Bartley [Sun, 4 Jan 2009 00:02:34 +0000 (19:02 -0500)]
Fix bug in __systemcall

10 years agoFix xmknod
David Bartley [Sat, 3 Jan 2009 07:09:18 +0000 (02:09 -0500)]
Fix xmknod

10 years agoMake sure NODEV on LP64 is set correctly
David Bartley [Sat, 27 Dec 2008 04:18:05 +0000 (23:18 -0500)]
Make sure NODEV on LP64 is set correctly

10 years agoMinor indent fix in sys/sysmacros.h
David Bartley [Sat, 27 Dec 2008 04:17:15 +0000 (23:17 -0500)]
Minor indent fix in sys/sysmacros.h

10 years agoDon't remove AT_* definitions from fcntl.h but allow override in bits/fcntl.h
David Bartley [Sat, 27 Dec 2008 04:15:51 +0000 (23:15 -0500)]
Don't remove AT_* definitions from fcntl.h but allow override in bits/fcntl.h

10 years agoRemove additional sun compat. bits
David Bartley [Sat, 27 Dec 2008 04:11:08 +0000 (23:11 -0500)]
Remove additional sun compat. bits

10 years agoFix _ttyname_dev
David Bartley [Fri, 26 Dec 2008 15:54:39 +0000 (10:54 -0500)]
Fix _ttyname_dev

10 years agoAdd fchmodat.c submitted by Robert Millan
David Bartley [Fri, 26 Dec 2008 15:26:02 +0000 (10:26 -0500)]
Add fchmodat.c submitted by Robert Millan

10 years agoUpdate TODO.opensolaris
David Bartley [Thu, 25 Dec 2008 20:44:54 +0000 (15:44 -0500)]
Update TODO.opensolaris

10 years agoRemove sun compat bits
David Bartley [Thu, 25 Dec 2008 20:36:32 +0000 (15:36 -0500)]
Remove sun compat bits

10 years agoUpdate NOTES.opensolaris
David Bartley [Thu, 25 Dec 2008 19:59:17 +0000 (14:59 -0500)]
Update NOTES.opensolaris

11 years agoMagic
David Bartley [Wed, 5 Nov 2008 19:18:31 +0000 (14:18 -0500)]
Magic

11 years agoMore stuff
David Bartley [Tue, 7 Oct 2008 19:31:33 +0000 (15:31 -0400)]
More stuff

11 years agoMore stuff
David Bartley [Sun, 5 Oct 2008 19:27:14 +0000 (15:27 -0400)]
More stuff

11 years agoCheck return of pthread_cond_timedwait in lio_listio.c
David Bartley [Sun, 5 Oct 2008 19:26:39 +0000 (15:26 -0400)]
Check return of pthread_cond_timedwait in lio_listio.c

11 years agoMore stuff
David Bartley [Sat, 4 Oct 2008 11:27:58 +0000 (07:27 -0400)]
More stuff

11 years agoMore stuff
David Bartley [Sat, 4 Oct 2008 11:27:44 +0000 (07:27 -0400)]
More stuff

11 years agoHeader fixes; remove swapon/swapoff and sys/swap.h
David Bartley [Mon, 29 Sep 2008 02:56:01 +0000 (22:56 -0400)]
Header fixes; remove swapon/swapoff and sys/swap.h

11 years agoDon't define DT_* if we don't have d_type
David Bartley [Sun, 28 Sep 2008 06:47:10 +0000 (02:47 -0400)]
Don't define DT_* if we don't have d_type

11 years agoMore madness
David Bartley [Sun, 28 Sep 2008 05:12:27 +0000 (01:12 -0400)]
More madness

11 years agoFix sys/feature_tests.h
David Bartley [Sun, 28 Sep 2008 04:19:51 +0000 (00:19 -0400)]
Fix sys/feature_tests.h

11 years agoMore fixes
David Bartley [Sat, 27 Sep 2008 12:41:52 +0000 (08:41 -0400)]
More fixes

11 years agoPolar bears
David Bartley [Sat, 27 Sep 2008 04:17:17 +0000 (00:17 -0400)]
Polar bears

11 years agoEven more magic
David Bartley [Sat, 27 Sep 2008 02:46:35 +0000 (22:46 -0400)]
Even more magic

11 years agoMore magic
David Bartley [Sat, 27 Sep 2008 02:30:02 +0000 (22:30 -0400)]
More magic

11 years agoAdd bits/types.h
David Bartley [Sat, 27 Sep 2008 02:15:34 +0000 (22:15 -0400)]
Add bits/types.h

11 years agoMagic
David Bartley [Sat, 27 Sep 2008 00:48:59 +0000 (20:48 -0400)]
Magic

11 years agoFix headers
David Bartley [Thu, 25 Sep 2008 00:52:47 +0000 (20:52 -0400)]
Fix headers

11 years agoFix ttyname
David Bartley [Thu, 25 Sep 2008 00:52:28 +0000 (20:52 -0400)]
Fix ttyname

11 years agoMore stuff
David Bartley [Tue, 23 Sep 2008 22:45:08 +0000 (18:45 -0400)]
More stuff

11 years agoLots of magic
David Bartley [Mon, 22 Sep 2008 10:39:59 +0000 (06:39 -0400)]
Lots of magic

11 years agoFixes
David Bartley [Sun, 21 Sep 2008 13:08:50 +0000 (13:08 +0000)]
Fixes