Commit Graph

1459 Commits

Author SHA1 Message Date
Roland McGrath ac33e75b3e 2002-10-15 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/bits/resource.h: Replaced with the contents
	of the sysdeps/unix/sysv/linux/i386/bits/resource.h file.
	All the following files were identical or equivalent to it.
	* sysdeps/unix/sysv/linux/i386/bits/resource.h: File removed.
	* sysdeps/unix/sysv/linux/arm/bits/resource.h: File removed.
	* sysdeps/unix/sysv/linux/cris/bits/resource.h: File removed.
	* sysdeps/unix/sysv/linux/hppa/bits/resource.h: File removed.
	* sysdeps/unix/sysv/linux/ia64/bits/resource.h: File removed.
	* sysdeps/unix/sysv/linux/m68k/bits/resource.h: File removed.
	* sysdeps/unix/sysv/linux/powerpc/bits/resource.h: File removed.
	* sysdeps/unix/sysv/linux/s390/bits/resource.h: File removed.
	* sysdeps/unix/sysv/linux/sh/bits/resource.h: File removed.
	* sysdeps/unix/sysv/linux/x86_64/bits/resource.h: File removed.
2002-10-16 01:02:24 +00:00
Ulrich Drepper cd4fba2b2b (__fpathconf): Add support for reiserfs and xfs. 2002-10-16 00:36:59 +00:00
Ulrich Drepper 75380e2be2 (profil_counter): Add hack to prevent the compiler from clobbering the signal
context.
2002-10-14 17:26:14 +00:00
Roland McGrath 506ee216c4 2002-10-13 Roland McGrath <roland@frob.com>
* posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
	setresgid): Declare them.
	* NEWS: Mention it.
	* include/unistd.h
	(__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
	add libc_hidden_proto.
	* posix/Versions (libc: GLIBC_2.3.2): New set.  Add
	getresuid, getresgid, setresuid, setresgid here.
	* Versions.def (libc): Define GLIBC_2.3.2 set.
	* sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
	Add libc_hidden_def.
	* sysdeps/generic/getresgid.c (__getresgid): Likewise.
	* sysdeps/generic/setresgid.c: New file.
	* sysdeps/generic/setresuid.c: New file.
	* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
	(sysdep_routines): Don't add getresuid and getresgid here.
	* sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
	(sysdep_routines): Don't add setresuid and setresgid here.
	* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
	* posix/Makefile (routines): Add them all here instead.
	* sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
	__getresuid.  Add libc_hidden_def for that, and weak alias to old name.
	* sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
	__getresgid.  Add libc_hidden_def for that, and weak alias to old name.
	* sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
	[! __NR_setresuid]: Include generic file.
	* sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
	__setresgid.  Add libc_hidden_def for that, and weak alias to old name.
	[! __NR_setresuid]: Include generic file.
	* sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
	Caller is - now, not EXTRA.
	* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
	(setresuid, setresgid, getresuid, getresgid): Likewise.
	* sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
	Add these calls here.
	* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
	* sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2002-10-14 01:03:03 +00:00
Roland McGrath 0a26934100 2002-10-13 Roland McGrath <roland@frob.com>
* posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
	setresgid): Declare them.
	* NEWS: Mention it.
	* include/unistd.h
	(__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
	add libc_hidden_proto.
	* posix/Versions (libc: GLIBC_2.3.2): New set.  Add
	getresuid, getresgid, setresuid, setresgid here.
	* Versions.def (libc): Define GLIBC_2.3.2 set.
	* sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
	Add libc_hidden_def.
	* sysdeps/generic/getresgid.c (__getresgid): Likewise.
	* sysdeps/generic/setresgid.c: New file.
	* sysdeps/generic/setresuid.c: New file.
	* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
	(sysdep_routines): Don't add getresuid and getresgid here.
	* sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
	(sysdep_routines): Don't add setresuid and setresgid here.
	* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
	* posix/Makefile (routines): Add them all here instead.
	* sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
	__getresuid.  Add libc_hidden_def for that, and weak alias to old name.
	* sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
	__getresgid.  Add libc_hidden_def for that, and weak alias to old name.
	* sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
	[! __NR_setresuid]: Include generic file.
	* sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
	__setresgid.  Add libc_hidden_def for that, and weak alias to old name.
	[! __NR_setresuid]: Include generic file.
	* sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
	Caller is - now, not EXTRA.
	* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
	(setresuid, setresgid, getresuid, getresgid): Likewise.
	* sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
	Add these calls here.
	* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
	* sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
	(sysdep_routines): Add setfsuid and setfsgid here.
	* sysdeps/unix/sysv/linux/arm/Makefile: Not here.
	* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2002-10-14 01:02:53 +00:00
Roland McGrath d030d52da2 2002-10-07 Roland McGrath <roland@redhat.com>
* sysdeps/generic/errno.c: New file.
	* csu/Makefile (aux): New variable, list errno.
	* sysdeps/unix/sysv/linux/i386/sysdep.S (errno, _errno): Remove defns.
	* sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
	* sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
	* sysdeps/unix/sysv/linux/cris/sysdep.S: Likewise.
	* sysdeps/unix/sysv/linux/hppa/sysdep.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/sysdep.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sysdep.S: Likewise.
	* sysdeps/unix/sysv/linux/sh/sysdep.S: Likewise.
	* sysdeps/unix/alpha/sysdep.S: Likewise.
	* sysdeps/generic/start.c: Likewise.
	* sysdeps/unix/start.c: Likewise.
	* sysdeps/unix/arm/start.c: Likewise.
	* sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
	* sysdeps/unix/sparc/start.c: Likewise.
	* sysdeps/unix/sysv/irix4/start.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/sysdep.S: File removed.
2002-10-11 10:51:31 +00:00
Ulrich Drepper 96408c1d8c Not needed anymore. The generic version is sufficient. 2002-10-03 08:57:30 +00:00
Ulrich Drepper 5a0ab8474e Remove net/route.h. 2002-10-03 08:54:48 +00:00
Roland McGrath 700494fc4b 2002-10-01 Carlos O'Donell <carlos@baldric.uwo.ca>
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
	[__USE_GNU] (F_SETLEASE, F_GETLEASE, F_NOTIFY): New macros.
	[__USE_GNU] (DN_ACCESS, DN_MODIFY, DN_CREATE, DN_DELETE, DN_RENAME,
	DN_ATTRIB, DN_MULTISHOT): New macros.
2002-10-01 19:42:01 +00:00
Andreas Jaeger b1cbca217e Fix number of args to syscall. 2002-09-28 13:40:10 +00:00
Ulrich Drepper 0a398af98d SysV shared memory definitions for Linux/PA. 2002-09-28 04:05:23 +00:00
Ulrich Drepper 895185c62e SysV semaphore definitions for Linux/PA. 2002-09-28 04:04:44 +00:00
Ulrich Drepper 535cdc5140 SysV message queue definitions for Linux/PA. 2002-09-28 04:03:54 +00:00
Ulrich Drepper 53c72cc1d6 IPC definitions for Linux/PA. 2002-09-28 04:02:56 +00:00
Andreas Jaeger dafc949f65 Add syscall_exit. 2002-09-25 11:09:55 +00:00
Roland McGrath 20f7e3e794 2002-09-24 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/alpha/bits/time.h: File removed.
	It was indentical to the linux/bits/time.h file.
2002-09-25 01:57:50 +00:00
Roland McGrath c5947147ec 2002-09-18 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
	Add libc_hidden_def.
	* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2002-09-18 17:45:53 +00:00
Andreas Jaeger ad9dff54b0 Add readahead syscall. 2002-09-13 07:12:28 +00:00
Ulrich Drepper 0d272f7da5 pipe implementation for Linux/Alpha. 2002-08-29 00:00:38 +00:00
Ulrich Drepper d86c4cf889 (ECANCELED): Define to ECANCELLED if not defined by kernel headers. 2002-08-28 23:58:20 +00:00
Ulrich Drepper 50d9769d4b Error codes for Linux/Alpha. 2002-08-28 23:58:00 +00:00
Ulrich Drepper 6735862339 (libc): Add #errlist-compat comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3.
(librt): Add aio_cancel and aio_cancel64 as GLIBC_2.3.
2002-08-28 23:55:01 +00:00
Ulrich Drepper 0c605f5013 (libc): Add #errlist-compat comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3. 2002-08-28 23:53:22 +00:00
Ulrich Drepper bbb3856d85 Avoid unescaped newlines in string constants. 2002-08-28 21:26:20 +00:00
Ulrich Drepper 48fa58aa12 Add dl-brk.S. 2002-08-28 08:54:42 +00:00
Ulrich Drepper b45f281680 Add sys/user.h. 2002-08-27 16:06:03 +00:00
Roland McGrath 0a59ce67bf 2002-08-26 Roland McGrath <roland@redhat.com>
* sysdeps/gnu/Versions: New file.
	* sysdeps/unix/sysv/linux/Versions (libc: GLIBC_2.1): Remove
	_sys_errlist; sys_errlist; _sys_nerr; sys_nerr; from here.
	* sysdeps/gnu/Makefile ($(..)sysdeps/gnu/errlist-compat.c): New target.
	($(objpfx)errlist.d): Depend on $(..)sysdeps/gnu/errlist-compat.c.
	* sysdeps/gnu/errlist.awk: Make output define _sys_errlist_internal
	and _sys_nerr_internal instead of anything else.  Make it include
	"errlist-compat.c" if [!NOT_IN_libc && !ERRLIST_NO_COMPAT].
	Make it emit some asm magic if [EMIT_ERR_MAX].
	* sysdeps/gnu/errlist.c: Regenerated.
	* sysdeps/gnu/errlist-compat.awk: New file.
	* sysdeps/gnu/errlist-compat.c: New file (generated).
	* sysdeps/mach/hurd/errlist.c (ERRLIST_NO_COMPAT): New macro.
	(_sys_errlist_internal): Define this as	a macro for _hurd_errlist.
	(_sys_nerr_internal): Define this is a macro for _hurd_nerr.
	(SYS_ERRLIST, SYS_NERR): Macros removed.
	(sys_nerr, _sys_nerr): Remove these weak aliases.
	* sysdeps/unix/sysv/linux/errlist.c: File removed.
	* sysdeps/unix/sysv/linux/errlist.h: File removed.
	* sysdeps/unix/sysv/linux/arm/errlist.c: File removed.
2002-08-27 09:22:36 +00:00
Roland McGrath 13d6ef283d 2002-07-06 Bruno Haible <bruno@clisp.org>
* sysdeps/unix/sysv/linux/alpha/pipe.S: Moved to ...
	* sysdeps/unix/alpha/pipe.S: ... here.
	* sysdeps/unix/bsd/osf/alpha/pipe.S: File removed.
2002-08-26 11:37:32 +00:00
Roland McGrath 631d94cb30 2002-07-06 Bruno Haible <bruno@clisp.org>
* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.
	* sysdeps/unix/sysv/linux/hppa/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.
	* sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.
	* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.
	* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.
	* sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.
	* sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Swap DO_CALL
	arguments.
	(DO_CALL): Swap argument order.
2002-08-26 11:37:24 +00:00
Ulrich Drepper 564fb196d6 SysV message queue definitions for Linux/MIPS. 2002-08-26 01:49:55 +00:00
Ulrich Drepper 9c3c87e2ec Update comment regarding placement of errno definition. 2002-08-24 23:26:47 +00:00
Ulrich Drepper 28fdb447c1 Define SHMLBA. 2002-08-23 22:26:25 +00:00
Andreas Jaeger 1077d52cfb Remove *xattr syscalls. 2002-08-23 09:29:00 +00:00
Andreas Jaeger 074a6e5efa Add *xattr syscalls with version 2.3. 2002-08-15 09:01:52 +00:00
Ulrich Drepper 28b5d5afc6 (glob, globfree, globfree64): Add libc_hidden_ver. 2002-08-05 00:31:32 +00:00
Ulrich Drepper 9b4c30e300 Add _sys_siglist_internal alias. 2002-08-04 23:26:50 +00:00
Ulrich Drepper a42044dc37 (__xmknod): Add libc_hidden_def. 2002-08-04 09:23:46 +00:00
Roland McGrath 237b9f1c7b 2002-08-03 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/clone.S (thread_start): Use
	HIDDEN_JUMPTARGET for _exit.
	* sysdeps/unix/sysv/linux/m68k/clone.S (thread_start): Likewise.
	* sysdeps/unix/sysv/linux/i386/clone.S (thread_start): Likewise.
	* sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
	* sysdeps/unix/_exit.S (_exit): Add libc_hidden_def.
2002-08-04 01:28:09 +00:00
Ulrich Drepper 9f0c7fbd18 Remove all __GI_* aliases. 2002-08-03 19:44:44 +00:00
Ulrich Drepper 78413eec88 Add __GI_ aliases. 2002-08-03 06:58:54 +00:00
Ulrich Drepper da5f5f7986 Add libc_hidden_def. Remove undef and INTDEF. 2002-08-03 06:57:53 +00:00
Ulrich Drepper 4def79b563 (__adjtimex_internal): Add alias. 2002-07-27 08:40:18 +00:00
Ulrich Drepper 31db6c4d74 (PUSHARGS_1): Use more efficient instruction.
(__socket): Optimize return sequence.
2002-07-24 17:36:44 +00:00
Ulrich Drepper b24fa78c3b Remove extra weak alias definiton of _old_sys_nerr. Define _old_sys_errlist
as strong alias.
2002-07-24 11:17:01 +00:00
Ulrich Drepper 841f536f46 Remove __set_errno definition. 2002-07-20 01:02:01 +00:00
Ulrich Drepper d7fafc1a39 Sign extend offset. 2002-07-17 20:42:56 +00:00
Ulrich Drepper 176b5726d7 Don't include <sgidefs.h>. Always use ll/sc. 2002-07-16 00:58:07 +00:00
Ulrich Drepper 8310ff4225 [subdir=elf] (sysdep-rtld-routines, sysdep_routines, sysdep-dl-routines): Don't
define.
2002-07-15 02:07:17 +00:00
Andreas Jaeger d6749b4a61 * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
Use correct indices.
	Patch by Eliot Dresselhaus <eliot@ayrnetworks.com>.
2002-07-12 23:25:56 +00:00
Ulrich Drepper 064d652e93 Wrong approach. 2002-07-10 20:22:09 +00:00
Andreas Jaeger 3fb27d8d9a Linux/MIPS specific file with extra value of SHMLBA. 2002-07-09 06:32:55 +00:00
Andreas Jaeger 4223e67fa1 Fix typo. 2002-07-08 16:58:14 +00:00
Andreas Jaeger 8248bb200e * sysdeps/unix/sysv/linux/alpha/sendfile64.c: New.
* sysdeps/unix/sysv/linux/ia64/sendfile64.c: New.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: New.
	* sysdeps/unix/sysv/linux/x86_64/sendfile64.c: New.
	* sysdeps/unix/sysv/linux/syscalls.list (sendfile): Remove EXTRA.
	(sendfile64): Likewise.
	* sysdeps/unix/sysv/linux/alpha/syscalls.list (sendfile): Likewise.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list (sendfile): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (sendfile):
	Likewise.
	* sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Likewise.
2002-06-07 12:33:51 +00:00
Ulrich Drepper 79c8c187bb Add readahead syscall. Add sendfile64 alias to sendfile syscall. 2002-05-30 23:23:09 +00:00
Ulrich Drepper a514656381 (__recvmsg, __sendmsg): Add aliases. 2002-05-15 00:20:02 +00:00
Ulrich Drepper 337ca8062e Add __connect_internal. 2002-04-19 07:56:42 +00:00
Ulrich Drepper 016f45be9b Define __gettimeofday alias. 2002-04-14 09:12:57 +00:00
Ulrich Drepper a02fe38fa8 Use INTDEF for __getpagesize. 2002-04-14 08:41:04 +00:00
Ulrich Drepper e4bf0032b0 Use INTUSE for __chown calls. 2002-04-09 20:26:17 +00:00
Ulrich Drepper 521d1bc7f4 brk implementation for dynamic linker. 2002-04-06 01:34:06 +00:00
Ulrich Drepper ef8af250ff (_DL_HWCAP_COUNT): Define as 8. 2002-04-03 06:55:14 +00:00
Ulrich Drepper 9a168f2b42 Completely specify size of _dl_arm_cap_flags. 2002-04-03 06:54:28 +00:00
Roland McGrath 2d5fe9e39b 2002-03-23 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/i386/Makefile
	(sysdep_routines, shared-only-routines): Don't add framestate,
	reverting 2001-10-02 change.
	* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
	* sysdeps/generic/Makefile (sysdep_routines, shared-only-routines):
	Do it here instead, only if [$(unwind-find-fde) = yes].
2002-03-24 01:55:18 +00:00
Andreas Jaeger b16fd2b050 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Don't include
<signal.h>, <sys/ucontext.h> nor <asm/elf.h>. Updated for gdb.

	* sysdeps/unix/sysv/linux/mips/sys/user.h: New.
2002-02-08 16:21:00 +00:00
Andreas Jaeger c149ac8f45 * sysdeps/mips/atomicity.h (compare_and_swap): Remove
".set noreorder".
	* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set):
	Likewise.
2002-02-08 16:15:32 +00:00
Andreas Jaeger 6d1e7ba623 Do not use branch likely. 2002-02-07 10:39:06 +00:00
Ulrich Drepper d7d16bb3ea (_test_and_set): Use branch likely. 2002-02-03 02:25:17 +00:00
Ulrich Drepper a242df8440 Remove dl-procinfo.c. 2002-02-01 19:11:08 +00:00
Ulrich Drepper 8bd56b60c4 Move _dl_hp_timing_overhead and procinfo-related variables in
rtld_global struct.
2002-02-01 07:48:43 +00:00
Ulrich Drepper f71d7f5726 Move global variables for SHARED code in struct _rtld_global. Export
this struct, remove all exports for the signal variables.
2002-02-01 01:32:06 +00:00
Ulrich Drepper 6f68ec79d2 Avoid warning about comma at end of enum for !_GNU_SOURCE. 2002-01-18 23:37:53 +00:00
Ulrich Drepper 3c2105f0b0 Define _G_MMAP64. 2002-01-07 09:18:53 +00:00
Andreas Jaeger 90a0de032a Remove __brk_addr alias, avoid warning. 2001-11-26 08:37:35 +00:00
Ulrich Drepper decdce5e7c (sysdep-routines): Add framestate. 2001-11-16 01:24:04 +00:00
Ulrich Drepper 9bfdd6609c (__register_frame_info, __deregister_frame_info): Move to elf/Versions. 2001-11-16 01:22:33 +00:00
Andreas Schwab ffd88164dc New file to fix RLIM_INFINITY. 2001-11-09 19:57:55 +00:00
Andreas Jaeger 35b1d4b18e Make sysmips() prototype a varargs prototype. Remove dependency from kernel header files. 2001-10-15 11:56:11 +00:00
Andreas Jaeger f255cc1218 General cleanup, use __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate. 2001-10-15 11:55:20 +00:00
Ulrich Drepper 916ea7e833 (struct cmsghdr): Don't declare __cmsg_data field if its size would be bigger
than 0.
(CMSG_DATA): Adjust accordingly.
2001-09-26 05:23:10 +00:00
Ulrich Drepper 8c2b0506ec Include <errno.h>.
(__syscall_gethostname): Add prototype.
2001-09-05 00:08:11 +00:00
Ulrich Drepper 19635181cc gethostname implementation for Linux/Alpha. 2001-09-03 17:10:56 +00:00
Andreas Jaeger fa5c1c570d 2001-08-24 Maciej W. Rozycki macro@ds2.pg.gda.pl
* sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
	empty to prevent junk from being generated.
	sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2001-08-24 18:27:55 +00:00
Andreas Jaeger a4f1359e63 * sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed.
	* sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed.
	* sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed.
	* sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.
2001-07-31 07:46:06 +00:00
Ulrich Drepper 2b948198f1 Add sys/procfs.h. 2001-07-28 06:07:40 +00:00
Andreas Schwab db08f905e8 Don't mark asm input operand as clobbered. 2001-07-22 18:18:48 +00:00
Andreas Schwab 48bfe44538 (INLINE_SYSCALL): Don't mark asm input operand as clobbered. 2001-07-22 18:18:34 +00:00
Andreas Jaeger c1babb4b9d Synch with kernel. 2001-07-20 06:05:16 +00:00
Andreas Schwab 44dce39192 Fix last change. 2001-07-17 17:12:10 +00:00
Andreas Schwab b5f709a1ff Special versions for Linux/m68k. 2001-07-15 15:30:50 +00:00
Andreas Schwab f476000f87 Check _dl_pagesize first. Default to 4096, not EXEC_PAGESIZE. 2001-07-15 15:25:11 +00:00
Andreas Jaeger 6b440a5c6e Removed, we can use the generic Linux version. 2001-07-06 07:14:28 +00:00
Andreas Jaeger 3214b89b32 Update to LGPL v2.1. 2001-07-06 04:56:23 +00:00
Andreas Jaeger 6fbcd2261e Synch with Linux 2.4.5:
* sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
	New.
	(AF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
	(PF_BLUETOOTH): New.
	(AF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
	(PF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
	(PF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
	(AF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
	(AF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.

	* sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.

	* sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.

	* sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
2001-07-05 08:46:28 +00:00
Ulrich Drepper 99e859a488 Define __MAX_BAUD. 2001-06-14 00:21:01 +00:00
Andreas Jaeger f325056f09 Implement syscall. 2001-06-06 11:49:29 +00:00
Andreas Jaeger 97b30982ce Remove dummy syscall. 2001-06-06 11:49:17 +00:00
Andreas Jaeger ed48681558 Call getrlimit, setrlimit directly instead of using wrappers. 2001-06-06 11:44:24 +00:00
Andreas Jaeger b496bd686c Removed. 2001-06-06 11:35:25 +00:00
Andreas Jaeger b81e88a055 Linux/MIPS specific version. 2001-05-27 08:40:14 +00:00
Andreas Jaeger 3901129ce4 Change sigsuspend to s_sigsuspend. Add s_mmap2. 2001-05-27 08:39:56 +00:00
Andreas Jaeger fc0f915617 (ipc_perm): Put back __key. 2001-05-27 08:34:45 +00:00
Andreas Jaeger b5cd3bfc63 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
* sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
2001-05-11 16:48:37 +00:00
Andreas Jaeger 979dedac4f Make structure definitions match the kernel definitions. 2001-04-30 07:20:38 +00:00
Andreas Jaeger 30ecc70c40 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.

	* sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
	Linux 2.4.4.
	(AF_WANPIPE): Likewise.
	(MSG_MORE): New.

	* sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
	for Linux generic version.
	* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.

	* sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2001-04-29 12:30:59 +00:00
Ulrich Drepper b390705b1c <resource.h> definitions for Linux/HPPA. 2001-04-25 20:19:39 +00:00
Ulrich Drepper 179c96ec73 mmap64 implementation for Linux/HPPA. 2001-04-25 20:19:03 +00:00
Ulrich Drepper 353e429d96 getdents64 implementation for Linux/HPPA. 2001-04-25 20:18:14 +00:00
Ulrich Drepper 90256e473e Include sys/procfs.h not sys/elf.h. 2001-04-22 14:10:28 +00:00
Ulrich Drepper e8551fba7f (struct user_fpregs): Renamed from struct user_fp.
(struct user_regs): New.
(struct user): Use struct user_regs rather than struct pt_regs to
avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
of struct user_fp and struct user_fp_struct.
2001-04-22 14:10:14 +00:00
Ulrich Drepper ace45f1fd0 Move contents to sys/procfs.h, and tell the user to include that file instead. 2001-04-22 14:08:57 +00:00
Ulrich Drepper c2a38d017e Remove old cruft surrounded with #if 0.
(elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
from sys/elf.h.
(prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
elf_fpregset_t respectively.
2001-04-22 14:07:25 +00:00
Ulrich Drepper 7ace52d01f Also print the address that faulted. 2001-04-22 14:02:39 +00:00
Ulrich Drepper 15a25bb641 Fix clone system call entry point stub. 2001-04-22 03:24:39 +00:00
Ulrich Drepper fe6fac6851 Removed ptrace entry so the ptrace.c wrapper is used. 2001-04-22 03:23:45 +00:00
Ulrich Drepper 21e7ad57ab (NGREG, NFPREG, gregset): Correct for new kernel definitions. 2001-04-20 06:05:52 +00:00
Ulrich Drepper 6e3bde59b4 (CALL_MCOUNT): Update comment. 2001-04-20 06:05:04 +00:00
Ulrich Drepper 964b686b75 (INLINE_SYSCALL): Change to return a signed result for compatibility with other
architectures, and correctness.
2001-04-19 21:23:49 +00:00
Andreas Jaeger 6f66c56d4e Fix typos in last patch. 2001-04-19 09:35:01 +00:00
Andreas Jaeger 070b2d2a8e Fix typos in last patch. 2001-04-19 09:33:50 +00:00
Ulrich Drepper a7d0b32d5f [!__ASSEMBLY__]: Declare __start. 2001-04-10 22:32:04 +00:00
Ulrich Drepper fe4dd66ed7 setresuid implementation for Linux/CRIS. 2001-04-09 05:08:36 +00:00
Ulrich Drepper 51610bc7b3 setresgid implementation for Linux/CRIS. 2001-04-09 05:08:17 +00:00
Ulrich Drepper 12d6ab7b10 __xstat implementation for Linux/CRIS. 2001-04-09 04:51:09 +00:00
Ulrich Drepper b13de4a8b7 vfork implementation for Linux/CRIS. 2001-04-09 04:50:57 +00:00
Ulrich Drepper c2e42b7134 System specific code for Linux/CRIS. 2001-04-09 04:50:44 +00:00
Ulrich Drepper a2c5e2b43a System specific definitions for Linux/CRIS. 2001-04-09 04:50:27 +00:00
Ulrich Drepper c8e66742e2 syscall implementation for Linux/CRIS. 2001-04-09 04:50:08 +00:00
Ulrich Drepper b660421d48 ucontext definitions for Linux/CRIS. 2001-04-09 04:49:56 +00:00
Ulrich Drepper 22ebc6a15f socket implementation for Linux/CRIS. 2001-04-09 04:49:41 +00:00
Ulrich Drepper 25a87ddfb0 shmctl implementation for Linux/CRIS. 2001-04-09 04:49:25 +00:00
Ulrich Drepper 1157fe0248 setuid implementation for Linux/CRIS. 2001-04-09 04:49:10 +00:00
Ulrich Drepper a6aa3792be setrlimit implementation for Linux/CRIS. 2001-04-09 04:48:56 +00:00
Ulrich Drepper 382b7b8995 setreuid implementation for Linux/CRIS. 2001-04-09 04:48:41 +00:00
Ulrich Drepper 4c8b7016a8 setregid implementation for Linux/CRIS. 2001-04-09 04:48:27 +00:00
Ulrich Drepper f79e192ba6 setgroups implementation for Linux/CRIS. 2001-04-09 04:48:09 +00:00
Ulrich Drepper e1cb46ec7a setgid implementation for Linux/CRIS. 2001-04-09 04:47:52 +00:00
Ulrich Drepper 75938458d7 setfsuid implementation for Linux/CRIS. 2001-04-09 04:47:29 +00:00
Ulrich Drepper 70f5c90d37 setfsgid implementation for Linux/CRIS. 2001-04-09 04:47:13 +00:00
Ulrich Drepper abf44d0128 seteuid implementation for Linux/CRIS. 2001-04-09 04:46:45 +00:00
Ulrich Drepper b074d424bd setegid implementation for Linux/CRIS. 2001-04-09 04:46:28 +00:00
Ulrich Drepper f63b7c8b19 semctl implementation for Linux/CRIS. 2001-04-09 04:46:05 +00:00
Ulrich Drepper 0cfe451872 Register dump code for Linux/CRIS. 2001-04-09 04:45:39 +00:00
Ulrich Drepper efe7db140e Profile helper definitions for Linux/CRIS. 2001-04-09 04:45:23 +00:00
Ulrich Drepper 6f41227c00 msgctl implementation for Linux/CRIS. 2001-04-09 04:45:00 +00:00
Ulrich Drepper 83fcbc9f9c mmap64 implementation for Linux/CRIS. 2001-04-09 04:44:45 +00:00
Ulrich Drepper 1e9050b191 mmap implementation for Linux/CRIS. 2001-04-09 04:43:42 +00:00
Ulrich Drepper 9783a2c16b __lxstat implementation for Linux/CRIS. 2001-04-09 04:43:24 +00:00
Ulrich Drepper 0ef01ce34a lockf64 implementation for Linux/CRIS. 2001-04-09 04:43:05 +00:00
Ulrich Drepper 1e1229ee3d lchown implementation for Linux/CRIS. 2001-04-09 04:42:48 +00:00
Ulrich Drepper d4c00be41b getuid implementation for Linux/CRIS. 2001-04-09 04:36:48 +00:00
Ulrich Drepper b7119d5193 getrlimit64 implementation for Linux/CRIS. 2001-04-09 04:36:29 +00:00
Ulrich Drepper 4fa1498695 getrlimit implementation for Linux/CRIS. 2001-04-09 04:36:16 +00:00
Ulrich Drepper ca9495b62e getresuid implementation for Linux/CRIS. 2001-04-09 04:35:56 +00:00
Ulrich Drepper 7663b23c29 getresgid implementation for Linux/CRIS. 2001-04-09 04:35:40 +00:00
Ulrich Drepper 77e0283665 getgroups implementation for Linux/CRIS. 2001-04-09 04:35:21 +00:00
Ulrich Drepper 58e6c6c253 getgid implementation for Linux/CRIS. 2001-04-09 04:35:05 +00:00
Ulrich Drepper ac9292a134 geteuid implementation for Linux/CRIS. 2001-04-09 04:34:52 +00:00
Ulrich Drepper f96ae8fee8 getegid implementation for Linux/CRIS. 2001-04-09 04:34:34 +00:00
Ulrich Drepper 49b9983558 __fxstat implementation for Linux/CRIS. 2001-04-09 04:34:09 +00:00
Ulrich Drepper d00b608d09 fcntl implementation for Linux/CRIS. 2001-04-09 04:33:52 +00:00
Ulrich Drepper dc778674f3 fchown implementation for Linux/CRIS. 2001-04-09 04:33:08 +00:00
Ulrich Drepper 0f5e0abce9 clone implementation for Linux/CRIS. 2001-04-09 04:32:55 +00:00
Ulrich Drepper 2a509b902e chown implementation for Linux/CRIS. 2001-04-09 04:32:41 +00:00
Ulrich Drepper 223bf22682 brk implementation for Linux/CRIS. 2001-04-09 04:32:28 +00:00
Ulrich Drepper e1eebead7a <sys/resource.h> definitions for Linux/CRIS. 2001-04-09 04:32:15 +00:00
Ulrich Drepper 187454c642 <sys/mman.h> definitions for Linux/CRIS. 2001-04-09 04:31:50 +00:00
Ulrich Drepper d2d1cc6e89 <fcntl.h> definitions for Linux/CRIS. 2001-04-09 04:31:35 +00:00
Ulrich Drepper 2e3938d45f libio config for Linux/CRIS. 2001-04-09 04:31:15 +00:00
Ulrich Drepper 58dc8bd3f5 Additional rules for Linux/CRIS. 2001-04-09 04:31:00 +00:00
Ulrich Drepper 693ba46706 Additional files to distribute for Linux/CRIS. 2001-04-09 04:30:48 +00:00
Ulrich Drepper fefb54b6d6 (INLINE_SYSCALL): Fix typo; s/==/=/ for assignment. 2001-04-09 03:58:11 +00:00
Ulrich Drepper 4adec71eab (GET_NPROCS_PARSER): added code to parse new 2.4 format.
(GET_NPROCS_CONF_PARSER): likewise.
2001-04-06 22:37:39 +00:00
Andreas Jaeger 0b3ec5b028 Add prototype for __umount2. 2001-04-02 12:32:51 +00:00
Ulrich Drepper e8d795b077 Add MAP_* and MADV_* defines to match other architectures. 2001-03-27 02:43:47 +00:00
Ulrich Drepper d76aa2b87e (CALL_SIGHANDLER): Define. 2001-03-16 23:52:16 +00:00
Ulrich Drepper 7f21c16fbf m68k-specific definitions for ldconfig. 2001-03-10 16:16:44 +00:00
Ulrich Drepper 10e506a635 Add dl-procinfo.c and dl-procinfo.h. 2001-03-10 06:37:12 +00:00
Ulrich Drepper ce56b0a81a [subdir=elf] (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
dl-procinfo.
2001-03-10 06:36:31 +00:00
Ulrich Drepper 807c3437eb Interface definitions for functions to handle processor specific features
on Linux/Arm.
2001-03-10 06:36:09 +00:00
Ulrich Drepper e3a9f6bb39 Handling processor specific features for Linux/Arm. 2001-03-10 06:35:45 +00:00
Ulrich Drepper 5c4a646199 (__S_TYPEISMQ, __S_TYPEISSEM, __S_TYPEISSHM): Rewrite to enforce correct
use the macros.  They still always return zero.
2001-03-05 18:28:40 +00:00
Ulrich Drepper 1052cd9dac Define SI_ASYNCNL. 2001-03-04 19:28:52 +00:00
Ulrich Drepper abb2a703aa Allow __need_sigevent_t being defined and provide only that definition. 2001-03-03 18:15:33 +00:00
Ulrich Drepper 84a29bc1f5 (ftruncate): Add __ftruncate64 alias. 2001-02-16 18:12:10 +00:00
Ulrich Drepper 305f83de53 Define __ftruncate64 and make old name a weak alias. 2001-02-13 22:09:09 +00:00
Ulrich Drepper 1ed6488cdb Remove comma at end of enum. 2001-02-03 17:05:56 +00:00
Ulrich Drepper 77e906bb3a File was using crlf. 2001-02-03 17:04:37 +00:00
Ulrich Drepper 4b3d3c61d4 Don't define CLK_TCK for XPG6. 2001-01-28 05:37:10 +00:00
Ulrich Drepper 8032f91d4c Liunx/Alpha version of statvfs definitions. 2001-01-27 22:41:42 +00:00
Ulrich Drepper 0688457b47 (struct sockaddr_storage): Define ss_family and __ss_family.
(struct msghdr): Change type of msg_iovlen to int and type of
msg_controllen to socklen_t.
2001-01-27 21:25:38 +00:00
Ulrich Drepper 72f561b477 Linux/Alpha specific socket.h definitions. 2001-01-27 21:23:45 +00:00
Ulrich Drepper 0361ba3046 Don't define __fd_mask, __NFDBITS, __FDELT, __FDMASK, and __fd_set here. 2001-01-27 19:27:16 +00:00
Ulrich Drepper 1ae7e5b695 Define sigev_notify_attr with real type. 2001-01-27 06:29:16 +00:00
Ulrich Drepper cb25fffef1 Define NPOLLFILE only if __USE_MISC. 2001-01-27 04:59:52 +00:00
Ulrich Drepper 274a3ffc63 [libc] (GLIBC_2.2.2): Add wordexp. 2001-01-26 02:16:41 +00:00
Ulrich Drepper 2b0edb5a1e Correct definition of wordexp_t. 2001-01-26 02:16:03 +00:00
Andreas Jaeger ea3e9a37c0 Fix typo in last patch. 2001-01-16 06:38:37 +00:00
Ulrich Drepper b4b331c712 Remove select syscall handling. The generic Linux version should work. 2001-01-15 20:29:25 +00:00
Andreas Jaeger 722a930901 * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
Change type of CTX to (struct sigcontext *).
	* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
	(GET_FRAME): Likewise.
	(GET_STACK): Likewise.
	(SIGCONTEXT): Likewise. Add 2nd arg _code.
	(SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
2001-01-15 07:02:28 +00:00
Ulrich Drepper cce723df01 Remove sys/acct.h. 2001-01-07 07:03:36 +00:00
Andreas Jaeger f1ae27dd2f Declare kernel_sigset_t and use it.
Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
2000-12-11 19:27:03 +00:00
Andreas Jaeger f0fe91e772 New file, copy from generic linux version with small changes due to
different sigset_t.
2000-12-09 18:32:00 +00:00
Andreas Jaeger 1f8a9b39de Removed, we can use the generic version. 2000-12-09 18:31:01 +00:00
Andreas Jaeger ae8186b5e3 (_test_and_set): Don't set mips2. 2000-12-05 17:59:58 +00:00
Andreas Jaeger 87af90e7c3 Linux/MIPS specific version. 2000-12-05 17:40:39 +00:00
Andreas Jaeger 6943ccb42b Removed. 2000-12-05 17:39:49 +00:00
Andreas Jaeger 832725ccb4 Remove unused variable. 2000-11-29 09:24:50 +00:00
Andreas Jaeger 9ae8d03731 Synch with generic Linux version. 2000-11-28 09:17:38 +00:00
Andreas Jaeger 6e6f5adcfb (struct cmsghdr): Use __flexarr. 2000-11-28 08:05:11 +00:00
Andreas Schwab 0abafb2042 * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
* sysdeps/arm/setjmp.S: Likewise.
* sysdeps/arm/fpu/setjmp.S: Likewise.
* sysdeps/i386/setjmp.S: Likewise.
* sysdeps/i386/elf/setjmp.S: Likewise.
* sysdeps/s390/setjmp.S: Likewise.
* sysdeps/s390/elf/setjmp.S: Likewise.
* sysdeps/sh/sh3/setjmp.S: Likewise.
* sysdeps/sh/sh4/setjmp.S: Likewise.
* sysdeps/sparc/sparc32/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
2000-11-21 20:55:38 +00:00
Andreas Jaeger ec5d5a4d92 (O_NOFOLLOW): Use same value defined in /usr/include/asm-mips/fcntl.h. 2000-11-20 07:55:22 +00:00
Andreas Jaeger bddc20b59a (kernel_stat): Expand time_t to 'long int' not, 'unsigned int'. Use 'long int' for
__unused? members.
2000-11-20 07:55:06 +00:00
Andreas Jaeger 081c74d4cc Fix comments 2000-11-20 07:54:19 +00:00
Ulrich Drepper 7f10098010 Correct last patch. 2000-11-10 05:06:34 +00:00
Ulrich Drepper a632433d28 (GLIBC_2.1.1): Add getitimer. 2000-11-10 05:00:14 +00:00
Ulrich Drepper e569ff55ac (CLK_TCK): Cast sysconf result to __clock_t. 2000-11-01 20:59:56 +00:00
Ulrich Drepper 374305ef42 Use __sysconf to for CLK_TCK. 2000-11-01 08:07:45 +00:00
Ulrich Drepper abde23bdcf Linux/Alpha version of function to get CLK_TCK value. 2000-11-01 08:06:06 +00:00
Ulrich Drepper b2746c3a16 Additional files to distribute in sysdeps/unix/sysv/linux/hppa. 2000-10-27 06:40:17 +00:00
Andreas Jaeger eed537401d Add fcntl64. 2000-10-23 06:26:50 +00:00
Andreas Jaeger 8a02fd962e Include <asm/unistd.h>. 2000-10-20 07:02:12 +00:00
Ulrich Drepper d0168cc099 (__new_semctl): Pass union semun as 4th argument to semctl syscall, not
address of it.
2000-10-20 06:14:58 +00:00
Ulrich Drepper 2d4515fc57 Cleanup. 2000-10-15 18:37:53 +00:00
Ulrich Drepper 37374d91ac Linux/HPPA errno definitions. 2000-10-15 03:58:58 +00:00
Ulrich Drepper ff3e496930 Linux/HPPA specific ucontext definitions. 2000-10-15 03:30:29 +00:00
Ulrich Drepper 06a5b96db3 Linux/HPPA specific debugging data structures. 2000-10-15 03:30:16 +00:00
Ulrich Drepper 58a36ea303 Linux/HPPA specific signal number definitions. 2000-10-15 03:29:47 +00:00
Ulrich Drepper e7f6c890c3 Linux/HPPA specific sigaction definitions. 2000-10-15 03:29:35 +00:00
Ulrich Drepper aed8020367 Linux/HPPA specific mman definitions. 2000-10-15 03:29:27 +00:00
Ulrich Drepper 5b8483160d Linux/HPPA specific ioctl definitions. 2000-10-15 03:29:17 +00:00
Ulrich Drepper f7c460d411 Linux/HPPA specific fcntl definitions. 2000-10-15 03:29:10 +00:00
Ulrich Drepper a22a888980 Linux/HPPA specific umount definition. 2000-10-15 03:28:55 +00:00
Ulrich Drepper a30ba90d2e Linux/HPPA specific low-level definitions. 2000-10-15 03:28:47 +00:00
Ulrich Drepper a61e86b079 Linux/HPPA specific low-level object definitions. 2000-10-15 03:28:38 +00:00
Ulrich Drepper 19cf2cc288 Linux/HPPA specific syscall list. 2000-10-15 03:28:22 +00:00
Ulrich Drepper 6357ebdf00 Linux/HPPA specific syscall implementation. 2000-10-15 03:28:15 +00:00
Ulrich Drepper 7e61a792a4 Linux/HPPA specific socket implementation. 2000-10-15 03:28:06 +00:00
Ulrich Drepper 93309db87c Linux/HPPA specific setrlimit implementation. 2000-10-15 03:27:57 +00:00
Ulrich Drepper b60369154c Linux/HPPA specific entry point for profiling. 2000-10-15 03:27:46 +00:00
Ulrich Drepper e4dccb0b6a Linux/HPPA specific mmap implementation. 2000-10-15 03:27:14 +00:00
Ulrich Drepper f67381e6d5 Linux/HPPA kernel specific stat definitions. 2000-10-15 03:26:58 +00:00
Ulrich Drepper 3a13cef1c2 Linux/HPPA kernel specific sigaction definitions. 2000-10-15 03:26:50 +00:00
Ulrich Drepper 18a940ad38 Linux/HPPA specific getrlimit64 implementation. 2000-10-15 03:26:34 +00:00
Ulrich Drepper f0fb7e01e5 Linux/HPPA specific getrlimit implementation. 2000-10-15 03:26:27 +00:00
Ulrich Drepper b35e240743 Linux/HPPA specific clone implementation. 2000-10-15 03:26:18 +00:00
Ulrich Drepper 2d9665cddc Linux/HPPA specific brk implementation. 2000-10-15 03:26:10 +00:00
Ulrich Drepper 6d9ee98317 Linux/HPPA specific Versions. 2000-10-15 03:26:01 +00:00
Ulrich Drepper b8829d504f Linux/HPPA specific Makefile. 2000-10-15 03:25:52 +00:00
Andreas Schwab adf9969ce1 2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>
* sysdeps/unix/sysv/linux/m68k/alphasort64.c: New file.
	* sysdeps/unix/sysv/linux/m68k/fcntl.c: New file.
	* sysdeps/unix/sysv/linux/m68k/getdents64.c: New file.
	* sysdeps/unix/sysv/linux/m68k/getrlimit.c: New file.
	* sysdeps/unix/sysv/linux/m68k/getrlimit64.c: New file.
	* sysdeps/unix/sysv/linux/m68k/glob64.c: New file.
	* sysdeps/unix/sysv/linux/m68k/lockf64.c: New file.
	* sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: New file.
	* sysdeps/unix/sysv/linux/m68k/readdir64.c: New file.
	* sysdeps/unix/sysv/linux/m68k/readdir64_r.c: New file.
	* sysdeps/unix/sysv/linux/m68k/scandir64.c: New file.
	* sysdeps/unix/sysv/linux/m68k/setrlimit.c: New file.
	* sysdeps/unix/sysv/linux/m68k/versionsort64.c: New file.
	* sysdeps/unix/sysv/linux/m68k/Dist: Add oldgetrlimit64.c.
	* sysdeps/unix/sysv/linux/m68k/Makefile: Add oldgetrlimit64.
	* sysdeps/unix/sysv/linux/m68k/Versions: Export __xstat64,
	__fxstat64, __lxstat64, alphasort64, glob64, getrlimit, setrlimit,
	getrlimit64, readdir64, readdir64_r, scandir64, versionsort64 at
	GLIBC_2.2.
	* sysdeps/unix/sysv/linux/m68k/syscalls.list: Add oldgetrlimit,
	oldsetrlimit for GLIBC_2.0.
2000-10-14 17:50:13 +00:00
Andreas Schwab 79e6a4e059 Make struct stat64 backward compatible. 2000-10-03 15:11:28 +00:00
Andreas Schwab e2d6906870 Fix padding in struct stat for LARGEFILE64_SOURCE. 2000-10-03 11:55:32 +00:00
Ulrich Drepper 979b9fea6f Add missing .mips0 at the end of inline assembler code. 2000-10-02 22:04:18 +00:00
Andreas Jaeger f0cd8b6f6d Add RLIMIT_LOCKS. 2000-10-02 08:49:05 +00:00
Andreas Jaeger 671b38f832 Synch with Linux 2.4.0-test9-pre8. 2000-10-02 08:47:39 +00:00
Andreas Jaeger 5e9880e0b5 Protect DN_* by __USE_GNU. 2000-09-29 20:24:30 +00:00
Andreas Jaeger d867f21971 Synch with Linux 2.4.0-test9-pre7. 2000-09-29 19:07:03 +00:00
Ulrich Drepper 73b240faca Add RLIMIT_LOCKS. 2000-09-29 01:30:19 +00:00
Andreas Jaeger 56eb5d1432 Add ipc_priv.h. 2000-09-18 16:39:45 +00:00
Andreas Jaeger 9128d5fd87 MIPS specific file. MIPS always had 32 bit uids. 2000-09-18 16:39:27 +00:00
Ulrich Drepper e69ea461c5 (INLINE_SYSCALL): Fix last patch. 2000-09-18 00:28:16 +00:00
Ulrich Drepper 62f2f67818 (INLINE_SYSCALL): Fix last patch. 2000-09-17 19:54:50 +00:00
Ulrich Drepper c09c05d827 (INLINE_SYSCALL): Add memory clobber. 2000-09-15 17:48:53 +00:00
Ulrich Drepper 37b1259bd5 (__cmsg_nxthdr): Fix test for no more entries. 2000-09-14 01:40:14 +00:00
Ulrich Drepper 2b5887d3e4 (CLOCKS_PER_SEC): Make a long int constant since this is what clock_t is. 2000-09-13 21:46:56 +00:00
Andreas Jaeger 2747c0eab5 * sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
* sysdeps/unix/sysv/linux/arm/fcntl.c: New file.

        * sysdeps/unix/sysv/linux/arm/bits/fcntl.h
        (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
        (F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
2000-09-08 08:12:57 +00:00
Andreas Jaeger fafed084cd Fix last checkin. 2000-09-07 15:44:36 +00:00
Andreas Jaeger d767c6f449 Linux/MIPS specific lockf64 version. 2000-09-07 15:44:15 +00:00
Andreas Jaeger f8915f93dd Add __syscall_fcntl. 2000-09-07 14:51:43 +00:00
Andreas Jaeger 5274d0e37c fcntl/fcntl64 for Linux/MIPS. 2000-09-07 11:56:20 +00:00
Andreas Jaeger a20032ae23 Add getdents64. 2000-09-07 08:17:25 +00:00
Andreas Jaeger b42bd0f590 (SYS_getdents64): New.
(SYS_fcntl64): New.
2000-09-07 08:17:04 +00:00
Andreas Jaeger 7e54ab950c [$(subdir) = misc]: Use sysdep_headers instead of headers for make dist. 2000-09-06 08:21:55 +00:00
Andreas Jaeger e739de1170 Follow changes for <bits/stat.h> 2000-09-05 19:33:23 +00:00
Andreas Jaeger 90d3df7387 Use st_pad5. 2000-09-05 19:33:13 +00:00
Andreas Schwab 6ef46d7cc8 New file. 2000-09-05 15:17:27 +00:00
Andreas Jaeger f727031ab2 Fixes for fcntl64. 2000-09-02 15:03:41 +00:00
Ulrich Drepper ce5c1dab0d [$(subdir)==resource] (sysdep_routines): Add oldgetrlimit64. 2000-08-27 01:01:17 +00:00
Andreas Jaeger a58f487d7e Use __setrlimit as strong name. 2000-08-23 06:54:33 +00:00
Ulrich Drepper ec8cf3da88 (sysctl): Remove. 2000-08-22 09:08:48 +00:00
Ulrich Drepper 142652edb2 Not needed anymore. 2000-08-19 16:38:21 +00:00
Ulrich Drepper 51977e0692 Only use for non-LFS getdents. 2000-08-19 16:37:40 +00:00
Ulrich Drepper 9e89ae2f4c Linux/Arm version of glob64. 2000-08-19 16:14:56 +00:00
Ulrich Drepper 3c59266928 Add glob64@@GLIBC_2.2. 2000-08-19 16:14:18 +00:00
Andreas Jaeger 546afa8c7b Add pads to show alignment for structs stat and stat64.
Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2000-08-18 06:11:11 +00:00
Ulrich Drepper cc9ced9792 Remove special d_ino handling. 2000-08-18 00:09:47 +00:00
Ulrich Drepper eb76534ecc (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
(alphasort64, readdir64, readdir64_r, scandir64, versionsort64): Likewise.
2000-08-14 17:39:48 +00:00
Ulrich Drepper 8f7d68ab04 (DIRENT_TYPE): Define. 2000-08-14 17:39:31 +00:00
Ulrich Drepper 5b5a4299b4 Define __clockid_t and __timer_t. 2000-08-14 05:23:10 +00:00
Ulrich Drepper 8a632183fb __clockid_t and __timer_t are now defined in bits/types.h. 2000-08-14 05:22:20 +00:00
Ulrich Drepper 9ff6d9a067 Define thread types also for POSIX95. 2000-08-14 04:50:13 +00:00
Andreas Jaeger 1ce1bc0d3d (F_GETLK64, F_SETLK64, F_SETLKW64): Define with F_GETLK etc. 2000-08-12 09:59:40 +00:00
Andreas Jaeger 56cb41faed * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
mips2 for assembler.
        * sysdeps/mips/pt-machine.h (testandset): Add .set mips2 for
        assembler.
        (__compare_and_swap): Likewise.
        * sysdeps/mips/pspinlock.c (__pthread_spin_lock): Likewise.
2000-08-12 09:29:03 +00:00
Ulrich Drepper 206065a117 Linux/Arm implementation of versionsort64. 2000-08-12 08:21:01 +00:00
Ulrich Drepper 7e626298f0 Linux/Arm implementation of scandir64. 2000-08-12 08:20:53 +00:00
Ulrich Drepper fe8e1d5f91 Linux/Arm implementation of readdir64_r. 2000-08-12 08:20:43 +00:00
Ulrich Drepper f4e95ada8a Linux/Arm implementation of readdir64. 2000-08-12 08:20:37 +00:00
Ulrich Drepper f5d4fa3fe4 Linux/Arm implementation of getdents64. 2000-08-12 08:20:30 +00:00
Ulrich Drepper adb0bd509b Linux/Arm implementation of alphasort64. 2000-08-12 08:20:21 +00:00
Ulrich Drepper 7c27fb615e (__ino64_t): Change to __u_quad_t. 2000-08-12 05:07:57 +00:00
Ulrich Drepper 3579fe4e8a (__xstat_conv): Remove unused prototype. 2000-08-12 04:48:40 +00:00
Ulrich Drepper a510d2b69c Linux/Alpha getdents64 implementation. 2000-08-12 04:48:27 +00:00
Ulrich Drepper b2db50fd18 Linux/Alpha egtdents implementation. 2000-08-12 04:48:19 +00:00
Andreas Jaeger 2489c7f179 Synch struct stat64 and stat with current MIPS kernel. 2000-08-10 12:39:48 +00:00
Ulrich Drepper 031a1712e4 Include kernel-features.h. 2000-08-10 04:21:28 +00:00
Ulrich Drepper d4e2464608 Add _test_and_set.c. 2000-08-02 22:41:58 +00:00
Ulrich Drepper 8efcd38cde Undo last change. 2000-08-02 15:27:16 +00:00
Ulrich Drepper 305f4d2cd1 [subdir=resource] (sysdep_routines): Add oldgetrlimit, oldsetrlimit. 2000-08-01 19:11:07 +00:00
Ulrich Drepper 55fc2728f5 Add oldgetrlimit, oldsetrlimit for GLIBC_2.0. 2000-08-01 19:10:53 +00:00
Andreas Jaeger 156a8cfcd4 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
the order of struct sigaltstack members is different.
2000-07-31 08:19:13 +00:00
Ulrich Drepper 69a935560b fcntl.h definitions for Linux/Arm. 2000-07-30 16:07:40 +00:00
Ulrich Drepper 63ac74aa94 (PSEUDO_RET): New macro.
(ret): Redefine to PSEUDO_RET.
(PSEUDO): Remove jump to syscall_error.
2000-07-29 18:03:21 +00:00
Andreas Jaeger da671ea07a * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
* sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
	_test_and_set.
	(headers): Add sys/tas.h.
	* sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
	GLIBC_2.2 from libc.
	* sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
	* sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
	_test_and_set.
2000-07-28 13:37:26 +00:00
Andreas Jaeger 797c09d821 Rename MSG_URG TO MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never
used).
2000-07-27 15:12:23 +00:00
Greg McGary 1e43162758 * sysdeps/gnu/bits/msq.h: Qualify kernel's
data structure pointers as __unbounded.
	* sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
	* sysdeps/generic/bp-semctl.h: New file.
	* sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
	pointers as __unbounded.  Check bounds of syscall args.
	* sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
	* sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
	* sysdeps/unix/sysv/linux/semctl.c: Likewise.
	* sysdeps/unix/sysv/linux/semop.c: Likewise.
	* sysdeps/unix/sysv/linux/shmat.c: Likewise.
	* sysdeps/unix/sysv/linux/shmctl.c: Likewise.
	* sysdeps/unix/sysv/linux/shmdt.c: Likewise.
	* sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
	* sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
	* sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
2000-07-27 06:13:09 +00:00
Andreas Schwab b297c341de Remove mmap64 alias. 2000-07-24 13:33:15 +00:00
Greg McGary 84b5ff5c97 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
keyletters F, I, S, W.  Remove unused keyletter V.  Surround
	signature argnames with angle-brackets for use as word delimiters,
	and to induce syntax errors for any args not handled.  Split
	multi-echo echoes and comment each stage.
	* sysdeps/unix/common/syscalls.list: Refine & correct signatures.
	* sysdeps/unix/inet/syscalls.list: Likewise.
	* sysdeps/unix/mman/syscalls.list: Likewise.
	* sysdeps/unix/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
	* sysdeps/unix/sysv/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/syscalls.list
2000-07-17 22:28:59 +00:00
Andreas Jaeger 8af6401387 Add libgcc frame handling functions. 2000-07-13 11:46:49 +00:00
Andreas Jaeger cc5d8c397b * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
it's overridden by libpthreads.
	* sysdeps/unix/sysv/linux/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2000-07-10 16:23:37 +00:00
Greg McGary e3d6c5810b * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
New macros.
	* sysdeps/generic/strcpy.c: Add bounds checks.
	* sysdeps/unix/fxstat.c: Likewise.
	* sysdeps/unix/xstat.c: Likewise.
	* sysdeps/unix/common/lxstat.c: Likewise.
	* sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
	* sysdeps/unix/sysv/linux/execve.c: Likewise.
	* sysdeps/unix/sysv/linux/fxstat.c: Likewise.
	* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
	* sysdeps/unix/sysv/linux/getcwd.c: Likewise.
	* sysdeps/unix/sysv/linux/getdents.c: Likewise.
	* sysdeps/unix/sysv/linux/llseek.c: Likewise.
	* sysdeps/unix/sysv/linux/lxstat.c: Likewise.
	* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
	* sysdeps/unix/sysv/linux/poll.c: Likewise.
	* sysdeps/unix/sysv/linux/pread.c: Likewise.
	* sysdeps/unix/sysv/linux/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/ptrace.c: Likewise.
	* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
	* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
	* sysdeps/unix/sysv/linux/readv.c: Likewise.
	* sysdeps/unix/sysv/linux/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/sigpending.c: Likewise.
	* sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
	* sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
	* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
	* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
	* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
	* sysdeps/unix/sysv/linux/sysctl.c: Likewise.
	* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
	* sysdeps/unix/sysv/linux/ustat.c: Likewise.
	* sysdeps/unix/sysv/linux/writev.c: Likewise.
	* sysdeps/unix/sysv/linux/xmknod.c: Likewise.
	* sysdeps/unix/sysv/linux/xstat.c: Likewise.
	* sysdeps/unix/sysv/linux/xstat64.c: Likewise.
	* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
	* sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
	* sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
2000-07-07 02:19:05 +00:00
Ulrich Drepper 71005584b8 Add __libc_sigaction. 2000-07-07 00:47:05 +00:00
Greg McGary 6f5d6cb60d * string/endian.h (__LONG_LONG_PAIR): New macro.
* sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
	* sysdeps/unix/sysv/linux/pread.c: Likewise.
	* sysdeps/unix/sysv/linux/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
	* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
	* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
2000-07-06 23:42:33 +00:00
Greg McGary 573d31d4d3 * sysdeps/generic/bp-checks.h: New file.
* sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
	with list of #include files.
	* sysdeps/unix/make-syscalls.sh: Handle new arg signature
	keyletters a, b, B, f, n, N, P, v, V.  Fixup some indentation.
	Don't generate BP thunk if `V' appears in signature.
	Generate thunks with complete bounds checks.
	* sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
	* sysdeps/unix/inet/syscalls.list: Likewise.
	* sysdeps/unix/mman/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
2000-07-06 00:48:39 +00:00
Andreas Schwab 7228f3cac1 Replace arg-count with signatures. 2000-06-23 11:09:25 +00:00
Andreas Jaeger e4586ea96c * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
SYS_mincore, SYS_madvise): Added.
2000-06-23 07:55:36 +00:00
Andreas Jaeger d0371ae0a3 Fix signature of execve. 2000-06-23 06:26:24 +00:00
Andreas Jaeger b63d27b615 Replace arg-count with signatures. 2000-06-22 21:12:27 +00:00
Ulrich Drepper afda99352c Define __S_TYPEISMQ, __S_TYPEISSEM, and __S_TYPEISSHM. 2000-06-22 17:58:17 +00:00
Andreas Jaeger 52783ef8b6 Fix one more typoe for sysctl. 2000-06-22 13:50:01 +00:00
Andreas Jaeger 41c427da07 Fix sysctl entry. 2000-06-22 13:38:05 +00:00
Ulrich Drepper 0d1cec93d5 Define LINUX_LINK_MAX. 2000-06-18 05:21:59 +00:00
Ulrich Drepper 821954bf6c Define LINK_MAX. 2000-06-18 05:19:19 +00:00
Ulrich Drepper 91f51e028b Add libgcc frame handling functions here. 2000-06-15 06:59:07 +00:00
Ulrich Drepper 91931049ec Add oldgetrlimit64.c. 2000-06-14 00:32:09 +00:00
Andreas Jaeger c3b737cb0d * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2000-06-02 13:10:38 +00:00
Andreas Jaeger ba747ea161 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
gregset_t.

	* sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
2000-05-31 12:03:35 +00:00
Andreas Jaeger 6d5a02529d * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
syscall.
	* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
2000-05-31 12:00:45 +00:00
Ulrich Drepper f41d856feb (__old_glob): Loose __P. 2000-05-30 23:44:42 +00:00
Andreas Jaeger 245061db80 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
* sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
	* sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
	* sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
	* sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
	* sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
2000-05-30 12:50:17 +00:00
Andreas Jaeger dae4f11aac * sysdeps/unix/sysv/linux/arm/pread.c: Removed, we can use the
normal version now.
        * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
2000-05-27 16:49:57 +00:00
Andreas Jaeger 00842512db * sysdeps/unix/sysv/linux/mips/pread.c: Removed, we can use the
normal version now.
        * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2000-05-27 16:49:02 +00:00
Andreas Jaeger cd60509b8f * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
normal version now.
	* sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2000-05-26 15:45:57 +00:00
Andreas Jaeger cf0d650794 Remove K&R support. 2000-05-23 09:07:17 +00:00
Andreas Jaeger 3a1e20c64a 2000-05-13 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
	Linux 2.3.99pre7.
	(AF_PPPOX): Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
	(AF_PPPOX): Likewise.
2000-05-13 18:18:03 +00:00
Andreas Schwab bb0607a2aa New file. Use getpagesize syscall if available. 2000-05-08 15:01:07 +00:00
Ulrich Drepper 37dca96f1c (F_SETOWN, F_GETOWN): Make available if __USE_XOPEN2K. 2000-04-30 07:12:32 +00:00
Ulrich Drepper 9790568c2b (init_iosys): Allow compilation if __NR_pciconfig_iobase is not defined. 2000-04-22 06:55:19 +00:00
Ulrich Drepper 64fe7d3c70 (__fstatfs64): Add alias. 2000-04-22 06:55:02 +00:00
Ulrich Drepper 0a5f55b135 Surround uses of $f28 with .set noat/at to shut up warnings. 2000-04-22 06:54:50 +00:00
Ulrich Drepper fa04216d3b (__syscall_shmctl): Declare. 2000-04-22 06:54:35 +00:00
Ulrich Drepper b6e679a8ac (__syscall_semctl): Declare. 2000-04-22 06:54:21 +00:00
Ulrich Drepper bce847003b (__syscall_msgctl): Declare. 2000-04-22 06:54:09 +00:00
Ulrich Drepper 4a88ca4687 Fix typo in compat_symbol call for old adjtime. 2000-04-15 16:57:53 +00:00
Andreas Jaeger 8cacb29129 Add newline at EOF. 2000-04-14 17:53:07 +00:00
Andreas Jaeger 500d200d09 2000-04-14 Andreas Jaeger <aj@suse.de>
* weaks.c: Fix typo.

2000-04-14  Andreas Jaeger  <aj@suse.de>

	* sysdeps/generic/madvise.c: Fix typos.

	* sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.

	* sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.

	* sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
	warnings.
2000-04-14 17:36:37 +00:00
Ulrich Drepper a54fe716da Define POSIX_FADV_NORMAL, POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL,
POSIX_FADV_WILLNEED, POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
2000-04-14 07:48:34 +00:00
Ulrich Drepper fd327b8820 Add POSIX_MADV_* constants. 2000-04-14 05:57:49 +00:00
Andreas Jaeger 040c028af2 Now I've applied Ralf's patch correctly and it works. 2000-04-13 20:31:43 +00:00
Andreas Jaeger 1c3fb6b3a4 Fix typos in last checkin. 2000-04-13 20:19:15 +00:00
Andreas Jaeger d152663e8a 2000-04-13 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/clone.S: Fix functions.
2000-04-13 20:13:29 +00:00
Andreas Jaeger 985286e05b 2000-04-13 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/pipe.S: New file.
2000-04-13 19:53:13 +00:00
Andreas Jaeger 86e991277c 2000-04-07 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
	newer kernels.
2000-04-07 20:07:21 +00:00
Ulrich Drepper 604220ddc6 init-first.h has been removed, remove it here also. 2000-04-06 20:09:41 +00:00
Ulrich Drepper 7e3f69ad02 Not needed anymore. 2000-04-06 04:56:46 +00:00
Ulrich Drepper 782bca9790 Use shlib-compat macros. 2000-04-04 06:03:28 +00:00
Ulrich Drepper b05b3eb67f Define __socklen_t. 2000-04-02 08:05:11 +00:00
Ulrich Drepper 23a7de4bb4 Use __socklen_t to define socklen_t. Allow definition elsewhere. 2000-04-02 08:01:25 +00:00
Ulrich Drepper 0655420550 Linux/Alpha specific definitions for <netdb.h>. 2000-04-01 22:29:26 +00:00
Ulrich Drepper 0772663d31 Use shlib-compat macros. 2000-03-31 05:39:18 +00:00
Ulrich Drepper 6955b182f1 Clarify use of __ASSUME_32BITUIDS. 2000-03-26 20:30:58 +00:00
Ulrich Drepper 0d4d1e01f9 Processor context definitions for Linux/Arm. 2000-03-26 18:41:48 +00:00
Ulrich Drepper cc9b3b98b9 (MADV_*): Add flags from latest Linux kernel. 2000-03-20 22:51:18 +00:00
Richard Henderson 7e47b466c7 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
in GLIBC_2.1.4.
2000-03-20 22:08:26 +00:00
Richard Henderson cd112ac0a3 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants. 2000-03-20 20:24:41 +00:00
Richard Henderson 194b9b3b26 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
Kill sethae.
        * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
        * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
        Use physical addresses not KSEG addresses.
        (io_system): Add PYXIS.
        (io): Remove hae.reg, sys, hae_shift.
        (stb_mb, stw_mb, stl_mb, __sethae): New.
        (inline_outb, inline_outw, inline_outl): Don't set hae.
        (inline_inb, inline_inw, inline_inl): Likewise.
        (dense_sethae): New null function.
        (struct cpuinfo_data): New.
        (process_cpuinfo): Use local and stack variables, not static.
        Move readlink check here from init_iosys.
        (init_iosys): Use __pciconfig_iobase first.  Know SX and LX as PYXIS.
        (_iopl): Simplify.
        (_hae_shift): Calculate it here.
        * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
        add pciconfig_iobase.
2000-03-20 20:23:05 +00:00
Ulrich Drepper 59e14c2112 Make __pwrite64 weak alias. 2000-03-16 07:07:13 +00:00
Ulrich Drepper 9399c12de5 Make __pread64 weak alias. 2000-03-16 07:06:45 +00:00
Ulrich Drepper 052065ad7b (platform): Add entry for Nautilus. 2000-03-15 07:22:08 +00:00
Andreas Jaeger 2e6c2875e8 2000-03-09 Martin Buchholz <martin@xemacs.org>
* sysdeps/unix/sysv/linux/alpha/syscall.S:
	* manual/message.texi (Using gettextized software):
	* manual/message.texi (Message Translation): Doc Fixes.
	* manual/filesys.texi (File Size):
	* manual/charset.texi (glibc iconv Implementation):
	* locale/programs/ld-collate.c (collate_output):
	* iconv/gconv_db.c (find_derivation):
	* manual/install.texi:
	* manual/search.texi (Hash Search Function):
	* manual/stdio.texi (Output Conversion Syntax):
	* FAQ.in:
	* config.h.in:
	* sysdeps/generic/dl-sysdep.c:
	Doc Fixes.  `allows to' is not correct English.

	* elf/rtld.c: Doc fixes.
	* manual/creature.texi (Feature Test Macros): Doc fixes.
	* manual/memory.texi (Hooks for Malloc): Doc Fixes.

	* manual/filesys.texi (Working Directory): Check for ERANGE to
	avoid infloop.
2000-03-10 08:40:34 +00:00
Ulrich Drepper 1a76429b65 Define _STATFS_F_NAMELEN. 2000-02-28 21:15:52 +00:00
Ulrich Drepper 2c11d9bcf5 Define shmatt_t type and use it in struct shmid_ds definition. 2000-02-28 05:02:28 +00:00
Ulrich Drepper 5e516adf18 (struct msqid_ds): Use __pid_t. 2000-02-25 17:05:23 +00:00
Ulrich Drepper cf95db7e00 (IPC_INFO): Only define if __USE_GNU. 2000-02-25 08:56:31 +00:00
Ulrich Drepper 40d4354938 Include bits/types.h, not sys/types.h.
(MSG_EXCEPT): Only define if __USE_GNU.
Define msgqnum_t and msglen_t and use them in struct msqid_ds definition.
2000-02-25 08:54:48 +00:00
Ulrich Drepper 028bec36ff Linux/Alpha specific siginfo definitions. 2000-02-23 05:59:55 +00:00
Ulrich Drepper 158331933d Define SA_NOCLDWAIT. 2000-02-23 05:59:11 +00:00
Ulrich Drepper 574b073035 Fix off by one error. 2000-02-20 17:58:12 +00:00
Ulrich Drepper 58d7604e5d opl, _ioperm): Add Rebel-NetWinder to platform table so _ioperm platform
lookup via /proc/cpuinfo works on later version NetWinders.
2000-02-14 18:11:04 +00:00
Ulrich Drepper e1b4ab28ae Add oldmsgctl, oldsemctl. 2000-02-11 21:01:03 +00:00
Ulrich Drepper 23f1401266 (msgctl, semctl, shmctl): Make them EXTRA as __old_* and as GLIBC_2.0 symbols. 2000-02-11 21:00:47 +00:00
Ulrich Drepper f8d5da2998 Linux/Alpha specific shmctl implementation. 2000-02-11 21:00:22 +00:00
Ulrich Drepper 3b6c96e67b Linux/Alpha specific semctl implementation. 2000-02-11 21:00:16 +00:00
Ulrich Drepper 9e683793e4 Linux/Alpha specific msgctl implementation. 2000-02-11 21:00:09 +00:00
Ulrich Drepper 8b9d6d8045 (getresuid): Make syscall directly, no stubs needed.
(getresgid): Likewise.
2000-02-11 19:44:00 +00:00
Ulrich Drepper fb30b58ad5 Linux/m68k shmctl implementation. 2000-02-11 19:43:46 +00:00
Ulrich Drepper a020fa2f4d Linux/m68k semctl implementation. 2000-02-11 19:43:42 +00:00
Ulrich Drepper ac707c19aa Linux/m68k smgctl implementation. 2000-02-11 19:43:37 +00:00
Ulrich Drepper ef034ccbd5 Linux/m68k getresuid implementation. 2000-02-11 19:43:32 +00:00
Ulrich Drepper d60da510e2 Linux/m68k getresgid implementation. 2000-02-11 19:43:28 +00:00
Ulrich Drepper 886523a9ba Document new tristate __libc_missing_32bit_uids.
Use 32bit uid syscall if __libc_missing_32bit_uids is -1 or 0.
2000-02-11 19:42:16 +00:00
Ulrich Drepper 78a718de6f Linux/i386 specific shmctl implementation. 2000-02-11 19:41:04 +00:00
Ulrich Drepper 6c391b0995 Linux/i386 specific semctl implementation. 2000-02-11 19:40:59 +00:00
Ulrich Drepper 9410cd8d7c Linux/i386 specific msgctl implementation. 2000-02-11 19:40:53 +00:00
Ulrich Drepper 5ef54b6fd7 Linux/i386 specific getresuid implementation. 2000-02-11 19:40:38 +00:00
Ulrich Drepper fe60fdbe10 Linux/i386 specific getresgid implementation. 2000-02-11 19:40:32 +00:00
Andreas Jaeger a233bb29c8 2000-02-10 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/clone.S: Rewritten.
	Based on a patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
2000-02-10 11:09:31 +00:00
Andreas Jaeger b7393d1c58 2000-02-09 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/sys/syscall.h: Add new syscalls.

	* sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing syscalls.
2000-02-09 14:58:57 +00:00
Andreas Jaeger fb8168397d 2000-02-08 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Fix typo.

	* sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
	Make it compile.
2000-02-08 17:27:15 +00:00
Andreas Jaeger ff75a64c4a 2000-02-08 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
	Fix usage of macro ADD_STRING.
2000-02-08 16:36:09 +00:00
Andreas Jaeger b3be99749f 2000-02-08 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/bits/termios.h: Remove members
	c_ispeed and c_ospeed which are not implemented.
2000-02-08 13:41:37 +00:00
Andreas Jaeger 25fdf1f5c1 2000-02-08 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Define __libc_* variant
	for cancelation wrapper; use __ASSUME_PWRITE_SYSCALL macro.
	* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2000-02-08 09:46:01 +00:00
Andreas Jaeger 22e908b01a 2000-02-05 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not
	work - set to 4 in accordance with changes made in the Linux/MIPS
	kernel.  Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't
	actually work.
2000-02-05 07:45:59 +00:00
Andreas Jaeger 4cd50e5eb8 Fix typo in comment. 2000-02-04 16:40:32 +00:00
Andreas Jaeger 19918d3ddd 2000-02-04 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/bits/mman.h: Use correct values for
	the defines.
2000-02-04 16:38:20 +00:00
Andreas Jaeger ede084048d 2000-02-03 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: New file.

	* sysdeps/unix/sysv/linux/mips/register-dump.h: New file.

	* sysdeps/mips/stackinfo.h: New file.
2000-02-03 14:10:24 +00:00
Andreas Jaeger d86bec0d49 2000-02-01 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/syscalls.list: Remove duplicates.
2000-02-01 16:50:51 +00:00
Andreas Jaeger bbfe4cc589 2000-02-01 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/lxstat.c: Removed, we can use the
	generic function.
	* sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
2000-02-01 13:39:59 +00:00
Andreas Jaeger 7289f2bbfb 2000-02-01 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/init-first.h: New file, from Ralf
	Baechle <ralf@gnu.org>.

	* sysdeps/unix/sysv/linux/mips/brk.c: New file.
2000-02-01 11:54:37 +00:00
Andreas Jaeger e67a8419c7 2000-02-01 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Add missing ints.
2000-02-01 11:20:19 +00:00
Ulrich Drepper acb1cd8ea1 Export the new *rlimit interface with symbol version GLIBC_2.2. 2000-01-29 12:02:41 +00:00
Ulrich Drepper 1fee13c891 Backout changes for versioning setrlimit and getrlimit. 2000-01-29 12:02:32 +00:00
Ulrich Drepper c388491ab6 Backout rlimit changes for resource directory. 2000-01-29 12:02:14 +00:00
Ulrich Drepper 9b2282bc34 Add ipc_priv.h. 2000-01-24 12:34:15 +00:00
Ulrich Drepper 47504af3f6 Remove private decls. 2000-01-24 12:31:25 +00:00
Ulrich Drepper 2cb9440978 Linux/Alpha private IPC definitions. 2000-01-24 12:30:41 +00:00
Ulrich Drepper d0b0bd9a56 Move private decls into ../*_priv.h file. 2000-01-24 12:27:13 +00:00
Ulrich Drepper adcd6eb68b Remove setrlimit64@GLIBC_2.1.3. 2000-01-24 12:07:25 +00:00
Ulrich Drepper 6bb1e66431 Remove oldsetrlimit64.c. 2000-01-24 12:06:59 +00:00
Ulrich Drepper b4f75eec45 Linux/Arm specific resource handling definitions. 2000-01-24 12:06:14 +00:00
Ulrich Drepper 9eaa692920 Not needed anymore. 2000-01-24 12:05:37 +00:00
Ulrich Drepper 41aa6d836b Correct check for ENOSYS. 2000-01-24 01:44:35 +00:00
Ulrich Drepper 7ea605ff34 Add prototypes for port access functions. 2000-01-23 08:53:21 +00:00
Ulrich Drepper 358f8be2ed Add sys/io.h. 2000-01-23 08:52:50 +00:00
Ulrich Drepper 13990a22c1 iLinux/m68k implementation of xstat. 2000-01-19 03:52:47 +00:00
Ulrich Drepper 8c23086292 Linux/m68k implementation of lxstat. 2000-01-19 03:52:32 +00:00
Ulrich Drepper 74a892eea9 Linux/m68k implementation of fxstat. 2000-01-19 03:52:16 +00:00
Ulrich Drepper 6274fd0fe8 Linux/Arm implementation of xstat. 2000-01-19 03:51:57 +00:00
Ulrich Drepper f8b3a62dba Linux/Arm implementation of lxstat. 2000-01-19 03:51:45 +00:00
Ulrich Drepper f7d91a2716 Linux/Arm implementation of fxstat. 2000-01-19 03:51:30 +00:00
Ulrich Drepper 293c7e46e3 (__syscall_chown): Use proper prototype.
Don't include non-existant header.
(__chown): Return EINVAL if owner or group are out of the range -1U .. 65534.
2000-01-18 04:30:34 +00:00
Ulrich Drepper a7b22345a1 Linux/Alpha SysV shm definitions. 2000-01-18 04:27:20 +00:00
Ulrich Drepper db706c12f5 Linux/Alpha SysV sem definitions. 2000-01-18 04:27:12 +00:00
Ulrich Drepper 05bd55b910 Linux/Alpha SysV msq definitions. 2000-01-18 04:27:05 +00:00
Ulrich Drepper ab944a2185 Update for new ipc. 2000-01-18 04:26:49 +00:00
Ulrich Drepper 1219d5bc53 Linux/i386 implementation of lchown. 2000-01-17 05:20:35 +00:00
Ulrich Drepper 4b1aa399d1 Linux/i386 implementation of getgid. 2000-01-17 05:20:27 +00:00
Ulrich Drepper 881cf30824 Linux/i386 implementation of getuid. 2000-01-17 05:20:20 +00:00
Ulrich Drepper b1e3521362 Linux/i386 implementation of geteuid. 2000-01-17 05:20:10 +00:00
Ulrich Drepper 26bb8c8c1b Linux/i386 implementation of getegid. 2000-01-17 05:20:03 +00:00
Ulrich Drepper 76862c6dd7 Linux/i386 implementation of fchown. 2000-01-17 05:19:51 +00:00
Ulrich Drepper 6ab12c1eeb Linux/i386 implementation of chown. 2000-01-17 05:19:42 +00:00
Ulrich Drepper ab25616f31 Linux/Arm implementation of lchown. 2000-01-17 05:18:30 +00:00
Ulrich Drepper 95c95a5696 Linux/Arm implementation of getuid. 2000-01-17 05:18:15 +00:00
Ulrich Drepper 20b74d4546 Linux/Arm implementation of getgid. 2000-01-17 05:18:08 +00:00
Ulrich Drepper 00f523c534 Linux/Arm implementation of getegid. 2000-01-17 05:18:01 +00:00
Ulrich Drepper 20eb495ca6 Linux/Arm implementation of geteuid. 2000-01-17 05:17:53 +00:00
Ulrich Drepper 5daabcd7a5 Linux/Arm implementation of fchown. 2000-01-17 05:17:42 +00:00
Ulrich Drepper df4969c421 Linux/Arm implementation of chown. 2000-01-17 05:17:33 +00:00
Ulrich Drepper 41955e5325 Linux/Arm specific compatibility getrlimit64 implementation. 2000-01-12 10:24:30 +00:00
Ulrich Drepper 9b0b5c1178 Linux/Arm specific setrlimit64 implementation. 2000-01-12 10:24:10 +00:00
Ulrich Drepper 7857dde8f3 Linux/Arm specific getrlimit64 implementation. 2000-01-12 10:23:51 +00:00
Ulrich Drepper ee122dfb5c Linux/Arm specific getrlimit implementation. 2000-01-12 10:23:41 +00:00
Ulrich Drepper b97b0e6d54 Linux/Arm specific setrlimit implementation. 2000-01-12 10:23:30 +00:00
Ulrich Drepper b7b89e455b Add getrlimit, setrlimit, getrlimit64, setrlimit64 for GLIBC_2.1.3. 2000-01-12 10:22:08 +00:00
Ulrich Drepper 13e885e2d2 Add oldgetrlimit, oldsetrlimit. 2000-01-12 10:21:53 +00:00
Ulrich Drepper a4d6b8eb39 [subdir=resource] (sysdep_routines): Add oldgetrlimit64, oldsetrlimit64.
[subdir=misc] (sysdep_headers): Add sys/elf.h.
2000-01-12 10:21:37 +00:00
Andreas Jaeger 94e6a9a2e0 2000-01-10 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Remove greg_t,
	gregset_t, fpregset_t, and NGREG definitions.
2000-01-10 14:27:50 +00:00
Andreas Jaeger 93b2a8e751 2000-01-10 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
	int's.

	* sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
	missing int's.

	* sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
	* sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
2000-01-10 11:44:24 +00:00
Ulrich Drepper 13270773ac (UNDOARGS_5): Fix error in last change. 2000-01-10 01:43:13 +00:00
Ulrich Drepper 9a7c1b605a Distribute sys/elf.h and sys/procfs.h. 2000-01-06 04:34:45 +00:00
Ulrich Drepper 8423269510 Add `fault_address'. 2000-01-06 00:07:38 +00:00
Ulrich Drepper 2c545e4b42 (ADVANCE_STACK_FRAME): New macro.
(GET_FRAME): Apply above to returned value.
2000-01-06 00:04:04 +00:00
Ulrich Drepper aba7548814 Use sysctl by preference to obtain port mapping information. Avoid use of
mprotect.
2000-01-04 23:54:35 +00:00
Ulrich Drepper 51fa0bed76 Linux/Arm mmap64 implementation. 2000-01-03 23:21:18 +00:00
Ulrich Drepper 51e2a98075 Remove mmap64 alias.
Optimise error handling a little.
2000-01-03 23:20:42 +00:00
Ulrich Drepper ddd4d0151d Remove K&R compatibility, add missing ints. 1999-12-29 17:50:45 +00:00
Ulrich Drepper 27cd2cbea6 Don't include <asm/io.h>; remove K&R compatibility; add missing ints. 1999-12-29 17:50:32 +00:00
Ulrich Drepper 33ea3bcec3 Remove oldgetrlimit and oldsetrlimit definitions. 1999-12-28 22:13:37 +00:00
Ulrich Drepper 1be564e03e Remove inclusion of <asm/resource.h>. 1999-12-27 06:11:17 +00:00
Ulrich Drepper 62749187ae Add support for syscalls with more than five arguments.
(DOARGS_5, UNDOARGS_5): Don't corrupt the calling stack frame.
1999-12-27 06:06:32 +00:00
Ulrich Drepper 0985e3b717 Remove vm86. Set argument count for `syscall' to 7. 1999-12-27 06:06:11 +00:00
Ulrich Drepper feaa2cd82b Add __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite and
__libc_pwrite64.
1999-12-24 05:47:47 +00:00
Ulrich Drepper 936d4afc98 Add missing #. 1999-12-21 16:01:52 +00:00
Ulrich Drepper ffe8fc1f1a Linux/MIPS specific implementation of putpmsg. 1999-12-21 08:00:02 +00:00
Ulrich Drepper f57d4a9394 Linux/MIPS specific implementation of putmsg. 1999-12-21 07:59:55 +00:00
Ulrich Drepper 764681b7a4 Linux/MIPS specific implementation of getpmsg. 1999-12-21 07:59:47 +00:00
Ulrich Drepper 8a41020257 Linux/MIPS specific implementation of getmsg. 1999-12-21 07:59:30 +00:00
Ulrich Drepper a851d4d062 Linux/m68k specific implementation of putpmsg. 1999-12-21 07:59:20 +00:00
Ulrich Drepper 20113dce15 Linux/m68k specific implementation of putmsg. 1999-12-21 07:59:12 +00:00
Ulrich Drepper 4ea9edf197 Linux/m68k specific implementation of getpmsg. 1999-12-21 07:59:04 +00:00
Ulrich Drepper 7b6a54e39c Linux/m68k specific implementation of getmsg. 1999-12-21 07:58:57 +00:00
Ulrich Drepper b2b066ffc2 Linux/MIPS specific definitions for resource.h. 1999-12-19 00:02:12 +00:00
Ulrich Drepper b555e31b89 Linux/Alpha specific definitions for resource.h. 1999-12-19 00:02:03 +00:00
Ulrich Drepper baa41915ea Not neeeded. 1999-12-18 19:39:28 +00:00
Ulrich Drepper e22a3eb794 (__t_scalar_t, __t_uscalar_t): Make long types. 1999-12-04 07:40:43 +00:00
Ulrich Drepper 43f0382c72 Fix signedness of __rlim_t and __rlim64_t. 1999-12-02 08:19:07 +00:00
Ulrich Drepper c0318789f2 Add oldsetrlimit and oldgetrlimit. 1999-12-02 08:18:33 +00:00
Ulrich Drepper ecb0bc5299 Backwared compatible Linux/Alpha setrlimit64 implementation. 1999-12-02 08:18:16 +00:00
Ulrich Drepper fce334577e Backwared compatible Linux/Alpha getrlimit64 implementation. 1999-12-02 08:18:09 +00:00
Andreas Jaeger ccae44c2e6 Include <sys/types.h> to get key_t. 1999-11-22 16:35:07 +00:00
Andreas Jaeger 1b5f51e749 Add __syscall_setrlimit. 1999-11-22 16:34:19 +00:00
Ulrich Drepper 264ce3b03b Remove greg_t, gregset_t, fpregset_t, and NGREG definitions. 1999-11-18 00:11:49 +00:00
Ulrich Drepper f2fe71afa2 Remove duplicate definitions. 1999-11-15 08:00:07 +00:00
Ulrich Drepper 1e70a8a375 Follow changes from i386 version. 1999-11-12 21:27:08 +00:00
Ulrich Drepper 67b11b531e Add more pr* types used by the debugger. 1999-11-02 06:54:45 +00:00
Ulrich Drepper 17f1ad4499 (SI_KERNEL): Added. 1999-11-01 02:35:05 +00:00
Ulrich Drepper 0927b9fc12 Added missing N_* constants. 1999-10-29 20:23:01 +00:00
Ulrich Drepper 0f2d32942c Correct namespace selection. 1999-10-19 03:07:09 +00:00
Ulrich Drepper 6e64e12d90 Add definition of gregset_t and fpregset_t. 1999-10-12 15:50:11 +00:00
Ulrich Drepper 12b8ab07b9 Update to match generic Linux version. 1999-10-12 15:19:54 +00:00
Ulrich Drepper 362932c82f Declare SA_SIGINFO. 1999-10-11 19:22:39 +00:00
Ulrich Drepper c628e0383d Disable debug messages. 1999-10-01 16:03:15 +00:00
Ulrich Drepper 7733584f09 Linux/Arm definitions for process image access. 1999-09-14 01:40:51 +00:00
Ulrich Drepper f70ab57d2e Linux/Arm definitions for register access. 1999-09-14 01:40:33 +00:00
Ulrich Drepper 557847754d Added members 'unsigned char ftype[8]', and 'unsigned int init_flag'
to struct user_fp.  Tnese were added in version 2.2.12 of the ARM
Linux kernel.
1999-09-14 01:38:51 +00:00
Ulrich Drepper ad2b56f270 Add sys/user.h. 1999-09-07 01:40:31 +00:00
Ulrich Drepper f908ea6c85 Linux/Alpha specific definitions to access information passed up from the
kernel.
1999-09-03 07:08:11 +00:00
Ulrich Drepper 876914479a Include <sys/user.h> instead of <asm/user.h>. 1999-09-03 07:05:16 +00:00
Ulrich Drepper 2788ea804d Enclose header in an #ifdef statement to prevent it from being included
twice.
1999-09-01 16:34:56 +00:00
Ulrich Drepper 7f3e8e7146 #include <bits/armsigctx.h>. 1999-09-01 16:34:37 +00:00
Ulrich Drepper e7a486ef99 Fix sa_flags, partially reverting a patch from 1998-12-29. We just can't
change the flags, kernels with different flags lead to incompatibilities.
1999-08-28 22:14:27 +00:00
Ulrich Drepper 957a4a990a Update from 2.3.15 kernel. 1999-08-28 00:25:40 +00:00
Ulrich Drepper 3f77348a38 Add missing underscore in _llseek entry. 1999-08-25 17:41:51 +00:00
Ulrich Drepper 90445b8a22 Fix typo in execve entry. 1999-08-25 17:40:49 +00:00
Ulrich Drepper 1a839cb12e Fix comment. 1999-08-25 17:39:15 +00:00
Ulrich Drepper 9cc31184c8 Fix EILSEQ value changed in last patch. 1999-08-24 22:13:10 +00:00
Ulrich Drepper 7e5a3fd89a Linux/MIPS specific error codes. 1999-08-23 17:53:43 +00:00
Ulrich Drepper 446548bb28 Define SIGCONTEXT_EXTRA_ARGS. 1999-08-23 17:43:28 +00:00
Ulrich Drepper 3013083aa3 Add execve syscall. 1999-08-23 04:06:18 +00:00
Ulrich Drepper 9661dd713d (SA_RESETHAND): Add it. 1999-08-22 16:04:24 +00:00
Ulrich Drepper 0cabeaa3fd Information how to access signal context on Linux/Alpha. 1999-08-19 19:57:25 +00:00
Ulrich Drepper f739f8a81e Define __blksize_t. 1999-08-18 07:47:37 +00:00
Ulrich Drepper 6996793426 (struct stat): Use __blksize_t for st_blksize member.
(struct stat64): Likewise.
1999-08-18 07:46:54 +00:00
Ulrich Drepper 77c5dc9ed7 Include bits/types.h instead of sys/types.h. 1999-08-18 07:43:39 +00:00
Ulrich Drepper 0dd0e77c4c Make __useconds_t unsigned. 1999-08-18 03:39:59 +00:00
Ulrich Drepper 283cadf410 Define type __useconds_t. 1999-08-18 01:18:14 +00:00
Ulrich Drepper 6a06c0af60 (O_DSYNC, O_RSYNC): New definitions.
(O_LARGEFILE): Define only if __USE_LARGEFILE64.
1999-08-06 17:23:00 +00:00
Ulrich Drepper c93c0c6259 (O_LARGEFILE): Define only if __USE_LARGEFILE64. 1999-08-06 17:22:24 +00:00
Ulrich Drepper 1d8af49384 (O_RSYNC, O_DSYNC): Define. 1999-08-05 16:56:44 +00:00
Ulrich Drepper bad8d32c28 (GET_NPROCS_PARSER): Initialize result to one. 1999-08-04 16:00:23 +00:00
Ulrich Drepper d54eed1a9a Linux/Alpha specific functions to read system information. 1999-07-31 06:09:30 +00:00
Ulrich Drepper 8cfc6b71c4 ELF type definitions for Linux/Alpha. 1999-07-27 05:47:28 +00:00
Ulrich Drepper 078a1bd706 Define __clockid_t, __timer_t, CLOCK_REALTIME, and TIMER_ABSTIME. 1999-07-27 00:18:20 +00:00
Ulrich Drepper 22b137b9fd Undo last change. 1999-07-18 00:25:28 +00:00
Ulrich Drepper 9a16d32a64 (timeval): Use __suseconds_t type for tv_usec element. 1999-07-17 23:18:23 +00:00
Ulrich Drepper b4ac6f26f2 Define __suseconds_t. 1999-07-17 23:16:23 +00:00
Ulrich Drepper b9104c3e71 (_inb, _inw, _inl, _outb, _outw, _outl): Added to GLIBC_2.1.2. 1999-07-15 11:51:36 +00:00
Ulrich Drepper 05246799a6 Update for some more motherboards. 1999-07-06 16:06:12 +00:00
Ulrich Drepper 4d1f7dc129 Include libintl.h. 1999-06-19 09:47:58 +00:00
Ulrich Drepper 56de49240c sysmacros.h file for Linux/Alpha. 1999-06-16 14:30:16 +00:00
Ulrich Drepper 0a437ddb58 Add __sysctl. 1999-06-15 11:51:17 +00:00