Commit Graph

883 Commits

Author SHA1 Message Date
Andreas Jaeger
35b1d4b18e Make sysmips() prototype a varargs prototype. Remove dependency from kernel header files. 2001-10-15 11:56:11 +00:00
Andreas Jaeger
f255cc1218 General cleanup, use __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate. 2001-10-15 11:55:20 +00:00
Ulrich Drepper
916ea7e833 (struct cmsghdr): Don't declare __cmsg_data field if its size would be bigger
than 0.
(CMSG_DATA): Adjust accordingly.
2001-09-26 05:23:10 +00:00
Ulrich Drepper
8c2b0506ec Include <errno.h>.
(__syscall_gethostname): Add prototype.
2001-09-05 00:08:11 +00:00
Ulrich Drepper
19635181cc gethostname implementation for Linux/Alpha. 2001-09-03 17:10:56 +00:00
Andreas Jaeger
fa5c1c570d 2001-08-24 Maciej W. Rozycki macro@ds2.pg.gda.pl
* sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
	empty to prevent junk from being generated.
	sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2001-08-24 18:27:55 +00:00
Andreas Jaeger
a4f1359e63 * sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed.
	* sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed.
	* sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed.
	* sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.
2001-07-31 07:46:06 +00:00
Ulrich Drepper
2b948198f1 Add sys/procfs.h. 2001-07-28 06:07:40 +00:00
Andreas Schwab
db08f905e8 Don't mark asm input operand as clobbered. 2001-07-22 18:18:48 +00:00
Andreas Schwab
48bfe44538 (INLINE_SYSCALL): Don't mark asm input operand as clobbered. 2001-07-22 18:18:34 +00:00
Andreas Jaeger
c1babb4b9d Synch with kernel. 2001-07-20 06:05:16 +00:00
Andreas Schwab
44dce39192 Fix last change. 2001-07-17 17:12:10 +00:00
Andreas Schwab
b5f709a1ff Special versions for Linux/m68k. 2001-07-15 15:30:50 +00:00
Andreas Schwab
f476000f87 Check _dl_pagesize first. Default to 4096, not EXEC_PAGESIZE. 2001-07-15 15:25:11 +00:00
Andreas Jaeger
6b440a5c6e Removed, we can use the generic Linux version. 2001-07-06 07:14:28 +00:00
Andreas Jaeger
3214b89b32 Update to LGPL v2.1. 2001-07-06 04:56:23 +00:00
Andreas Jaeger
6fbcd2261e Synch with Linux 2.4.5:
* sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
	New.
	(AF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
	(PF_BLUETOOTH): New.
	(AF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
	(PF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
	(PF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
	(AF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
	(AF_BLUETOOTH): New.

	* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.

	* sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.

	* sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.

	* sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
2001-07-05 08:46:28 +00:00
Ulrich Drepper
99e859a488 Define __MAX_BAUD. 2001-06-14 00:21:01 +00:00
Andreas Jaeger
f325056f09 Implement syscall. 2001-06-06 11:49:29 +00:00
Andreas Jaeger
97b30982ce Remove dummy syscall. 2001-06-06 11:49:17 +00:00
Andreas Jaeger
ed48681558 Call getrlimit, setrlimit directly instead of using wrappers. 2001-06-06 11:44:24 +00:00
Andreas Jaeger
b496bd686c Removed. 2001-06-06 11:35:25 +00:00
Andreas Jaeger
b81e88a055 Linux/MIPS specific version. 2001-05-27 08:40:14 +00:00
Andreas Jaeger
3901129ce4 Change sigsuspend to s_sigsuspend. Add s_mmap2. 2001-05-27 08:39:56 +00:00
Andreas Jaeger
fc0f915617 (ipc_perm): Put back __key. 2001-05-27 08:34:45 +00:00
Andreas Jaeger
b5cd3bfc63 * sysdeps/unix/sysv/linux/configure.in: Move binutils check to...
* sysdeps/unix/sysv/linux/mips/configure.in: ...here.  New file.
2001-05-11 16:48:37 +00:00
Andreas Jaeger
979dedac4f Make structure definitions match the kernel definitions. 2001-04-30 07:20:38 +00:00
Andreas Jaeger
30ecc70c40 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
Define for Arm, PowerPC and SH if kernel is 2.4.4 or newer.

	* sysdeps/unix/sysv/linux/bits/socket.h (PF_WANPIPE): New, from
	Linux 2.4.4.
	(AF_WANPIPE): Likewise.
	(MSG_MORE): New.

	* sysdeps/unix/sysv/linux/alpha/bits/socket.h: Add same changes as
	for Linux generic version.
	* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/bits/socket.h: Likewise.

	* sysdeps/gnu/netinet/tcp.h (TCP_QUICKACK): New.
2001-04-29 12:30:59 +00:00
Ulrich Drepper
b390705b1c <resource.h> definitions for Linux/HPPA. 2001-04-25 20:19:39 +00:00
Ulrich Drepper
179c96ec73 mmap64 implementation for Linux/HPPA. 2001-04-25 20:19:03 +00:00
Ulrich Drepper
353e429d96 getdents64 implementation for Linux/HPPA. 2001-04-25 20:18:14 +00:00
Ulrich Drepper
90256e473e Include sys/procfs.h not sys/elf.h. 2001-04-22 14:10:28 +00:00
Ulrich Drepper
e8551fba7f (struct user_fpregs): Renamed from struct user_fp.
(struct user_regs): New.
(struct user): Use struct user_regs rather than struct pt_regs to
avoid dependency on asm/ptrace.h.  Use struct user_fpregs in place
of struct user_fp and struct user_fp_struct.
2001-04-22 14:10:14 +00:00
Ulrich Drepper
ace45f1fd0 Move contents to sys/procfs.h, and tell the user to include that file instead. 2001-04-22 14:08:57 +00:00
Ulrich Drepper
c2a38d017e Remove old cruft surrounded with #if 0.
(elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
from sys/elf.h.
(prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
elf_fpregset_t respectively.
2001-04-22 14:07:25 +00:00
Ulrich Drepper
7ace52d01f Also print the address that faulted. 2001-04-22 14:02:39 +00:00
Ulrich Drepper
15a25bb641 Fix clone system call entry point stub. 2001-04-22 03:24:39 +00:00
Ulrich Drepper
fe6fac6851 Removed ptrace entry so the ptrace.c wrapper is used. 2001-04-22 03:23:45 +00:00
Ulrich Drepper
21e7ad57ab (NGREG, NFPREG, gregset): Correct for new kernel definitions. 2001-04-20 06:05:52 +00:00
Ulrich Drepper
6e3bde59b4 (CALL_MCOUNT): Update comment. 2001-04-20 06:05:04 +00:00
Ulrich Drepper
964b686b75 (INLINE_SYSCALL): Change to return a signed result for compatibility with other
architectures, and correctness.
2001-04-19 21:23:49 +00:00
Andreas Jaeger
6f66c56d4e Fix typos in last patch. 2001-04-19 09:35:01 +00:00
Andreas Jaeger
070b2d2a8e Fix typos in last patch. 2001-04-19 09:33:50 +00:00
Ulrich Drepper
a7d0b32d5f [!__ASSEMBLY__]: Declare __start. 2001-04-10 22:32:04 +00:00
Ulrich Drepper
fe4dd66ed7 setresuid implementation for Linux/CRIS. 2001-04-09 05:08:36 +00:00
Ulrich Drepper
51610bc7b3 setresgid implementation for Linux/CRIS. 2001-04-09 05:08:17 +00:00
Ulrich Drepper
12d6ab7b10 __xstat implementation for Linux/CRIS. 2001-04-09 04:51:09 +00:00
Ulrich Drepper
b13de4a8b7 vfork implementation for Linux/CRIS. 2001-04-09 04:50:57 +00:00
Ulrich Drepper
c2e42b7134 System specific code for Linux/CRIS. 2001-04-09 04:50:44 +00:00
Ulrich Drepper
a2c5e2b43a System specific definitions for Linux/CRIS. 2001-04-09 04:50:27 +00:00