Commit Graph

540 Commits

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