Commit Graph

240 Commits

Author SHA1 Message Date
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