Commit Graph

223 Commits

Author SHA1 Message Date
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
Ulrich Drepper
2485f9c0e3 Find socketcall.h. 1997-06-21 02:50:53 +00:00
Ulrich Drepper
405916ef4b <foo.h> -> <bits/foo.h>. 1997-06-21 01:37:20 +00:00
Ulrich Drepper
fdad844df4 Get sigcontext via <signal.h> instead. 1997-06-21 01:13:01 +00:00
Ulrich Drepper
980b25cae4 Describe Linux/ARM specific extra files. 1997-06-19 19:09:33 +00:00
Ulrich Drepper
b357c75c05 ARM/Linux dependent assembler and low-level definitions. 1997-06-12 21:24:27 +00:00
Ulrich Drepper
c751295fb8 pretty printing. 1997-05-22 02:18:07 +00:00
Ulrich Drepper
1df6311982 profiling interface for Linux/ARM. 1997-05-22 02:17:10 +00:00
Ulrich Drepper
8d2485ed0b Linux/ARM specific implementation 1997-05-21 01:44:03 +00:00