Commit Graph

980 Commits

Author SHA1 Message Date
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
98226e08b5 Remove advertising clause of copyright. 1999-06-08 21:15:39 +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
42bda2c453 (_sys_errlist): Fix typo. 1999-02-16 12:13:56 +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
9953714a27 configure script for Solaris. 1999-01-28 17:34:45 +00:00
Ulrich Drepper
0583626692 Error messages for Solaris/SPARC. 1999-01-28 17:34:23 +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
bc46f1f605 Include features.h and stddef.h. 1998-12-18 16:01:28 +00:00
Ulrich Drepper
17cb2406ce (struct sigaltstack): Move ss_size field at the end. 1998-12-18 16:00:09 +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
598f68bf68 Define _errno as weak_alias, rewrite errno declaration. 1998-11-28 21:00:06 +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
13d54c34ab (INLINE_SYSCALL*): New.
(inline_syscall*): New.
1998-10-31 23:37:54 +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
c4d9992549 Wrap assembler macros in #ifdef __ASSEMBLER__. 1998-10-22 11:17:42 +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
d05b46514b OSF system dependent bits of sys/mman.h. 1998-09-23 16:40:59 +00:00
Ulrich Drepper
f65fc5cb2d Don't mention bits/mman.h. 1998-09-23 16:37:13 +00:00
Ulrich Drepper
ed00ca14c4 Irix4 system dependent bits of sys/mman.h. 1998-09-23 16:36:12 +00:00
Ulrich Drepper
c1bc2343a3 Ultrix4 system dependent bits of sys/mman.h. 1998-09-23 16:35:56 +00:00
Ulrich Drepper
68ba15f9a3 SunOS4 system dependent bits of sys/mman.h. 1998-09-23 16:35:43 +00:00
Ulrich Drepper
c06df69780 Not needed anymore. 1998-09-23 16:33:27 +00:00
Ulrich Drepper
b720449067 (SA_ONSTACK): Define. 1998-09-22 12:44:47 +00:00
Ulrich Drepper
f3a306c88f Fix typo. 1998-09-17 19:36:37 +00:00