Commit Graph

739 Commits

Author SHA1 Message Date
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
27cd2cbea6 Don't include <asm/io.h>; remove K&R compatibility; add missing ints. 1999-12-29 17:50:32 +00:00
Ulrich Drepper
33ea3bcec3 Remove oldgetrlimit and oldsetrlimit definitions. 1999-12-28 22:13:37 +00:00
Ulrich Drepper
1be564e03e Remove inclusion of <asm/resource.h>. 1999-12-27 06:11:17 +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
feaa2cd82b Add __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite and
__libc_pwrite64.
1999-12-24 05:47:47 +00:00
Ulrich Drepper
936d4afc98 Add missing #. 1999-12-21 16:01:52 +00:00
Ulrich Drepper
ffe8fc1f1a Linux/MIPS specific implementation of putpmsg. 1999-12-21 08:00:02 +00:00
Ulrich Drepper
f57d4a9394 Linux/MIPS specific implementation of putmsg. 1999-12-21 07:59:55 +00:00
Ulrich Drepper
764681b7a4 Linux/MIPS specific implementation of getpmsg. 1999-12-21 07:59:47 +00:00
Ulrich Drepper
8a41020257 Linux/MIPS specific implementation of getmsg. 1999-12-21 07:59:30 +00:00
Ulrich Drepper
a851d4d062 Linux/m68k specific implementation of putpmsg. 1999-12-21 07:59:20 +00:00
Ulrich Drepper
20113dce15 Linux/m68k specific implementation of putmsg. 1999-12-21 07:59:12 +00:00
Ulrich Drepper
4ea9edf197 Linux/m68k specific implementation of getpmsg. 1999-12-21 07:59:04 +00:00
Ulrich Drepper
7b6a54e39c Linux/m68k specific implementation of getmsg. 1999-12-21 07:58:57 +00:00
Ulrich Drepper
b2b066ffc2 Linux/MIPS specific definitions for resource.h. 1999-12-19 00:02:12 +00:00
Ulrich Drepper
b555e31b89 Linux/Alpha specific definitions for resource.h. 1999-12-19 00:02:03 +00:00
Ulrich Drepper
baa41915ea Not neeeded. 1999-12-18 19:39:28 +00:00
Ulrich Drepper
e22a3eb794 (__t_scalar_t, __t_uscalar_t): Make long types. 1999-12-04 07:40:43 +00:00
Ulrich Drepper
43f0382c72 Fix signedness of __rlim_t and __rlim64_t. 1999-12-02 08:19:07 +00:00
Ulrich Drepper
c0318789f2 Add oldsetrlimit and oldgetrlimit. 1999-12-02 08:18:33 +00:00
Ulrich Drepper
ecb0bc5299 Backwared compatible Linux/Alpha setrlimit64 implementation. 1999-12-02 08:18:16 +00:00
Ulrich Drepper
fce334577e Backwared compatible Linux/Alpha getrlimit64 implementation. 1999-12-02 08:18:09 +00:00
Andreas Jaeger
ccae44c2e6 Include <sys/types.h> to get key_t. 1999-11-22 16:35:07 +00:00
Andreas Jaeger
1b5f51e749 Add __syscall_setrlimit. 1999-11-22 16:34:19 +00:00
Ulrich Drepper
264ce3b03b Remove greg_t, gregset_t, fpregset_t, and NGREG definitions. 1999-11-18 00:11:49 +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
17f1ad4499 (SI_KERNEL): Added. 1999-11-01 02:35:05 +00:00
Ulrich Drepper
0927b9fc12 Added missing N_* constants. 1999-10-29 20:23:01 +00:00
Ulrich Drepper
0f2d32942c Correct namespace selection. 1999-10-19 03:07:09 +00:00
Ulrich Drepper
6e64e12d90 Add definition of gregset_t and fpregset_t. 1999-10-12 15:50:11 +00:00
Ulrich Drepper
12b8ab07b9 Update to match generic Linux version. 1999-10-12 15:19:54 +00:00
Ulrich Drepper
362932c82f Declare SA_SIGINFO. 1999-10-11 19:22:39 +00:00
Ulrich Drepper
c628e0383d Disable debug messages. 1999-10-01 16:03:15 +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
ad2b56f270 Add sys/user.h. 1999-09-07 01:40:31 +00:00
Ulrich Drepper
f908ea6c85 Linux/Alpha specific definitions to access information passed up from the
kernel.
1999-09-03 07:08:11 +00:00
Ulrich Drepper
876914479a Include <sys/user.h> instead of <asm/user.h>. 1999-09-03 07:05:16 +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
e7a486ef99 Fix sa_flags, partially reverting a patch from 1998-12-29. We just can't
change the flags, kernels with different flags lead to incompatibilities.
1999-08-28 22:14:27 +00:00
Ulrich Drepper
957a4a990a Update from 2.3.15 kernel. 1999-08-28 00:25:40 +00:00
Ulrich Drepper
3f77348a38 Add missing underscore in _llseek entry. 1999-08-25 17:41:51 +00:00
Ulrich Drepper
90445b8a22 Fix typo in execve entry. 1999-08-25 17:40:49 +00:00
Ulrich Drepper
1a839cb12e Fix comment. 1999-08-25 17:39:15 +00:00
Ulrich Drepper
9cc31184c8 Fix EILSEQ value changed in last patch. 1999-08-24 22:13:10 +00:00
Ulrich Drepper
7e5a3fd89a Linux/MIPS specific error codes. 1999-08-23 17:53:43 +00:00
Ulrich Drepper
446548bb28 Define SIGCONTEXT_EXTRA_ARGS. 1999-08-23 17:43:28 +00:00
Ulrich Drepper
3013083aa3 Add execve syscall. 1999-08-23 04:06:18 +00:00
Ulrich Drepper
9661dd713d (SA_RESETHAND): Add it. 1999-08-22 16:04:24 +00:00
Ulrich Drepper
0cabeaa3fd Information how to access signal context on Linux/Alpha. 1999-08-19 19:57:25 +00:00
Ulrich Drepper
f739f8a81e Define __blksize_t. 1999-08-18 07:47:37 +00:00
Ulrich Drepper
6996793426 (struct stat): Use __blksize_t for st_blksize member.
(struct stat64): Likewise.
1999-08-18 07:46:54 +00:00
Ulrich Drepper
77c5dc9ed7 Include bits/types.h instead of sys/types.h. 1999-08-18 07:43:39 +00:00
Ulrich Drepper
0dd0e77c4c Make __useconds_t unsigned. 1999-08-18 03:39:59 +00:00
Ulrich Drepper
283cadf410 Define type __useconds_t. 1999-08-18 01:18:14 +00:00
Ulrich Drepper
6a06c0af60 (O_DSYNC, O_RSYNC): New definitions.
(O_LARGEFILE): Define only if __USE_LARGEFILE64.
1999-08-06 17:23:00 +00:00
Ulrich Drepper
c93c0c6259 (O_LARGEFILE): Define only if __USE_LARGEFILE64. 1999-08-06 17:22:24 +00:00
Ulrich Drepper
1d8af49384 (O_RSYNC, O_DSYNC): Define. 1999-08-05 16:56:44 +00:00
Ulrich Drepper
bad8d32c28 (GET_NPROCS_PARSER): Initialize result to one. 1999-08-04 16:00:23 +00:00
Ulrich Drepper
d54eed1a9a Linux/Alpha specific functions to read system information. 1999-07-31 06:09:30 +00:00
Ulrich Drepper
8cfc6b71c4 ELF type definitions for Linux/Alpha. 1999-07-27 05:47:28 +00:00
Ulrich Drepper
078a1bd706 Define __clockid_t, __timer_t, CLOCK_REALTIME, and TIMER_ABSTIME. 1999-07-27 00:18:20 +00:00
Ulrich Drepper
22b137b9fd Undo last change. 1999-07-18 00:25:28 +00:00
Ulrich Drepper
9a16d32a64 (timeval): Use __suseconds_t type for tv_usec element. 1999-07-17 23:18:23 +00:00
Ulrich Drepper
b4ac6f26f2 Define __suseconds_t. 1999-07-17 23:16:23 +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
05246799a6 Update for some more motherboards. 1999-07-06 16:06:12 +00:00
Ulrich Drepper
4d1f7dc129 Include libintl.h. 1999-06-19 09:47:58 +00:00
Ulrich Drepper
56de49240c sysmacros.h file for Linux/Alpha. 1999-06-16 14:30:16 +00:00
Ulrich Drepper
0a437ddb58 Add __sysctl. 1999-06-15 11:51:17 +00:00
Ulrich Drepper
1c2d926dc8 (struct sockaddr_storage): New structure; storage suitable for any
socket address.
1999-05-11 12:07:07 +00:00
Ulrich Drepper
b6a1f966a0 Add sigrestorer.S. 1999-05-03 12:40:23 +00:00
Ulrich Drepper
d33ecfde38 Correct signed/unsigned-ness of blkcnt and fsblkcnt. 1999-04-16 17:06:33 +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
df019d9428 (ucontext): Rename field uc_links to
uc_link which is the right name according to Unix98.
1999-03-01 07:20:35 +00:00
Ulrich Drepper
fdf595bb49 Undo last patch. 1999-02-11 12:00:52 +00:00
Ulrich Drepper
7a1ccf7744 Change __ino64_t to 64 bits. 1999-02-10 11:33:31 +00:00
Ulrich Drepper
864e156e88 Add missing RT signal definitions. 1999-02-08 10:11:50 +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
f90bac9291 Add baud rates > 460800. 1999-01-19 12:24:34 +00:00
Andreas Schwab
68798276c9 * sysdeps/unix/sysv/linux/m68k/vfork.S: Test return value after
fork syscall.
1999-01-18 01:45:33 +00:00
Ulrich Drepper
6c56758e2a Linux/MIPS specific siginfo definition. 1999-01-14 13:30:32 +00:00
Ulrich Drepper
453b49e1f4 Add sys/user.h. 1999-01-14 12:57:55 +00:00
Ulrich Drepper
9346d2ecb1 Add vfork. 1999-01-14 00:15:14 +00:00
Andreas Schwab
cd641f748f * sysdeps/unix/sysv/linux/m68k/vfork.S: New file. 1999-01-13 01:43:33 +00:00
Ulrich Drepper
a6446af10a Fix bug in last change. 1999-01-07 09:53:56 +00:00
Ulrich Drepper
2a3db76a83 Correct type for __fsfilcnt_t. 1999-01-07 09:53:42 +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
61758030ed Sync with current Linux 2.1.132 kernel sources. 1998-12-31 18:16:52 +00:00
Ulrich Drepper
87d6672e7e Linux/MIPS specific misc low-level definitions. 1998-12-31 18:16:43 +00:00
Ulrich Drepper
66f73ab566 Add ipc, change pread/pwrite and llseek calls. 1998-12-31 18:16:11 +00:00
Ulrich Drepper
025cc5bfda Moved into MIPS specific directory. 1998-12-31 18:15:46 +00:00
Ulrich Drepper
02656f74b2 Remove deleted files. 1998-12-31 18:15:20 +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
e4c180f706 Use sys/user.h not asm/user.h. 1998-12-10 09:59:12 +00:00
Ulrich Drepper
b428ebeef7 Save a4 through both paths. 1998-12-07 12:07:42 +00:00
Ulrich Drepper
7078dcb53d Add xstatconv.c. 1998-12-01 20:50:20 +00:00
Ulrich Drepper
56a10f1cae Use correct type for parameter. 1998-12-01 11:25:00 +00:00
Ulrich Drepper
7f4d2f79bf Remove ipc_kludge. 1998-11-30 14:21:20 +00:00
Ulrich Drepper
1b1d938192 Linux/MIPS ucontext definition. 1998-11-28 21:05:36 +00:00
Ulrich Drepper
34535a90fa Add missing SYS_* constants, correct values according to Linux
2.1.130.
1998-11-28 21:05:22 +00:00
Ulrich Drepper
14a3f7b7d6 Removed. 1998-11-28 21:04:59 +00:00
Ulrich Drepper
8c0829162b (_STAT_VER_KERNEL): Added. 1998-11-28 21:04:33 +00:00
Ulrich Drepper
ff87e21b31 Update file. 1998-11-28 21:04:24 +00:00
Ulrich Drepper
62fe3ebee6 Remove inclusion of <asm/signal.h> and add needed symbols from
<asm/signal.h>;
1998-11-28 21:04:12 +00:00
Ulrich Drepper
889c9b6321 Remove ipc_kludge. 1998-11-28 21:03:41 +00:00
Ulrich Drepper
5b7919d7f2 Linux/MIPS specific versions. 1998-11-28 21:03:24 +00:00
Ulrich Drepper
abbde1b098 Conversion function for stat structure. 1998-11-28 21:03:02 +00:00
Ulrich Drepper
5d4018c40f Use INLINE_SYSCALL instead of calling __syscall_*. 1998-11-28 21:01:30 +00:00
Ulrich Drepper
16306093d1 Update entries. 1998-11-28 21:01:13 +00:00
Ulrich Drepper
9a8611169b Add copyright message, change name of include protection, remove
inclusion of <bits/termios.h>.
1998-11-28 21:00:55 +00:00
Ulrich Drepper
35a72cb3b3 (old_kernel_sigaction): Define.
(struct kernel_sigaction): Rename sa_handler to k_sa_handler.
1998-11-28 21:00:37 +00:00
Ulrich Drepper
bc8f3c9b4e Add mmap64 alias. 1998-11-16 12:01:02 +00:00
Andreas Schwab
ec2a735fdb * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Undo
last change.
1998-11-16 02:41:56 +00:00
Andreas Schwab
11a39ef8a4 * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Remove
d0 from clobber list.
1998-11-13 03:01:32 +00:00
Ulrich Drepper
88e7faf1e1 Cleanup comment. 1998-11-12 11:21:36 +00:00
Ulrich Drepper
1dc5a942c9 Kill __syscall* bits. 1998-10-31 23:38:23 +00:00
Ulrich Drepper
26ecf6a886 (INLINE_SYSCALL): New. 1998-10-31 23:38:09 +00:00
Ulrich Drepper
9dda87abb5 (__FDS_BITS): New macro to access fds_bits member. 1998-10-28 14:41:28 +00:00
Ulrich Drepper
ad427949d1 Include bits/pthreadtypes.h only not for POSIX 199506. 1998-10-26 15:43:18 +00:00
Ulrich Drepper
04cfab5065 Rename __syscall_pwrite64 to __syscall_pwrite. 1998-10-26 11:09:12 +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
Andreas Schwab
dca1708014 * sysdeps/unix/sysv/linux/m68k/Makefile [subdir=signal]: Remove
rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo,
	rt_sigaction and rt_sigpending.
	* sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove all entries
	for __syscall_* functions.
	* sysdeps/unix/sysv/linux/m68k/sysdep.h: Implement INLINE_SYSCALL.
1998-10-26 01:47:41 +00:00
Ulrich Drepper
b227d2e7eb (__fd_set): Define element as fds_bits only is __USE_XOPEN. Otherwise
use __fds_bits.
1998-10-25 09:10:44 +00:00
Ulrich Drepper
0b78da0365 (timeval): Protect with __need_timeval. 1998-10-25 09:09:44 +00:00
Ulrich Drepper
e1a011e731 (LOCK_SH, LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD. 1998-10-25 09:09:29 +00:00
Ulrich Drepper
91c2d73543 Remove duplicate definition of O_LARGEFILE. 1998-10-24 11:01:21 +00:00
Ulrich Drepper
ec86258b00 (__pathconf): Use path as first argument to statfs. 1998-10-24 10:59:25 +00:00
Ulrich Drepper
47754990f4 (O_NOFOLLOW): New macro. 1998-10-23 23:24:00 +00:00
Ulrich Drepper
abcecb5bd2 (O_LARGEFILE, O_NOFOLLOW, O_DIRECT): New macros.
(O_DIRECTORY): Correct definition according to official 2.1.126.
1998-10-23 23:22:54 +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
d8f1bea433 Remove duplicate ustat definition. 1998-10-23 14:00:35 +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
3e79e19491 Handle _PC_LINK_MAX here. 1998-10-23 13:41:33 +00:00
Ulrich Drepper
96b2e43371 Use __PMT instead of __P for sa_restorer. 1998-10-22 14:41:10 +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
90f70b8356 Linux/m68k specific setreuid definition. 1998-10-21 15:27:42 +00:00
Ulrich Drepper
7523f256a8 Linux/m68k specific setregid definition. 1998-10-21 15:27:37 +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
Andreas Schwab
97c1529523 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Add real contents.
* sysdeps/unix/sysv/linux/m68k/syscalls.list: Add s_setfs[ug]id.
1998-10-21 01:50:21 +00:00
Ulrich Drepper
0e8ad5182b Added setfsgid and setfsuid. 1998-10-19 14:40:52 +00:00
Ulrich Drepper
2b0a897428 Wrapper arpund system call with check of parameter value range. 1998-10-18 13:05:43 +00:00
Ulrich Drepper
c220db51b0 Add O_DIRECTORY. 1998-10-16 16:29:19 +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
f858fcedc8 [subdir=misc] (sysdep_routines): Add setfsgid, setfsuid, setresgid,
and setresuid.
1998-10-16 16:28:05 +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
edb87b12b3 Remove __kernel_termios again. Use char[44] to define size of the struct. 1998-10-15 09:21:29 +00:00
Ulrich Drepper
a7077ca4f2 Include termios.h to have all types defined. 1998-10-15 07:50:31 +00:00
Ulrich Drepper
fa03e7a0eb Define __kernel_termios here instead of including kernel_termios.h. 1998-10-14 12:59:04 +00:00
Ulrich Drepper
f3afb0fffa (inline_outb): Fix output parameter format string.
(inline_outw): Likewise.
1998-10-13 16:25:31 +00:00
Ulrich Drepper
9230582571 (CFLAGS-ioperm.c): New variable to prevent warnings from use of modern CPU
instructions.
1998-10-12 12:56:56 +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
a8d236a8b7 (platform): Add missing Ruffian entry. 1998-10-08 13:09:39 +00:00
Ulrich Drepper
e5432e2896 Register content dump function. 1998-10-01 14:30:25 +00:00
Ulrich Drepper
0f72aee6de Protect use of long long by __extension__. 1998-10-01 10:57:23 +00:00
Ulrich Drepper
4fbbde2934 List Ruffian in platforms[]. 1998-09-29 22:41:48 +00:00
Ulrich Drepper
225146fe16 Sync with generic Linux version.
(__cmsg_nxthdr): Use CMSG_ALIGN (fixes a bug) and correct test for availability
of another entry.
1998-09-28 11:49:19 +00:00
Ulrich Drepper
f65fc5cb2d Don't mention bits/mman.h. 1998-09-23 16:37:13 +00:00
Ulrich Drepper
b720449067 (SA_ONSTACK): Define. 1998-09-22 12:44:47 +00:00
Ulrich Drepper
8b86c06fec Add init-first.h. 1998-09-14 16:38:32 +00:00
Andreas Schwab
f35b9f2a88 * sysdeps/unix/sysv/linux/m68k/register-dump.h: New file. 1998-08-28 01:42:42 +00:00
Ulrich Drepper
1af688f19c Define O_DIRECT.
Correct comment for O_LARGEFILE.
1998-08-26 00:06:05 +00:00
Andreas Schwab
d7eae898a7 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_headers): Add
sys/reg.h.
	* sysdeps/unix/sysv/linux/m68k/sys/reg.h: New file.
	* sysdeps/unix/sysv/linux/m68k/Dist: Distribute it.
1998-08-24 01:42:29 +00:00
Richard Henderson
d0c425dbc5 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
* sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1998-08-23 04:08:55 +00:00
Richard Henderson
06f351fa61 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
non-standard pv usage.
1998-08-23 04:07:48 +00:00
Ulrich Drepper
33a6c3dded Generated from configure.in. 1998-08-21 22:29:47 +00:00
Ulrich Drepper
619385e232 New file, contains test for recent Linux 2.1.100+ headers. 1998-08-21 22:29:33 +00:00
Ulrich Drepper
072901a109 Remove O_READ and O_WRITE.
Add F_SETSIG and F_GETSIG.
1998-08-20 17:39:48 +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
29f4d62f47 Remove O_READ and O_WRITE. 1998-08-20 17:36:51 +00:00
Ulrich Drepper
8e7410c350 (recvmsg, sendmsg): Update aliases for cancelation. 1998-08-12 17:06:17 +00:00
Ulrich Drepper
708e91e6e2 Undef glob*64 before playing with symbol versions. 1998-08-12 17:06:03 +00:00
Ulrich Drepper
b9fd2790b9 Empty file. We already have a glob64 implementation. 1998-08-10 15:54:05 +00:00
Ulrich Drepper
8ef5e9065c Add glob64 as a weak alias for __new_glob. Likewise for globfree64. 1998-08-10 15:53:42 +00:00
Ulrich Drepper
197b1bfd03 Don't define CLK_TCK for strictly ISO C compliant programs. 1998-07-30 12:45:33 +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
54cdfc81d5 Also define __getrusage. 1998-07-22 16:53:40 +00:00
Andreas Schwab
4aae520265 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Fix typo. 1998-07-22 01:37:56 +00:00
Andreas Schwab
67aeaca9ac Support NO_WEAK_ALIAS. 1998-07-20 05:01:08 +00:00
Andreas Schwab
5044b71144 New file. 1998-07-20 04:59:31 +00:00
Andreas Schwab
c7a8ebca13 This belongs to the 2.0 branch. 1998-07-17 04:26:22 +00:00
Andreas Schwab
b814210938 * sysdeps/unix/sysv/linux/m68k/dl-envvars.h: New file. 1998-07-13 01:30:40 +00:00
Ulrich Drepper
bb3ebfdb47 Define __intptr_t. 1998-07-08 22:52:22 +00:00
Ulrich Drepper
668a0ed59b Handle Linux/Alpha specific cases. 1998-07-08 22:45:07 +00:00
Ulrich Drepper
1b99d03e6a Define __syscall_recvmsg and __syscall_sendmsg. 1998-07-05 15:22:20 +00:00
Ulrich Drepper
22bf6f3448 File name for sendmsg and recvmsg syscalls is __ protected. 1998-07-05 14:45:16 +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
Andreas Schwab
468c277aaf * sysdeps/unix/sysv/linux/m68k/Versions: New file. 1998-07-03 05:37:32 +00:00
Ulrich Drepper
1b1f0c36e3 Version definitions. 1998-07-02 22:33:35 +00:00
Ulrich Drepper
4c01c1dcf2 Make _errno a weak alias, not a strong alias. 1998-07-01 09:33:01 +00:00
Andreas Schwab
fd202ea4b7 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
not a strong alias.
1998-07-01 01:42:09 +00:00
Ulrich Drepper
ea8df133cc Include pthreadtypes.h.
Define size_t.
1998-06-30 12:08:40 +00:00
Ulrich Drepper
2e28d2fb79 Define size_t. 1998-06-30 12:07:42 +00:00
Ulrich Drepper
6cc7c3b3c0 Include pthreadtypes.h. 1998-06-30 12:02:24 +00:00
Ulrich Drepper
11c1d87fd2 Add sigstack here. 1998-06-18 21:49:26 +00:00
Ulrich Drepper
1037e1f40a Include sys/types.h before glob.h. 1998-06-17 17:59:03 +00:00
Ulrich Drepper
a3a2cb21be Include glob.h before defining prototypes. 1998-06-17 10:17:53 +00:00
Ulrich Drepper
bb71df5f5f Add prototypes for the __new_* functions. 1998-06-15 11:03:50 +00:00
Ulrich Drepper
7d3d725cc6 Definitions for sigstack functions. 1998-06-10 10:58:58 +00:00
Andreas Schwab
2cd493384a * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
definition.
	(PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
	* sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
	* sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
	* sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1998-06-10 01:37:21 +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
Richard Henderson
bde3fab6ee * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
directly instead of include_next.  Add missing semicolons.
        * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
        Add missing semicolons.
1998-05-21 01:18:56 +00:00
Ulrich Drepper
7500ff18c7 Correct handling of arguments. 1998-05-19 16:12:40 +00:00
Ulrich Drepper
59f4b0c86c Wrapper around current code to convert from and back to old glob_t format. 1998-05-12 12:20:54 +00:00
Ulrich Drepper
cab5b83e4d Wrapper around generic code to add version information. 1998-05-12 12:20:27 +00:00
Ulrich Drepper
5df1e78b29 Compile oldglob in posix subdir. 1998-05-12 12:20:06 +00:00
Ulrich Drepper
7214b180b3 Add oldglob.c. 1998-05-12 12:19:53 +00:00
Richard Henderson
50a430afa2 Don't mark pread and pwrite as EXTRA. 1998-05-11 11:05:13 +00:00
Richard Henderson
423363a172 (sysdep_routines): Remove statfs and fstatfs. 1998-05-11 11:04:27 +00:00
Ulrich Drepper
7829f6c432 [subdir=elf]: Define sysdep-others, not others. 1998-05-08 15:02:44 +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
b13ae75e55 Add SIGCLD definition. 1998-04-29 16:05:50 +00:00
Ulrich Drepper
68f722de86 (ftruncate): Make __ftruncate the strong symbol, and add weak alias. 1998-04-24 15:29:55 +00:00
Ulrich Drepper
c79c90357e Add __lseek64 alias for __llseek. 1998-04-08 07:10:11 +00:00
Ulrich Drepper
ec39d34aed Allow inclusion from netinet.in.h. 1998-04-07 09:12:51 +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
Andreas Schwab
c4dc6c456e * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
* sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
	install lddlibc4.
1998-04-01 00:53:13 +00:00
Ulrich Drepper
161756fe4f Wrapper for adjtimex syscall. 1998-03-31 23:12:58 +00:00
Ulrich Drepper
3117030c12 (sysdep_routines): Add adjtimex. 1998-03-31 23:11:52 +00:00
Ulrich Drepper
c4f60035d5 (socket): Added. 1998-03-29 17:01:51 +00:00
Ulrich Drepper
59ff3eca16 (__readdir64): New strong alias. 1998-03-29 17:01:42 +00:00
Ulrich Drepper
4c0a65f62f Add sizes.h. 1998-03-25 15:53:22 +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
be07ac90bc Correct typo. 1998-03-12 09:18:49 +00:00
Ulrich Drepper
2d4c61a667 Add various SOL_* constants. 1998-03-10 22:42:23 +00:00
Ulrich Drepper
1ad3a6fb0f Adds lots of missing AF_* and PF_* constants. 1998-03-10 22:33:58 +00:00
Andreas Schwab
1c03144cf7 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
Readd lost negate.
	* sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
1998-03-09 03:20:41 +00:00
Andreas Schwab
56d7f02931 * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
* sysdeps/m68k/lshift.S: Likewise.
	* sysdeps/m68k/rshift.S: Likewise.
	* sysdeps/m68k/sub_n.S: Likewise.
	* sysdeps/m68k/m68020/addmul_1.S: Likewise.
	* sysdeps/m68k/m68020/mul_1.S: Likewise.
	* sysdeps/m68k/m68020/submul_1.S: Likewise.
	* sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
	[_LIBC_REENTRANT]: Don't store into global errno.
	* sysdeps/m68k/sysdep.h: New file.
	* sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
	ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
	(DO_CALL): Change to expect syscall name as argument.
	(PSEUDO): Pass syscall_name to DO_CALL.
	(SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
	errno.
1998-03-06 01:48:50 +00:00
Richard Henderson
ee0671d1a1 1998-03-01 18:52 H.J. Lu (hjl@gnu.org)
* sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
        osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
        osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
1998-03-01 10:53:22 +00:00
Richard Henderson
9ba8164eb6 * shlib-versions: Match alpha*.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
        * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
        * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
        Implement copysign* with and without __ prefix.
        Likewise for fabs; use builtin for gcc 2.8.
        (floor*): New.
        (fdim*): New.
        * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
        (R_SPARC*): Match current v9 ABI.
        * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
        * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
        * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
        * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
        * sysdeps/generic/getresgid.c: Use prototype form because of warning.
        * sysdeps/unix/sysv/linux/getdents.c: Likewise.
        * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
        * sysdeps/unix/grantpt.c (argv): Fix consts.
        * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
        * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1998-03-01 00:56:41 +00:00
Ulrich Drepper
f0b71999ee (_NSIG): Changed to 64. 1998-02-26 17:16:51 +00:00
Ulrich Drepper
edc43054d4 Make versioned symbols only for shared library.
Fix ENOSYS branch.
1998-02-26 17:16:26 +00:00
Ulrich Drepper
23713ff9db Code to handle compatibility of syscall for adjtimex interface. 1998-02-26 17:15:43 +00:00
Ulrich Drepper
d958c12167 Code to handle compatibility of syscall for adjtime interface. 1998-02-26 17:15:38 +00:00
Ulrich Drepper
0f04509d00 (sysdep_routines): Added adjtimex and old_adjtimex. 1998-02-26 17:14:58 +00:00