Commit Graph

1940 Commits

Author SHA1 Message Date
Roland McGrath
69211cccc6 2002-10-19 Roland McGrath <roland@redhat.com>
* configure: Regenerated (using Autoconf 2.54).
	* sysdeps/alpha/elf/configure: Likewise.
	* sysdeps/generic/configure: Likewise.
	* sysdeps/i386/elf/configure: Likewise.
	* sysdeps/ia64/elf/configure: Likewise.
	* sysdeps/mach/hurd/configure: Likewise.
	* sysdeps/mach/configure: Likewise.
	* sysdeps/unix/configure: Likewise.
	* sysdeps/unix/common/configure: Likewise.
	* sysdeps/unix/sysv/aix/configure: Likewise.
	* sysdeps/unix/sysv/linux/configure: Likewise.
	* sysdeps/unix/sysv/linux/mips/configure: Likewise.
	* sysdeps/x86_64/elf/configure: Likewise.
2002-10-19 20:03:50 +00:00
Roland McGrath
54df0cf57d 2002-10-18 Roland McGrath <roland@redhat.com>
* sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL, INLINE_SYSCALL1)
	(inline_syscall_clobbers, inline_syscall0, inline_syscall1)
	(inline_syscall2, inline_syscall3, inline_syscall4, inline_syscall5)
	(inline_syscall6): Move these macros ...
	* sysdeps/unix/sysv/linux/alpha/sysdep.h: ... to here.
2002-10-18 22:37:29 +00:00
Roland McGrath
6474e421d6 2002-10-18 Jeff Bailey <jbailey@gnu.org>
* sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement.
        * sysdeps/generic/configure.in: Likewise.
        * sysdeps/i386/elf/configure.in: Likewise.
        * sysdeps/ia64/elf/configure.in: Likewise.
        * sysdeps/mach/configure.in: Likewise.
        * sysdeps/mach/hurd/configure.in: Likewise.
        * sysdeps/unix/configure.in: Likewise.
        * sysdeps/unix/common/configure.in: Likewise.
        * sysdeps/unix/sysv/aix/configure.in: Likewise.
        * sysdeps/unix/sysv/linux/configure.in: Likewise.
        * sysdeps/unix/sysv/linux/mips/configure.in: Likewise.
        * sysdeps/x86_64/elf/configure.in: Likewise.
2002-10-18 22:15:36 +00:00
Roland McGrath
aa858c3e99 2002-10-18 Jeff Bailey <jbailey@gnu.org>
* sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement.
        * sysdeps/generic/configure.in: Likewise.
        * sysdeps/i386/elf/configure.in: Likewise.
        * sysdeps/ia64/elf/configure.in: Likewise.
        * sysdeps/mach/configure.in: Likewise.
        * sysdeps/mach/hurd/configure.in: Likewise.
        * sysdeps/unix/configure.in: Likewise.
        * sysdeps/unix/common/configure.in: Likewise.
        * sysdeps/unix/sysv/aix/configure.in: Likewise.
        * sysdeps/unix/sysv/linux/configure.in: Likewise.
        * sysdeps/unix/sysv/linux/mips/configure.in: Likewise.
        * sysdeps/x86_64/elf/configure.in: Likewise.
2002-10-18 19:38:00 +00:00
Roland McGrath
ccc5fdb26b 2002-10-18 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline.
	(statfs_filesize_max): New function.
	* sysdeps/unix/sysv/linux/linux_fsinfo.h (JFFS_SUPER_MAGIC,
	JFFS2_SUPER_MAGIC, JFS_SUPER_MAGIC, NTFS_SUPER_MAGIC,
	ROMFS_SUPER_MAGIC, UDF_SUPER_MAGIC): Define.
	* sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use
	statfs_filesize_max.
	* sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
	* sysdeps/unix/sysv/linux/alpha/fpathconf.c: Removed.
	* sysdeps/unix/sysv/linux/alpha/pathconf.c: Removed.
2002-10-18 19:03:49 +00:00
Roland McGrath
cfe08a2c2a 2002-10-16 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/fpathconf.c (LINUX_LINK_MAX): Move macro ...
	* sysdeps/unix/sysv/linux/linux_fsinfo.h (LINUX_LINK_MAX): ... here.
	* sysdeps/unix/sysv/linux/pathconf.h: New file.
	(statfs_link_max): New function, guts from fpathconf.c.
	* sysdeps/unix/sysv/linux/fpathconf.c: Rewritten using that.
	* sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
	* sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Rewritten
	to use the linux/pathconf.c code by #include rather than duplication.
	* sysdeps/unix/sysv/linux/alpha/fpathconf.c (__pathconf): Likewise.
2002-10-16 22:09:41 +00:00
Roland McGrath
a527394147 2002-10-15 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Use size_t
	instead of int for msg_iovlen, instead of socklen_t for msg_controllen.
	Other than the previously incorrect sign of msg_iovlen, this is a
	no-op on 32-bit platforms.  On 64-bit platforms it makes this header
	match their layouts as well, so the following are now identical to it.
	* sysdeps/unix/sysv/linux/s390/bits/socket.h: File removed.
	* sysdeps/unix/sysv/linux/sparc/bits/socket.h: File removed.
	* sysdeps/unix/sysv/linux/x86_64/bits/socket.h: File removed.
	* sysdeps/unix/sysv/linux/ia64/bits/socket.h: File removed.
	* sysdeps/unix/sysv/linux/alpha/bits/socket.h: File removed.
2002-10-16 01:02:28 +00:00
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
402dbb2e81 (__writev): Rename to __libc_writev and make old name an alias. 2002-10-09 09:35:00 +00:00
Ulrich Drepper
c45957343f (waitid): Rename to __waitid and make old name an alias. 2002-10-09 09:28:58 +00:00
Ulrich Drepper
ce9fa295f0 (__readv): Rename to __libc_readv and make old name an alias. 2002-10-09 09:25:29 +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
Ulrich Drepper
91bd985838 Regenerated: autoconf sysdeps/unix/sysv/aix/configure.in 2002-10-02 05:08:36 +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
Ulrich Drepper
9fe8d7ced1 Update comment and remove stdio=libio setting. 2002-09-28 18:03:10 +00:00
Ulrich Drepper
8ee7624e87 Not needed anymore. 2002-09-28 18:02:05 +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
Roland McGrath
e699500013 2002-09-04 Bruno Haible <bruno@clisp.org>
* sysdeps/unix/sysv/linux/sigset-cvt-mask.h (sigset_set_old_mask,
	sigset_get_old_mask): Turn into inline functions.
	* sysdeps/unix/sysv/aix/sigset-cvt-mask.h (sigset_set_old_mask,
	sigset_get_old_mask): Likewise.
	* sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h (sigset_set_old_mask,
	sigset_get_old_mask): Likewise.
2002-09-05 18:51:44 +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
1717fd72fb 2002-08-26 Roland McGrath <roland@redhat.com>
* sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Replace
	macro with inline function.
	(sigset_get_old_mask): Likewise.
	* sysdeps/posix/sigblock.c (__sigblock): Update callers.
	* sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
	* sysdeps/posix/sigpause.c (__sigpause): Likewise.
	* sysdeps/posix/sigvec.c (__sigvec, sigvec_wrapper_handler): Likewise.
	* sysdeps/unix/sysv/aix/sigset-cvt-mask.h
	(sigset_set_old_mask, sigset_get_old_mask): Make these macros return
	values.
	* sysdeps/unix/sysv/linux/sigset-cvt-mask.h: Likewise.
	* sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: Likewise.
2002-08-27 02:43:04 +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
Roland McGrath
94a376cc2c 2002-08-12 Roland McGrath <roland@redhat.com>
* include/grp.h (setgroups): Add libc_hidden_proto.
	* sysdeps/generic/setgroups.c: Add libc_hidden_def.
	* sysdeps/mach/hurd/setgroups.c: Likewise.
	* sysdeps/unix/sysv/irix4/setgroups.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2002-08-13 01:07:58 +00:00
Roland McGrath
84091b65ff 2002-08-12 Roland McGrath <roland@redhat.com>
* include/sys/wait.h (__waitpid): Add libc_hidden_proto.
	* sysdeps/unix/sysv/sco3.2.4/waitpid.S: Add libc_hidden_def.
	* sysdeps/unix/sysv/sysv4/waitpid.c: Add libc_hidden_weak.
	* sysdeps/unix/sysv/linux/waitpid.c: Likewise.
	* sysdeps/unix/sysv/aix/waitpid.c: Likewise.
	* sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
	* sysdeps/generic/waitpid.c: Likewise.
2002-08-13 01:07:52 +00:00
Roland McGrath
f994831e93 2002-08-13 Jakub Jelinek <jakub@redhat.com>
* include/sys/stat.h (__fxstat_internal, __fxstat64_internal,
	__lxstat_internal, __lxstat64_internal): Remove.
	(__fxstat, __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64):
	Add hidden_proto.
	* sysdeps/generic/fxstat.c (__fxstat): Add hidden_def.
	Remove INTDEF where present, remove #undef at the beginning.
	* sysdeps/generic/fxstat64.c (__fxstat64): Likewise.
	* sysdeps/generic/lxstat.c (__lxstat): Likewise.
	* sysdeps/generic/lxstat64.c (__lxstat64): Likewise.
	* sysdeps/generic/xstat.c (__xstat): Likewise.
	* sysdeps/generic/xstat64.c (__xstat64): Likewise.
	* sysdeps/mach/hurd/dl-sysdep.c (__xstat64, __fxstat64): Likewise.
	* sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise.
	* sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise.
	* sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise.
	* sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise.
	* sysdeps/mach/hurd/xstat.c (__xstat): Likewise.
	* sysdeps/mach/hurd/xstat64.c (__xstat64): Likewise.
	* sysdeps/unix/fxstat.c (__fxstat): Likewise.
	* sysdeps/unix/common/lxstat.c (__lxstat): Likewise.
	* sysdeps/unix/sysv/aix/fxstat.c (__fxstat): Likewise.
	* sysdeps/unix/sysv/aix/fxstat64.c (__fxstat64): Likewise.
	* sysdeps/unix/sysv/aix/lxstat.c (__lxstat): Likewise.
	* sysdeps/unix/sysv/aix/lxstat64.c (__lxstat64): Likewise.
	* sysdeps/unix/sysv/aix/xstat.c (__xstat): Likewise.
	* sysdeps/unix/sysv/aix/xstat64.c (__xstat64): Likewise.
	* sysdeps/unix/sysv/linux/ia64/fxstat.c (__fxstat): Likewise.
	* sysdeps/unix/sysv/linux/ia64/lxstat.c (__lxstat): Likewise.
	* sysdeps/unix/sysv/linux/ia64/xstat.c (__xstat): Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c (__fxstat): Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c (__lxstat): Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/xstat.c (__xstat): Likewise.
	* sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
	* sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
	* sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
	* sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
	* sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
	* sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
	* sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Likewise.
	* sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
	* sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
	* sysdeps/unix/xstat.c (__xstat): Likewise.
2002-08-13 00:23:09 +00:00
Roland McGrath
9c1cc5c52c 2002-08-13 Jakub Jelinek <jakub@redhat.com>
* include/unistd.h (tcgetpgrp): Add libc_hidden_proto.
	* include/termios.h (tcsetattr, cfsetispeed, cfsetospeed): Likewise.
	* sysdeps/generic/tcgetpgrp.c (tcgetpgrp): Add libc_hidden_def.
	* sysdeps/generic/tcsetattr.c (tcsetattr): Likewise.
	* sysdeps/generic/speed.c (cfsetispeed, cfsetospeed): Likewise.
	* sysdeps/unix/bsd/bsd4.4/tcsetattr.c (tcgetpgrp): Likewise.
	* sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Likewise.
	* sysdeps/unix/bsd/sun/sunos4/speed.c (cfsetispeed, cfsetospeed):
	Likewise.
	* sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
	* sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
	* sysdeps/unix/sysv/aix/tcsetattr.c (tcsetattr): Likewise.
	* sysdeps/unix/sysv/aix/speed.c (cfsetispeed, cfsetospeed): Likewise.
	* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
	* sysdeps/unix/sysv/linux/speed.c (cfsetispeed, cfsetospeed): Likewise.
	* sysdeps/unix/sysv/tcgetpgrp.c (tcgetpgrp): Likewise.
	* sysdeps/unix/sysv/tcsetattr.c (tcsetattr): Likewise.
2002-08-13 00:23:01 +00:00
Roland McGrath
e0acc021ce 2002-08-13 Jakub Jelinek <jakub@redhat.com>
* include/unistd.h (seteuid, setegid): Add libc_hidden_proto.
	* sysdeps/generic/seteuid.c (seteuid): Add libc_hidden_def.
	* sysdeps/generic/setegid.c (setegid): Likewise.
	* sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
	* sysdeps/mach/hurd/setegid.c (setegid): Likewise.
	* sysdeps/unix/bsd/seteuid.c (seteuid): Likewise.
	* sysdeps/unix/bsd/setegid.c (setegid): Likewise.
	* sysdeps/unix/sysv/aix/seteuid.c (seteuid): Likewise.
	* sysdeps/unix/sysv/aix/setegid.c (setegid): Likewise.
	* sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c (seteuid): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Likewise.
	* sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
	* sysdeps/unix/sysv/linux/setegid.c (setegid): Likewise.
	* sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
	Remove fallback if __ASSUME_SETRESUID_SYSCALL.
2002-08-13 00:22:48 +00:00
Roland McGrath
216e12e222 2002-08-03 Roland McGrath <roland@redhat.com>
* include/sys/resource.h: Use libc_hidden_proto for getpriority,
	setpriority.
	* sysdeps/unix/sysv/linux/getpriority.c: Add libc_hidden_def.
	* sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
	* sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
	* sysdeps/mach/hurd/setpriority.c: Likewise.
	* sysdeps/mach/hurd/getpriority.c: Likewise.
	* sysdeps/generic/setpriority.c: Likewise.
	* sysdeps/generic/getpriority.c: Likewise.
2002-08-05 02:18:11 +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
Ulrich Drepper
1d343348c1 (__sysconf): Add libc_hidden_def. 2002-08-04 09:16:35 +00:00
Roland McGrath
e38327be06 2002-08-03 Roland McGrath <roland@redhat.com>
* include/sys/resource.h: Use libc_hidden_proto for getpriority,
	setpriority.
	* sysdeps/unix/sysv/linux/getpriority.c: Add libc_hidden_def.
	* sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
	* sysdeps/mach/hurd/setpriority.c: Likewise.
	* sysdeps/mach/hurd/getpriority.c: Likewise.
	* sysdeps/generic/setpriority.c: Likewise.
	* sysdeps/generic/getpriority.c: Likewise.
2002-08-04 03:50:10 +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
d97abfcbcb (__NSSBITS): Correct value. 2002-07-10 20:24:32 +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
Ulrich Drepper
ac309f11ea (__fork): Remove INTDEF. 2002-06-20 22:43:34 +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
Andreas Jaeger
eb7e1f616e Don't use multiline string as argument of #error. 2002-05-19 16:24:27 +00:00
Ulrich Drepper
a514656381 (__recvmsg, __sendmsg): Add aliases. 2002-05-15 00:20:02 +00:00
Ulrich Drepper
4c68ac2b46 (__getsockname): Renamed from getsockname, add getsockname as weak alias. 2002-05-15 00:14:45 +00:00
Ulrich Drepper
dd96b0cb1d (__sendmsg): Renamed from sendmsg, add sendmsg as weak alias. 2002-05-15 00:10:13 +00:00
Ulrich Drepper
fa87d850d1 (__recvfrom): Renamed from recvfrom, add recvfrom as weak alias. 2002-05-15 00:08:25 +00:00
Ulrich Drepper
7fbbcc094f (__recvmsg): Renamed from recvmsg, add recvmsg as weak alias. 2002-05-15 00:07:30 +00:00
Roland McGrath
942fe80901 2002-04-30 Roland McGrath <roland@frob.com>
Removed old GNU stdio implementation; GNU libio is now the only option.
	* configure.in: Removed --enable-libio option and @stdio@ subst var.
	Define USE_IN_LIBIO unconditionally.
	* configure: Regenerated.
	* Makeconfig (stdio): Set to libio by default.
	* config.make.in (stdio): Variable removed.
	* sysdeps/unix/sysv/linux/configure.in: Don't set $stdio.
	* sysdeps/unix/sysv/linux/configure: Regenerated.
	* sysdeps/mach/hurd/configure.in: Don't test $stdio.
	* sysdeps/mach/hurd/configure: Regenerated.
	* stdio/.cvsignore: File removed.
	* stdio/Makefile: File removed.
	* stdio/Versions: File removed.
	* stdio/__fbufsize.c: File removed.
	* stdio/__flbf.c: File removed.
	* stdio/__fpending.c: File removed.
	* stdio/__fpurge.c: File removed.
	* stdio/__freadable.c: File removed.
	* stdio/__freading.c: File removed.
	* stdio/__fsetlocking.c: File removed.
	* stdio/__fwritable.c: File removed.
	* stdio/__fwriting.c: File removed.
	* stdio/clearerr.c: File removed.
	* stdio/fclose.c: File removed.
	* stdio/fcloseall.c: File removed.
	* stdio/feof.c: File removed.
	* stdio/ferror.c: File removed.
	* stdio/fflush.c: File removed.
	* stdio/fgetc.c: File removed.
	* stdio/fgetpos.c: File removed.
	* stdio/fgets.c: File removed.
	* stdio/fileno.c: File removed.
	* stdio/fmemopen.c: File removed.
	* stdio/fopen.c: File removed.
	* stdio/fopncook.c: File removed.
	* stdio/fputc.c: File removed.
	* stdio/fputs.c: File removed.
	* stdio/fread.c: File removed.
	* stdio/freopen.c: File removed.
	* stdio/fseek.c: File removed.
	* stdio/fsetpos.c: File removed.
	* stdio/ftell.c: File removed.
	* stdio/fwrite.c: File removed.
	* stdio/getc.c: File removed.
	* stdio/getchar.c: File removed.
	* stdio/getdelim.c: File removed.
	* stdio/gets.c: File removed.
	* stdio/glue.c: File removed.
	* stdio/internals.c: File removed.
	* stdio/linewrap.c: File removed.
	* stdio/linewrap.h: File removed.
	* stdio/memstream.c: File removed.
	* stdio/newstream.c: File removed.
	* stdio/obstream.c: File removed.
	* stdio/putc.c: File removed.
	* stdio/putchar.c: File removed.
	* stdio/puts.c: File removed.
	* stdio/rewind.c: File removed.
	* stdio/setbuf.c: File removed.
	* stdio/setbuffer.c: File removed.
	* stdio/setlinebuf.c: File removed.
	* stdio/setvbuf.c: File removed.
	* stdio/stdio.h: File removed.
	* stdio/ungetc.c: File removed.
	* stdio/vasprintf.c: File removed.
	* stdio/vscanf.c: File removed.
	* stdio/vsnprintf.c: File removed.
	* stdio/vsprintf.c: File removed.
	* stdio/vsscanf.c: File removed.
	* sysdeps/generic/defs.c: File removed.
	* sysdeps/generic/fdopen.c: File removed.
	* sysdeps/generic/pipestream.c: File removed.
	* sysdeps/generic/stdio_init.c: File removed.
	* sysdeps/generic/sysd-stdio.c: File removed.
	* sysdeps/generic/vdprintf.c: File removed.
	* sysdeps/mach/hurd/defs.c: File removed.
	* sysdeps/mach/hurd/fdopen.c: File removed.
	* sysdeps/mach/hurd/pipestream.c: File removed.
	* sysdeps/mach/hurd/stdio_init.c: File removed.
	* sysdeps/mach/hurd/sysd-stdio.c: File removed.
	* sysdeps/mach/hurd/vdprintf.c: File removed.
	* sysdeps/posix/defs.c: File removed.
	* sysdeps/posix/fdopen.c: File removed.
	* sysdeps/posix/pipestream.c: File removed.
	* sysdeps/posix/stdio_init.c: File removed.
	* sysdeps/posix/vdprintf.c: File removed.
	* sysdeps/unix/pipestream.c: File removed.
	* sysdeps/unix/sysv/sysd-stdio.c: File removed.
	* sysdeps/unix/sysv/sco3.2.4/pipestream.c: File removed.
	* sysdeps/unix/sysv/sysv4/pipestream.c: File removed.
2002-04-30 22:00:59 +00:00
Ulrich Drepper
337ca8062e Add __connect_internal. 2002-04-19 07:56:42 +00:00
Ulrich Drepper
9d337e61ff Use INTDEF for __write. 2002-04-15 05:30:10 +00:00
Ulrich Drepper
548fe33d15 Use INTDEF for __lxstat64. 2002-04-15 05:28:30 +00:00
Ulrich Drepper
2093a68877 Use INTDEF for __lxstat. 2002-04-15 05:27:20 +00:00
Ulrich Drepper
0e36d9d57e Use INTDEF for __open. 2002-04-14 20:12:24 +00:00
Ulrich Drepper
d0a1614c81 Undefine __libc_fcntl as well. 2002-04-14 18:34:22 +00:00
Ulrich Drepper
016f45be9b Define __gettimeofday alias. 2002-04-14 09:12:57 +00:00
Ulrich Drepper
4c7b01bd93 Use INTEDEF for __gettimeofday. 2002-04-14 09:11:55 +00:00
Ulrich Drepper
5fe32a10ce Use INTDEF for __getpgid. 2002-04-14 08:42:53 +00:00
Ulrich Drepper
a02fe38fa8 Use INTDEF for __getpagesize. 2002-04-14 08:41:04 +00:00
Ulrich Drepper
9155b112e9 Use INTDEF for __fxstat64. 2002-04-14 08:38:17 +00:00
Ulrich Drepper
144484daa4 Use INTDEF for __fxstat. 2002-04-14 08:37:17 +00:00
Ulrich Drepper
3ab5bc8a52 LOC): Don't paste in a token. 2002-04-11 20:38:52 +00:00
Ulrich Drepper
e4bf0032b0 Use INTUSE for __chown calls. 2002-04-09 20:26:17 +00:00
Ulrich Drepper
d6a57cb894 Use INTDEF for __fork. 2002-04-09 20:22:09 +00:00
Ulrich Drepper
1555f102ef Use INTDEF for __connect. 2002-04-09 20:21:24 +00:00
Ulrich Drepper
db601cfcce Use INTDEF for __chown. 2002-04-09 20:20:23 +00:00
Ulrich Drepper
a4b6834c4f Use INTDEF for __fcntl. 2002-04-09 19:49:11 +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
Ulrich Drepper
15a7702daa (__libc_multiple_libcs): Define as hidden. 2002-03-13 03:49:52 +00:00
Ulrich Drepper
48e6095f0e Define __libc_argc and __libc_argv as hidden. 2002-03-12 21:37:08 +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
8badabd849 _dl_fpu_control, _dl_fpu_control_set): Remove unused externs. 2002-02-01 19:03:37 +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
51e7253b84 Add sysv_termio.h and start-libc.c. 2002-01-08 21:54:58 +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
177ac300b9 Add real implementation. 2001-09-22 21:28:25 +00:00
Ulrich Drepper
3805349500 (init): Use USE_NONONPTION_FLAG ifdef for __getopt_clean_environment. 2001-09-22 21:19:47 +00:00
Ulrich Drepper
7a250cfd1e termio definitions for AIX. 2001-09-08 17:45:10 +00:00
Ulrich Drepper
e2cf1dd41d Library startup code for AIX. 2001-09-08 17:44:33 +00:00
Ulrich Drepper
48255f4c66 Program startup code for AIX. 2001-09-08 17:41:25 +00:00
Ulrich Drepper
de447e48ce Alias __libc_fcntl to __fcntl. 2001-09-08 17:40:41 +00:00
Ulrich Drepper
c25168ce57 Startup code for glibc on AIX. 2001-09-08 17:24:19 +00:00
Ulrich Drepper
51ca795a3c Not needed anymore. 2001-09-08 17:23:45 +00:00
Ulrich Drepper
3dd5528154 (aix-syscalls.o): More linker command line options. 2001-09-08 17:22:27 +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
Ulrich Drepper
4435779790 Fix type of __id_t, __useconds_t and __intptr_t. 2001-08-16 05:32:49 +00:00
Ulrich Drepper
85e36b0922 Add rule to import kernel symbols. 2001-08-16 05:32:30 +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
1e0904c1c1 Add dl-support.c, dl-addr.c, and dl-error.c. 2001-07-28 06:08:50 +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
Ulrich Drepper
655f4b14c8 Improve nsendmsg prototype. 2001-07-08 07:15:01 +00:00
Ulrich Drepper
f89b56b804 (sendmsg): Fix return type. 2001-07-08 07:14:06 +00:00
Ulrich Drepper
c96d6988ab (recvmsg): Fix return type. 2001-07-08 07:11:53 +00:00
Ulrich Drepper
7f82b7444c (__recv): Fix typo. 2001-07-08 07:09:12 +00:00
Ulrich Drepper
097cf6fa03 AIX recv implementation. 2001-07-08 07:05:51 +00:00
Ulrich Drepper
a207bef32f Fix various types. 2001-07-08 07:02:19 +00:00
Ulrich Drepper
0312b508ac (__libc_dlclose): Fix typo. 2001-07-08 06:55:42 +00:00
Ulrich Drepper
da48cd782f (__gettimeofday): Add declarations for asm functions. 2001-07-08 06:47:53 +00:00
Ulrich Drepper
af9dfe869f Fix typo. 2001-07-07 19:19:16 +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
Andreas Jaeger
a5bebe4c22 Remove check for crypt add-on. 2001-07-03 16:50:33 +00:00
Ulrich Drepper
3553aef886 Register dump function implementation for AIX/PPC. 2001-06-20 07:08:58 +00:00
Ulrich Drepper
aa21e7c94f usleep implementation for AIX. 2001-06-20 07:08:26 +00:00
Ulrich Drepper
cc811924cd sleep implementation for AIX. 2001-06-20 07:08:13 +00:00
Ulrich Drepper
55f326305c setitimer implementation for AIX. 2001-06-20 07:07:41 +00:00
Ulrich Drepper
68dbc1fdab Various helper functions for dynamic loader code. 2001-06-20 07:07:10 +00:00
Ulrich Drepper
dc0664c129 _dl_error implementation for AIX. 2001-06-20 07:06:11 +00:00
Ulrich Drepper
6fb75a6469 _dl_addr implementation for AIX. 2001-06-20 07:05:44 +00:00
Ulrich Drepper
b9823d7f91 Define __dso_handle if not ELF but shared. 2001-06-20 07:04:35 +00:00
Ulrich Drepper
ed556c3c99 Removed #if 0. 2001-06-20 07:04:05 +00:00
Ulrich Drepper
58e6e5bfc6 Added dl-support.c and dl-error.c. 2001-06-20 07:03:22 +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
6b8a08a9d6 Add a few new files. 2001-04-07 23:36:25 +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
Ulrich Drepper
5e9cba3061 Don't use the ELF version, define simple replacements here. 2001-04-05 05:28:23 +00:00
Ulrich Drepper
2fc87911c7 (_dl_open): Fix typo in last change. 2001-04-05 04:19:17 +00:00
Ulrich Drepper
ebe30a97c9 Define __getpeername. 2001-04-04 01:54:28 +00:00
Ulrich Drepper
21be1647f1 AIX PPC memset implementation. 2001-04-04 01:52:37 +00:00
Ulrich Drepper
32cb7502fd AIX dl-sym. 2001-04-04 01:51:14 +00:00
Ulrich Drepper
aceb4f8d27 libc_dl-xxx support. 2001-04-04 01:49:24 +00:00
Ulrich Drepper
dfb0b211c1 AIX dl-open. 2001-04-04 01:48:10 +00:00
Ulrich Drepper
bbee9a4145 AIX dl-close. 2001-04-04 01:36:43 +00:00
Ulrich Drepper
852702b5c1 AIX __loadx defines. 2001-04-04 01:34:38 +00:00
Ulrich Drepper
5f55815d27 AIX startup code. 2001-04-04 01:33:04 +00:00
Ulrich Drepper
7fac016cfa AIX gettimeofday implementation. 2001-04-04 01:32:14 +00:00
Ulrich Drepper
42f86baa0d AIX utmpx.h definitions. 2001-04-04 01:28:41 +00:00
Ulrich Drepper
c8bf86d074 Added _HAVE_UT_TYPE/PID/ID/TV/HOST defines. 2001-04-04 01:26:49 +00:00
Ulrich Drepper
4b159c0223 Removed temp code and made stub. 2001-04-04 01:18:11 +00:00
Ulrich Drepper
1abb612d81 Remove /usr/lib/crt0.o added dl-libc, dl-open,dl-sym, dl-close to misc. 2001-04-04 01:17:41 +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
e46c35fd6b Change type of second parameter back to size_t as per upcoming XPG6. 2001-03-17 08:27:45 +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
5f1644d26e Define alias __libc_write. 2001-02-23 20:24:40 +00:00
Ulrich Drepper
dcab999777 Define __need_NULL before including <stddef.h>. 2001-02-23 20:24:20 +00:00
Ulrich Drepper
8cc9fd41c3 Not needed anymore. 2001-02-23 20:16:31 +00:00
Ulrich Drepper
76b92c87ab Remove restf.S and savef.S. 2001-02-23 20:15:49 +00:00
Ulrich Drepper
70f970dfee [$(subdir) == misc] (sysdep_routines): Remove restf.S and savef.S. 2001-02-23 20:15:23 +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
f2018ae11c (struct sockaddr_storage): Define ss_family and __ss_family. 2001-01-27 21:23:07 +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
76d981d3a6 Use nfds_t type in function definition. 2001-01-27 04:58:11 +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
601ce73202 Add uitrunc.c, savef.S, and restf.S. 2001-01-07 07:32:00 +00:00
Ulrich Drepper
cce723df01 Remove sys/acct.h. 2001-01-07 07:03:36 +00:00
Ulrich Drepper
74b113601f (struct stat): Align with AIX version.
(struct stat64): Likewise.
2000-12-16 18:15:32 +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
Ulrich Drepper
f26c98f0d4 [$(subdir)==misc] (sysdep_routines): Add uitrunc. 2000-12-07 00:32:26 +00:00
Ulrich Drepper
a8028612ca __uitrunc implementation. 2000-12-07 00:31:48 +00:00
Ulrich Drepper
66c776d718 Floating point register restore functions. 2000-12-06 03:14:16 +00:00
Ulrich Drepper
e198e3e80e Floating point register saving functions. 2000-12-06 03:13:59 +00:00
Ulrich Drepper
dcd9300681 [$(subdir)==misc] (sysdep_routines): Add restf and savef. 2000-12-06 03:12:51 +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
Ulrich Drepper
3f4be017d8 Define MAXHOSTNAMELEN. 2000-12-05 16:18:48 +00:00
Ulrich Drepper
bbeb0a2e8e AIX/PPC implementation of lrintf. 2000-12-05 04:17:58 +00:00
Ulrich Drepper
07aef1acd4 Cleanup. Add comments. 2000-12-05 04:13:34 +00:00
Ulrich Drepper
d84fcdf42a Define __clockid_t and __timer_t. 2000-12-05 04:05:25 +00:00
Ulrich Drepper
b75905aee7 Nothing. 2000-12-05 04:03:03 +00:00
Ulrich Drepper
d4810d08f2 (JUMPTARGET): Use C_TEXT. 2000-12-05 04:00:48 +00:00
Ulrich Drepper
6e7c7c2186 Define pread64 alias. 2000-12-05 03:58:15 +00:00
Ulrich Drepper
42696fe77f Define pread alias. 2000-12-05 03:57:44 +00:00
Ulrich Drepper
ba2df8a934 Define __libc_open alias. 2000-12-05 03:57:00 +00:00
Ulrich Drepper
c4aa3b70bc Define __libc_lseek alias. 2000-12-05 03:55:49 +00:00
Ulrich Drepper
74c9e7dc5a Define __fchdir. 2000-12-05 03:48:38 +00:00
Ulrich Drepper
aa2f92db99 [$(subdir)==login] (sysdep_routines): Add setutxent, getutxent,
endutxent, getutxid, getutxline, pututxline, and utmpxname.
2000-12-05 03:46:39 +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