Commit Graph

258 Commits

Author SHA1 Message Date
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
Ulrich Drepper
942aea54d8 Linux/ARM implementation of pwrite. 1999-01-04 09:31:47 +00:00
Ulrich Drepper
db0fc32232 Linux/ARM implementation of pwrite64. 1999-01-04 09:31:41 +00:00
Ulrich Drepper
d7335f1973 Linux/ARM implementation of pread64. 1999-01-04 09:31:32 +00:00
Ulrich Drepper
26466099db Linux/ARM implementation of pread. 1999-01-04 09:31:27 +00:00
Ulrich Drepper
4479f56334 Add ioperm.c and sys/io.h. 1998-12-27 17:28:24 +00:00
Ulrich Drepper
97775ba3ce (sysdep_routines): Add ioperm. 1998-12-24 16:17:59 +00:00
Ulrich Drepper
d2eb5e136a Add appropriate entries for the above. 1998-12-22 17:27:58 +00:00
Ulrich Drepper
78c3f7b379 Header for implementation of inb, outb etc for ARM systems. 1998-12-22 17:27:23 +00:00
Ulrich Drepper
3d72808b73 Implementation of inb, outb etc for ARM systems. 1998-12-22 17:26:00 +00:00
Ulrich Drepper
fc37023323 Remove wrappers for now-inlined calls. 1998-12-22 17:25:27 +00:00
Ulrich Drepper
ba023f01b9 (INLINE_SYSCALL): Add implementation. 1998-12-22 17:25:07 +00:00
Ulrich Drepper
bc8f3c9b4e Add mmap64 alias. 1998-11-16 12:01:02 +00:00
Ulrich Drepper
d87c3bc05d Rename __syscall_pwrite64 to __syscall_pwrite.
Rename __sys_llseek to __syscall__llseek.
1998-10-26 11:08:18 +00:00
Ulrich Drepper
a2567f7925 Add setresuid.c, setresgid.c, setfsuid.c, and setfsgid.c. 1998-10-23 14:04:39 +00:00
Ulrich Drepper
1cecc97eb7 Include <asm/ptrace.h> to define struct pt_regs. 1998-10-23 13:42:01 +00:00
Ulrich Drepper
8ffd8e8442 Remove spurious call to C_SYMBOL_NAME macro. 1998-10-23 13:41:52 +00:00
Ulrich Drepper
9c962c928d Don't bother including <asm/ptrace.h> here. 1998-10-23 13:41:45 +00:00
Ulrich Drepper
5e9b4624ad [subdir=signal] (sysdep_routines): Add various rt_* functions. 1998-10-21 15:40:22 +00:00
Ulrich Drepper
1d40317e33 Add various __syscall_* definitions. 1998-10-21 15:28:22 +00:00
Ulrich Drepper
7471881d52 Linux/ARM implementation of setreuid. 1998-10-21 15:14:34 +00:00
Ulrich Drepper
a418924030 Linux/ARM implementation of setregid. 1998-10-21 15:14:29 +00:00
Ulrich Drepper
0e8ad5182b Added setfsgid and setfsuid. 1998-10-19 14:40:52 +00:00
Ulrich Drepper
d69f35a807 Add s_setgid, s_setresuid, s_setresgid, and s_setuid. 1998-10-16 16:28:36 +00:00
Ulrich Drepper
b88a94ba82 Wrapper around setuid syscall to check for value range. 1998-10-16 16:21:54 +00:00
Ulrich Drepper
176f971960 Wrapper around setresuid syscall to check for value range. 1998-10-16 16:21:49 +00:00
Ulrich Drepper
5978cf8273 Wrapper around setresgid syscall to check for value range. 1998-10-16 16:21:45 +00:00
Ulrich Drepper
111397630d Wrapper around setgroups syscall to check for value range. 1998-10-16 16:21:38 +00:00
Ulrich Drepper
b86b54f476 Wrapper around setgid syscall to check for value range. 1998-10-16 16:21:31 +00:00
Ulrich Drepper
0047c441ae Wrapper around setfsuid syscall to check for value range. 1998-10-16 16:21:24 +00:00
Ulrich Drepper
b1491b35b3 Wrapper around setfsgid syscall to check for value range. 1998-10-16 16:21:18 +00:00
Ulrich Drepper
ed2acf85b1 Wrapper around setugid syscall to check for value range. 1998-10-16 16:21:08 +00:00
Ulrich Drepper
32f8b0679c Wrapper around setegid syscall to check for value range. 1998-10-16 16:21:03 +00:00
Ulrich Drepper
4a12df66ac Linux/Arm specific makefile. 1998-10-16 16:18:30 +00:00
Ulrich Drepper
6a9821445a Add bits/armsigctx.h. 1998-10-15 10:45:34 +00:00
Ulrich Drepper
86ffa1b43a (PSEUDO): Add missing semicolon so that profiling works. 1998-10-12 11:15:04 +00:00
Ulrich Drepper
d856c16291 Definition of sigcontext for 2.0 and 2.1 kernels. 1998-10-09 10:50:29 +00:00
Ulrich Drepper
e205b76dd7 Add support for version 2.0 kernels. 1998-10-09 10:50:14 +00:00
Ulrich Drepper
7817d752ae Move definition of sigcontext union to bits/armsigctx.h. 1998-10-09 10:50:07 +00:00
Ulrich Drepper
e5432e2896 Register content dump function. 1998-10-01 14:30:25 +00:00
Ulrich Drepper
f65fc5cb2d Don't mention bits/mman.h. 1998-09-23 16:37:13 +00:00
Ulrich Drepper
8b86c06fec Add init-first.h. 1998-09-14 16:38:32 +00:00
Ulrich Drepper
cb759cab5a Initialization stuff for Linux/ARM. 1998-08-20 17:37:44 +00:00
Ulrich Drepper
e77c56e8f5 ARM specific errlist definition. 1998-08-20 17:37:26 +00:00
Ulrich Drepper
60839328e8 siglist for Linux/Arm. 1998-07-27 17:54:43 +00:00
Ulrich Drepper
e3ec78f5a3 Replace stub with real implementation. 1998-07-27 17:54:21 +00:00
Ulrich Drepper
f69a3b40ff brk implementation for Linux/Arm. 1998-07-27 17:54:08 +00:00
Ulrich Drepper
d0b4f6bb0b Add `syscall'. 1998-07-05 08:23:19 +00:00
Ulrich Drepper
51d02d34a5 Not needed anymore. 1998-07-05 08:22:32 +00:00
Ulrich Drepper
4c01c1dcf2 Make _errno a weak alias, not a strong alias. 1998-07-01 09:33:01 +00:00
Ulrich Drepper
c61de13d2c Use C_SYMBOL_NAME when referring to errno and _errno. 1998-06-01 13:37:18 +00:00
Ulrich Drepper
e0ebc3b2ef Use __ASSEMBLER__ test macro not ASSEMBLER. 1998-05-29 10:20:59 +00:00
Ulrich Drepper
7500ff18c7 Correct handling of arguments. 1998-05-19 16:12:40 +00:00
Ulrich Drepper
096031e14c (PSEUDO): On error, call __syscall_error rather than syscall_error
directly.
1998-04-30 16:57:25 +00:00
Ulrich Drepper
a62da3689a mmap syscall interface for Linux/ARM. 1998-04-30 16:57:14 +00:00
Ulrich Drepper
859d74afa9 2.0 kernel support. 1998-04-07 09:11:50 +00:00
Ulrich Drepper
80509c667f (__syscall_error): Same for PIC and non-PIC now. Correctly negate
error number.
(errno): Use `%' not `@' in .type directives.
1998-04-03 12:06:51 +00:00
Ulrich Drepper
24e022cf82 (PSEUDO): Fix typo introduced in last change. 1998-04-03 08:23:11 +00:00
Ulrich Drepper
2284fbe2ac Correct test for error and use PLTJMP() rather than explicit (PLT). 1998-04-01 09:14:55 +00:00
Ulrich Drepper
ff550b1f27 (SYSCALL_ERROR_HANDLER): Always define, not only #ifndef PIC.
(DO_CALL): Pass fifth argument correctly in R4.
(PSEUDO): Correct test for error, call syscall_error through PLT if PIC.
1998-04-01 09:11:44 +00:00
Ulrich Drepper
0f2a261a38 (ENTRY): Correct error jump. 1998-03-18 14:34:49 +00:00
Ulrich Drepper
ff259c29e8 Check correctly for error return; call syscall_error through PLT. 1998-03-18 14:33:53 +00:00
Ulrich Drepper
caec183cea Add bits/mman.h. 1998-01-30 11:38:04 +00:00
Ulrich Drepper
41fe80e1bc Allow __socket to be redefined. 1998-01-21 17:03:20 +00:00
Ulrich Drepper
1a5bb722c3 Syscalls for Linux/ARM. 1997-12-08 03:01:53 +00:00
Ulrich Drepper
f873ad64be Linux/ARM implementation. 1997-12-04 00:02:58 +00:00
Ulrich Drepper
d2099b0d6d (SYS_ify): Don't add SWI_BASE in twice. 1997-11-13 00:19:24 +00:00
Ulrich Drepper
c4b0b9530e (profil_counter): Use correct name to access PC. 1997-11-13 00:19:12 +00:00