Commit Graph

325 Commits

Author SHA1 Message Date
Ulrich Drepper
5b52ee1753 Small optimisation. 2002-12-21 18:36:55 +00:00
Roland McGrath
db8eb98510 2002-10-29 Jakub Jelinek <jakub@redhat.com>
* sysdeps/gnu/siglist.c (PTR_SIZE_STR): Remove.
	(__old_sys_siglist, __old_sys_sigabbrev): Use strong_alias and
	declare_symbol.
	* sysdeps/mach/hurd/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
	(OLD_SIGLIST_SIZE): Define.
	* sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
	(OLD_SIGLIST_SIZE): Define.
	* sysdeps/unix/sysv/linux/arm/siglist.c: Remove.
2002-11-01 20:48:33 +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
75380e2be2 (profil_counter): Add hack to prevent the compiler from clobbering the signal
context.
2002-10-14 17:26:14 +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
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
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
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
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
9b4c30e300 Add _sys_siglist_internal alias. 2002-08-04 23:26:50 +00:00
Ulrich Drepper
da5f5f7986 Add libc_hidden_def. Remove undef and INTDEF. 2002-08-03 06:57:53 +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
8310ff4225 [subdir=elf] (sysdep-rtld-routines, sysdep_routines, sysdep-dl-routines): Don't
define.
2002-07-15 02:07:17 +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
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
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 Jaeger
3214b89b32 Update to LGPL v2.1. 2001-07-06 04:56:23 +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
d76aa2b87e (CALL_SIGHANDLER): Define. 2001-03-16 23:52:16 +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
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
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
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
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
Ulrich Drepper
ce5c1dab0d [$(subdir)==resource] (sysdep_routines): Add oldgetrlimit64. 2000-08-27 01:01:17 +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
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
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
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
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
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
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
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
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
Ulrich Drepper
fd327b8820 Add POSIX_MADV_* constants. 2000-04-14 05:57:49 +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
0772663d31 Use shlib-compat macros. 2000-03-31 05:39:18 +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
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
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
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
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
358f8be2ed Add sys/io.h. 2000-01-23 08:52:50 +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
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
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
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
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
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
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
446548bb28 Define SIGCONTEXT_EXTRA_ARGS. 1999-08-23 17:43:28 +00:00
Ulrich Drepper
22b137b9fd Undo last change. 1999-07-18 00:25:28 +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
4d1f7dc129 Include libintl.h. 1999-06-19 09:47:58 +00:00
Ulrich Drepper
b6a1f966a0 Add sigrestorer.S. 1999-05-03 12:40:23 +00:00
Ulrich Drepper
5f406da841 Fix typo in preventing compilation of file. 1999-04-15 14:45:16 +00:00
Ulrich Drepper
45c6c04d8d mmap calls could not be restarted after being interrupted by
a signal.  The parameters on the stack were corrupted by the
signal handler.
1999-04-14 13:42:16 +00:00
Ulrich Drepper
95084e8a47 Socket calls could not be restarted after being interrupted by
a signal.  The parameters on the stack were corrupted by the
signal handler.
1999-04-14 13:42:04 +00:00
Ulrich Drepper
a9b40c2a26 (INLINE_SYSCALL): Include the syscall name in assembler output for ease
of debugging.
1999-04-12 09:04:12 +00:00
Ulrich Drepper
74804c97db Linux/ARM vfork implementation. 1999-04-12 09:03:50 +00:00
Ulrich Drepper
2f091ace9d Signal termination function. 1999-04-12 09:03:27 +00:00
Ulrich Drepper
2761e5acd7 Don't rely on undefined compiler behaviour. 1999-04-12 09:02:56 +00:00
Ulrich Drepper
65e8edc76b (_outw, _outb, _outl): Don't bother range checking the port number. 1999-04-12 09:02:39 +00:00
Ulrich Drepper
85fb60ef9e [$(subdir) = signal]
(sysdep_routines): Add sigrestorer.
1999-04-12 09:02:23 +00:00
Andreas Schwab
2ac24faac8 1999-03-18 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/getgroups.c: New file.  Use the i386
	implementation.
1999-03-19 01:54:41 +00:00
Ulrich Drepper
ac3b5c24b4 We need to use a syscall. 1999-01-29 08:03:49 +00:00
Ulrich Drepper
f6e4428cea Correct error check again. 1999-01-25 09:27:19 +00:00
Ulrich Drepper
61f5bb0159 Undo last change. Not needed. 1999-01-22 09:19:57 +00:00
Ulrich Drepper
33092c325a Add vfork.S. 1999-01-21 09:46:35 +00:00
Ulrich Drepper
7f833eba90 Optimise a little, support 26-bit machines correctly and fix check for
returned errors.
1999-01-21 09:46:25 +00:00
Ulrich Drepper
462d695aea Linux/Arm sigaction implementation. 1999-01-21 09:46:15 +00:00
Ulrich Drepper
5149854edf Linux/Arm vfork implementation. 1999-01-21 09:46:07 +00:00
Ulrich Drepper
453b49e1f4 Add sys/user.h. 1999-01-14 12:57:55 +00:00
Ulrich Drepper
a6446af10a Fix bug in last change. 1999-01-07 09:53:56 +00:00
Ulrich Drepper
44338a354e Linux/ARM specific definitions for signal handlers and ptrace. 1999-01-05 09:03:21 +00:00
Ulrich Drepper
5093ff056e Linux/ARM specific sigcontext definitions. 1999-01-04 17:21:38 +00:00
Ulrich Drepper
ba498420cb Correct widths of register values. 1999-01-04 17:21:15 +00:00