Commit Graph

559 Commits

Author SHA1 Message Date
Ulrich Drepper
28445fd3b2 Add posix_fadvise64 syscall. 2003-02-05 23:29:25 +00:00
Ulrich Drepper
94b1e5e52f Remove __GI_* aliases, already added by make-syscalls.sh. 2003-01-31 03:40:10 +00:00
Roland McGrath
3de1f4af04 2003-01-21 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/alpha/sysdep.h (inline_syscall0,
	inline_syscall1, inline_syscall2, inline_syscall3,
	inline_syscall4, inline_syscall5, inline_syscall6): Add __volatile__.
	* sysdeps/unix/sysv/linux/alpha/sysdep.h (INTERNAL_SYSCALL): Add
	__attribute__((unused)) to ChEcK.
2003-01-22 02:07:54 +00:00
Ulrich Drepper
411c121bce Move inline syscall bits to sysdeps/unix/alpha/sysdep.h. 2003-01-12 19:23:41 +00:00
Ulrich Drepper
b8cce412d2 (ntp_adjtime): New weak alias. 2003-01-07 23:51:48 +00:00
Ulrich Drepper
2e2b5f5622 Add cancellation handling. 2003-01-07 00:48:34 +00:00
Ulrich Drepper
d45a8f827e (inline_syscall_r0_constraint): Rename to...
(inline_syscall_r0_out_constraint): ... this.  Add =.
(inline_syscall[0-6]): Use inline_syscall_r0_out_constraint.
2003-01-06 23:52:06 +00:00
Ulrich Drepper
d0a6689abf (inline_syscall_r0_asm): New.
(inline_syscall_r0_constraint): New.
(inline_syscall[0-6]): Use them.
2003-01-03 21:59:45 +00:00
Ulrich Drepper
7de021d588 (__GI_accept): New alias to accept. 2002-12-31 20:44:02 +00:00
Ulrich Drepper
9526f1fb77 Define SHM_HUGETLB. 2002-12-20 10:31:10 +00:00
Ulrich Drepper
762566f73f (msgrcv, msgsnd): Make cancelable. 2002-12-18 01:27:42 +00:00
Ulrich Drepper
9de983ba90 (llseek, pread, pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
sendto, osf_select): Make cancelable.
2002-12-15 00:49:51 +00:00
Ulrich Drepper
3bfd489bb9 (__libc_sigsuspend): Likewise. 2002-12-10 20:33:27 +00:00
Ulrich Drepper
b344de66b6 (__libc_select): New alias. 2002-12-10 20:33:12 +00:00
Ulrich Drepper
3a56243bb0 (struct sigevent): Change type of _attribute to void*. 2002-12-05 00:23:59 +00:00
Roland McGrath
3c49a7f2c2 2002-12-02 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/alpha/syscalls.list (readahead): Change
	caller from EXTRA to -.
	* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2002-12-03 07:28:08 +00:00
Ulrich Drepper
8545e2d25e (inline_syscall*): Avoid "=v" constraints. 2002-11-28 22:47:27 +00:00
Roland McGrath
543d2ed9aa 2002-11-07 Richard Henderson <rth@redhat.com>
* sysdeps/unix/sysv/linux/alpha/sysdep.h: Re-include protect.
	Kill argument registers across the inline syscall.
2002-11-08 02:18:49 +00:00
Roland McGrath
d5a256add3 2002-11-07 Richard Henderson <rth@redhat.com>
* elf/tls-macros.h: Add alpha versions.
	* sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs.
	* sysdeps/unix/alpha/sysdep.S: Support USE___THREAD.
	* sysdeps/unix/alpha/sysdep.h: Likewise.  Add SYSCALL_ERROR_HANDLER.
	* sysdeps/unix/sysv/linux/alpha/brk.S: Use it.
	* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
	* 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/rt_sigaction.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/sigsuspend.S: Likewise.
	* sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
	* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
	* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2002-11-08 02:18:48 +00:00
Roland McGrath
e8b06fdf73 2002-11-07 Richard Henderson <rth@redhat.com>
* elf/tls-macros.h: Add alpha versions.
	* sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs.
	* sysdeps/unix/alpha/sysdep.S: Support USE___THREAD.
	* sysdeps/unix/alpha/sysdep.h: Likewise.  Add SYSCALL_ERROR_HANDLER.
	* sysdeps/unix/sysv/linux/alpha/brk.S: Use it.
	* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
	* 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/rt_sigaction.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/sigsuspend.S: Likewise.
	* sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
	* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
	* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
	* sysdeps/unix/sysv/linux/alpha/clone.S: Add user_tid and tls args.
2002-11-08 02:18:45 +00:00
Roland McGrath
7bee643fff 2002-10-23 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Moved to ...
	* sysdeps/unix/sysv/linux/bits/statvfs.h: ... here.
	(ST_NODIRATIME): Restore fixed value of 2048.
	* sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: File removed.
	* sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: File removed.
2002-10-23 23:48:58 +00:00
Roland McGrath
70c6be6165 2002-10-23 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs):
	Use __SWORD_TYPE instead of int for member types.
	(struct statfs64): Likewise.
	* sysdeps/unix/sysv/linux/alpha/bits/statfs.h: New file.
	* sysdeps/unix/sysv/linux/s390/bits/statfs.h: New file.
	* sysdeps/unix/sysv/linux/ia64/bits/statfs.h: File removed.
	* sysdeps/unix/sysv/linux/sparc/bits/statfs.h: File removed.
	* sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: File removed.
2002-10-23 23:48:55 +00:00
Roland McGrath
c537c91430 2002-10-23 Roland McGrath <roland@redhat.com>
Rearranged <bits/types.h> definitions to reduce duplication.
	* sysdeps/generic/bits/types.h: Rewritten, using macros from
	<bits/wordsize.h> and new header <bits/typesizes.h>.
	* posix/Makefile (headers): Add bits/typesizes.h here.
	* sysdeps/generic/bits/typesizes.h: New file.
	* sysdeps/unix/sysv/linux/alpha/bits/typesizes.h: New file.
	* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: New file.
	* sysdeps/mach/hurd/bits/typesizes.h: New file.
	* sysdeps/unix/sysv/linux/alpha/bits/types.h: File removed.
	* sysdeps/unix/sysv/linux/bits/types.h: File removed.
	* sysdeps/unix/sysv/linux/ia64/bits/types.h: File removed.
	* sysdeps/unix/sysv/linux/mips/bits/types.h: File removed.
	* sysdeps/unix/sysv/linux/s390/bits/types.h: File removed.
	* sysdeps/unix/sysv/linux/sparc/bits/types.h: File removed.
	* sysdeps/unix/sysv/linux/x86_64/bits/types.h: File removed.
	* posix/sys/types.h [__USE_POSIX199506 || __USE_UNIX98]: Include
	<bits/pthreadtypes.h> here, not in <bits/types.h>.
	* signal/signal.h: Likewise.
2002-10-23 23:48:50 +00:00
Roland McGrath
54df0cf57d 2002-10-18 Roland McGrath <roland@redhat.com>
* sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL, INLINE_SYSCALL1)
	(inline_syscall_clobbers, inline_syscall0, inline_syscall1)
	(inline_syscall2, inline_syscall3, inline_syscall4, inline_syscall5)
	(inline_syscall6): Move these macros ...
	* sysdeps/unix/sysv/linux/alpha/sysdep.h: ... to here.
2002-10-18 22:37:29 +00:00
Roland McGrath
ccc5fdb26b 2002-10-18 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline.
	(statfs_filesize_max): New function.
	* sysdeps/unix/sysv/linux/linux_fsinfo.h (JFFS_SUPER_MAGIC,
	JFFS2_SUPER_MAGIC, JFS_SUPER_MAGIC, NTFS_SUPER_MAGIC,
	ROMFS_SUPER_MAGIC, UDF_SUPER_MAGIC): Define.
	* sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use
	statfs_filesize_max.
	* sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
	* sysdeps/unix/sysv/linux/alpha/fpathconf.c: Removed.
	* sysdeps/unix/sysv/linux/alpha/pathconf.c: Removed.
2002-10-18 19:03:49 +00:00
Roland McGrath
cfe08a2c2a 2002-10-16 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/fpathconf.c (LINUX_LINK_MAX): Move macro ...
	* sysdeps/unix/sysv/linux/linux_fsinfo.h (LINUX_LINK_MAX): ... here.
	* sysdeps/unix/sysv/linux/pathconf.h: New file.
	(statfs_link_max): New function, guts from fpathconf.c.
	* sysdeps/unix/sysv/linux/fpathconf.c: Rewritten using that.
	* sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
	* sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Rewritten
	to use the linux/pathconf.c code by #include rather than duplication.
	* sysdeps/unix/sysv/linux/alpha/fpathconf.c (__pathconf): Likewise.
2002-10-16 22:09:41 +00:00
Roland McGrath
a527394147 2002-10-15 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Use size_t
	instead of int for msg_iovlen, instead of socklen_t for msg_controllen.
	Other than the previously incorrect sign of msg_iovlen, this is a
	no-op on 32-bit platforms.  On 64-bit platforms it makes this header
	match their layouts as well, so the following are now identical to it.
	* sysdeps/unix/sysv/linux/s390/bits/socket.h: File removed.
	* sysdeps/unix/sysv/linux/sparc/bits/socket.h: File removed.
	* sysdeps/unix/sysv/linux/x86_64/bits/socket.h: File removed.
	* sysdeps/unix/sysv/linux/ia64/bits/socket.h: File removed.
	* sysdeps/unix/sysv/linux/alpha/bits/socket.h: File removed.
2002-10-16 01:02:28 +00:00
Ulrich Drepper
cd4fba2b2b (__fpathconf): Add support for reiserfs and xfs. 2002-10-16 00:36:59 +00:00
Roland McGrath
506ee216c4 2002-10-13 Roland McGrath <roland@frob.com>
* posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
	setresgid): Declare them.
	* NEWS: Mention it.
	* include/unistd.h
	(__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
	add libc_hidden_proto.
	* posix/Versions (libc: GLIBC_2.3.2): New set.  Add
	getresuid, getresgid, setresuid, setresgid here.
	* Versions.def (libc): Define GLIBC_2.3.2 set.
	* sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
	Add libc_hidden_def.
	* sysdeps/generic/getresgid.c (__getresgid): Likewise.
	* sysdeps/generic/setresgid.c: New file.
	* sysdeps/generic/setresuid.c: New file.
	* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
	(sysdep_routines): Don't add getresuid and getresgid here.
	* sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
	(sysdep_routines): Don't add setresuid and setresgid here.
	* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
	* posix/Makefile (routines): Add them all here instead.
	* sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
	__getresuid.  Add libc_hidden_def for that, and weak alias to old name.
	* sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
	__getresgid.  Add libc_hidden_def for that, and weak alias to old name.
	* sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
	[! __NR_setresuid]: Include generic file.
	* sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
	__setresgid.  Add libc_hidden_def for that, and weak alias to old name.
	[! __NR_setresuid]: Include generic file.
	* sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
	Caller is - now, not EXTRA.
	* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
	(setresuid, setresgid, getresuid, getresgid): Likewise.
	* sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
	Add these calls here.
	* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
	* sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2002-10-14 01:03:03 +00:00
Ulrich Drepper
96408c1d8c Not needed anymore. The generic version is sufficient. 2002-10-03 08:57:30 +00:00
Ulrich Drepper
5a0ab8474e Remove net/route.h. 2002-10-03 08:54:48 +00:00
Roland McGrath
20f7e3e794 2002-09-24 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/alpha/bits/time.h: File removed.
	It was indentical to the linux/bits/time.h file.
2002-09-25 01:57:50 +00:00
Ulrich Drepper
0d272f7da5 pipe implementation for Linux/Alpha. 2002-08-29 00:00:38 +00:00
Ulrich Drepper
50d9769d4b Error codes for Linux/Alpha. 2002-08-28 23:58:00 +00:00
Ulrich Drepper
6735862339 (libc): Add #errlist-compat comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3.
(librt): Add aio_cancel and aio_cancel64 as GLIBC_2.3.
2002-08-28 23:55:01 +00:00
Ulrich Drepper
48fa58aa12 Add dl-brk.S. 2002-08-28 08:54:42 +00:00
Roland McGrath
13d6ef283d 2002-07-06 Bruno Haible <bruno@clisp.org>
* sysdeps/unix/sysv/linux/alpha/pipe.S: Moved to ...
	* sysdeps/unix/alpha/pipe.S: ... here.
	* sysdeps/unix/bsd/osf/alpha/pipe.S: File removed.
2002-08-26 11:37:32 +00:00
Ulrich Drepper
28fdb447c1 Define SHMLBA. 2002-08-23 22:26:25 +00:00
Andreas Jaeger
1077d52cfb Remove *xattr syscalls. 2002-08-23 09:29:00 +00:00
Andreas Jaeger
074a6e5efa Add *xattr syscalls with version 2.3. 2002-08-15 09:01:52 +00:00
Ulrich Drepper
28b5d5afc6 (glob, globfree, globfree64): Add libc_hidden_ver. 2002-08-05 00:31:32 +00:00
Ulrich Drepper
a42044dc37 (__xmknod): Add libc_hidden_def. 2002-08-04 09:23:46 +00:00
Ulrich Drepper
9f0c7fbd18 Remove all __GI_* aliases. 2002-08-03 19:44:44 +00:00
Ulrich Drepper
78413eec88 Add __GI_ aliases. 2002-08-03 06:58:54 +00:00
Ulrich Drepper
da5f5f7986 Add libc_hidden_def. Remove undef and INTDEF. 2002-08-03 06:57:53 +00:00
Ulrich Drepper
4def79b563 (__adjtimex_internal): Add alias. 2002-07-27 08:40:18 +00:00
Andreas Jaeger
4223e67fa1 Fix typo. 2002-07-08 16:58:14 +00:00
Andreas Jaeger
8248bb200e * sysdeps/unix/sysv/linux/alpha/sendfile64.c: New.
* sysdeps/unix/sysv/linux/ia64/sendfile64.c: New.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: New.
	* sysdeps/unix/sysv/linux/x86_64/sendfile64.c: New.
	* sysdeps/unix/sysv/linux/syscalls.list (sendfile): Remove EXTRA.
	(sendfile64): Likewise.
	* sysdeps/unix/sysv/linux/alpha/syscalls.list (sendfile): Likewise.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list (sendfile): Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (sendfile):
	Likewise.
	* sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Likewise.
2002-06-07 12:33:51 +00:00
Ulrich Drepper
79c8c187bb Add readahead syscall. Add sendfile64 alias to sendfile syscall. 2002-05-30 23:23:09 +00:00
Ulrich Drepper
a514656381 (__recvmsg, __sendmsg): Add aliases. 2002-05-15 00:20:02 +00:00
Ulrich Drepper
337ca8062e Add __connect_internal. 2002-04-19 07:56:42 +00:00
Ulrich Drepper
016f45be9b Define __gettimeofday alias. 2002-04-14 09:12:57 +00:00
Ulrich Drepper
521d1bc7f4 brk implementation for dynamic linker. 2002-04-06 01:34:06 +00:00
Roland McGrath
2d5fe9e39b 2002-03-23 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/i386/Makefile
	(sysdep_routines, shared-only-routines): Don't add framestate,
	reverting 2001-10-02 change.
	* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
	* sysdeps/generic/Makefile (sysdep_routines, shared-only-routines):
	Do it here instead, only if [$(unwind-find-fde) = yes].
2002-03-24 01:55:18 +00:00
Ulrich Drepper
6f68ec79d2 Avoid warning about comma at end of enum for !_GNU_SOURCE. 2002-01-18 23:37:53 +00:00
Ulrich Drepper
decdce5e7c (sysdep-routines): Add framestate. 2001-11-16 01:24:04 +00:00
Ulrich Drepper
9bfdd6609c (__register_frame_info, __deregister_frame_info): Move to elf/Versions. 2001-11-16 01:22:33 +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
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
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
4adec71eab (GET_NPROCS_PARSER): added code to parse new 2.4 format.
(GET_NPROCS_CONF_PARSER): likewise.
2001-04-06 22:37:39 +00:00
Ulrich Drepper
d76aa2b87e (CALL_SIGHANDLER): Define. 2001-03-16 23:52:16 +00:00
Ulrich Drepper
5c4a646199 (__S_TYPEISMQ, __S_TYPEISSEM, __S_TYPEISSHM): Rewrite to enforce correct
use the macros.  They still always return zero.
2001-03-05 18:28:40 +00:00
Ulrich Drepper
1052cd9dac Define SI_ASYNCNL. 2001-03-04 19:28:52 +00:00
Ulrich Drepper
abb2a703aa Allow __need_sigevent_t being defined and provide only that definition. 2001-03-03 18:15:33 +00:00
Ulrich Drepper
84a29bc1f5 (ftruncate): Add __ftruncate64 alias. 2001-02-16 18:12:10 +00:00
Ulrich Drepper
4b3d3c61d4 Don't define CLK_TCK for XPG6. 2001-01-28 05:37:10 +00:00
Ulrich Drepper
8032f91d4c Liunx/Alpha version of statvfs definitions. 2001-01-27 22:41:42 +00:00
Ulrich Drepper
72f561b477 Linux/Alpha specific socket.h definitions. 2001-01-27 21:23:45 +00:00
Ulrich Drepper
0361ba3046 Don't define __fd_mask, __NFDBITS, __FDELT, __FDMASK, and __fd_set here. 2001-01-27 19:27:16 +00:00
Ulrich Drepper
1ae7e5b695 Define sigev_notify_attr with real type. 2001-01-27 06:29:16 +00:00
Ulrich Drepper
274a3ffc63 [libc] (GLIBC_2.2.2): Add wordexp. 2001-01-26 02:16:41 +00:00
Ulrich Drepper
2b0edb5a1e Correct definition of wordexp_t. 2001-01-26 02:16:03 +00:00
Ulrich Drepper
7f10098010 Correct last patch. 2000-11-10 05:06:34 +00:00
Ulrich Drepper
a632433d28 (GLIBC_2.1.1): Add getitimer. 2000-11-10 05:00:14 +00:00
Ulrich Drepper
e569ff55ac (CLK_TCK): Cast sysconf result to __clock_t. 2000-11-01 20:59:56 +00:00
Ulrich Drepper
374305ef42 Use __sysconf to for CLK_TCK. 2000-11-01 08:07:45 +00:00
Ulrich Drepper
abde23bdcf Linux/Alpha version of function to get CLK_TCK value. 2000-11-01 08:06:06 +00:00
Ulrich Drepper
d0168cc099 (__new_semctl): Pass union semun as 4th argument to semctl syscall, not
address of it.
2000-10-20 06:14:58 +00:00
Andreas Jaeger
f0cd8b6f6d Add RLIMIT_LOCKS. 2000-10-02 08:49:05 +00:00
Andreas Jaeger
671b38f832 Synch with Linux 2.4.0-test9-pre8. 2000-10-02 08:47:39 +00:00
Ulrich Drepper
2b5887d3e4 (CLOCKS_PER_SEC): Make a long int constant since this is what clock_t is. 2000-09-13 21:46:56 +00:00
Andreas Jaeger
a58f487d7e Use __setrlimit as strong name. 2000-08-23 06:54:33 +00:00
Ulrich Drepper
ec8cf3da88 (sysctl): Remove. 2000-08-22 09:08:48 +00:00
Ulrich Drepper
142652edb2 Not needed anymore. 2000-08-19 16:38:21 +00:00
Ulrich Drepper
51977e0692 Only use for non-LFS getdents. 2000-08-19 16:37:40 +00:00
Ulrich Drepper
cc9ced9792 Remove special d_ino handling. 2000-08-18 00:09:47 +00:00
Ulrich Drepper
8f7d68ab04 (DIRENT_TYPE): Define. 2000-08-14 17:39:31 +00:00
Ulrich Drepper
5b5a4299b4 Define __clockid_t and __timer_t. 2000-08-14 05:23:10 +00:00
Ulrich Drepper
8a632183fb __clockid_t and __timer_t are now defined in bits/types.h. 2000-08-14 05:22:20 +00:00
Ulrich Drepper
9ff6d9a067 Define thread types also for POSIX95. 2000-08-14 04:50:13 +00:00
Andreas Jaeger
1ce1bc0d3d (F_GETLK64, F_SETLK64, F_SETLKW64): Define with F_GETLK etc. 2000-08-12 09:59:40 +00:00
Ulrich Drepper
3579fe4e8a (__xstat_conv): Remove unused prototype. 2000-08-12 04:48:40 +00:00
Ulrich Drepper
a510d2b69c Linux/Alpha getdents64 implementation. 2000-08-12 04:48:27 +00:00
Ulrich Drepper
b2db50fd18 Linux/Alpha egtdents implementation. 2000-08-12 04:48:19 +00:00
Greg McGary
1e43162758 * sysdeps/gnu/bits/msq.h: Qualify kernel's
data structure pointers as __unbounded.
	* sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
	* sysdeps/generic/bp-semctl.h: New file.
	* sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
	pointers as __unbounded.  Check bounds of syscall args.
	* sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
	* sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
	* sysdeps/unix/sysv/linux/semctl.c: Likewise.
	* sysdeps/unix/sysv/linux/semop.c: Likewise.
	* sysdeps/unix/sysv/linux/shmat.c: Likewise.
	* sysdeps/unix/sysv/linux/shmctl.c: Likewise.
	* sysdeps/unix/sysv/linux/shmdt.c: Likewise.
	* sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
	* sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
	* sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.
2000-07-27 06:13:09 +00:00
Ulrich Drepper
afda99352c Define __S_TYPEISMQ, __S_TYPEISSEM, and __S_TYPEISSHM. 2000-06-22 17:58:17 +00:00
Ulrich Drepper
0d1cec93d5 Define LINUX_LINK_MAX. 2000-06-18 05:21:59 +00:00
Ulrich Drepper
821954bf6c Define LINK_MAX. 2000-06-18 05:19:19 +00:00
Ulrich Drepper
91f51e028b Add libgcc frame handling functions here. 2000-06-15 06:59:07 +00:00
Ulrich Drepper
f41d856feb (__old_glob): Loose __P. 2000-05-30 23:44:42 +00:00
Andreas Jaeger
cf0d650794 Remove K&R support. 2000-05-23 09:07:17 +00:00
Ulrich Drepper
37dca96f1c (F_SETOWN, F_GETOWN): Make available if __USE_XOPEN2K. 2000-04-30 07:12:32 +00:00
Ulrich Drepper
9790568c2b (init_iosys): Allow compilation if __NR_pciconfig_iobase is not defined. 2000-04-22 06:55:19 +00:00
Ulrich Drepper
64fe7d3c70 (__fstatfs64): Add alias. 2000-04-22 06:55:02 +00:00
Ulrich Drepper
0a5f55b135 Surround uses of $f28 with .set noat/at to shut up warnings. 2000-04-22 06:54:50 +00:00
Ulrich Drepper
fa04216d3b (__syscall_shmctl): Declare. 2000-04-22 06:54:35 +00:00
Ulrich Drepper
b6e679a8ac (__syscall_semctl): Declare. 2000-04-22 06:54:21 +00:00
Ulrich Drepper
bce847003b (__syscall_msgctl): Declare. 2000-04-22 06:54:09 +00:00
Ulrich Drepper
4a88ca4687 Fix typo in compat_symbol call for old adjtime. 2000-04-15 16:57:53 +00:00
Ulrich Drepper
a54fe716da Define POSIX_FADV_NORMAL, POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL,
POSIX_FADV_WILLNEED, POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
2000-04-14 07:48:34 +00:00
Ulrich Drepper
fd327b8820 Add POSIX_MADV_* constants. 2000-04-14 05:57:49 +00:00
Ulrich Drepper
604220ddc6 init-first.h has been removed, remove it here also. 2000-04-06 20:09:41 +00:00
Ulrich Drepper
7e3f69ad02 Not needed anymore. 2000-04-06 04:56:46 +00:00
Ulrich Drepper
782bca9790 Use shlib-compat macros. 2000-04-04 06:03:28 +00:00
Ulrich Drepper
b05b3eb67f Define __socklen_t. 2000-04-02 08:05:11 +00:00
Ulrich Drepper
0655420550 Linux/Alpha specific definitions for <netdb.h>. 2000-04-01 22:29:26 +00:00
Ulrich Drepper
0772663d31 Use shlib-compat macros. 2000-03-31 05:39:18 +00:00
Ulrich Drepper
6955b182f1 Clarify use of __ASSUME_32BITUIDS. 2000-03-26 20:30:58 +00:00
Richard Henderson
7e47b466c7 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
in GLIBC_2.1.4.
2000-03-20 22:08:26 +00:00
Richard Henderson
cd112ac0a3 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants. 2000-03-20 20:24:41 +00:00
Richard Henderson
194b9b3b26 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
Kill sethae.
        * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
        * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
        Use physical addresses not KSEG addresses.
        (io_system): Add PYXIS.
        (io): Remove hae.reg, sys, hae_shift.
        (stb_mb, stw_mb, stl_mb, __sethae): New.
        (inline_outb, inline_outw, inline_outl): Don't set hae.
        (inline_inb, inline_inw, inline_inl): Likewise.
        (dense_sethae): New null function.
        (struct cpuinfo_data): New.
        (process_cpuinfo): Use local and stack variables, not static.
        Move readlink check here from init_iosys.
        (init_iosys): Use __pciconfig_iobase first.  Know SX and LX as PYXIS.
        (_iopl): Simplify.
        (_hae_shift): Calculate it here.
        * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
        add pciconfig_iobase.
2000-03-20 20:23:05 +00:00
Ulrich Drepper
052065ad7b (platform): Add entry for Nautilus. 2000-03-15 07:22:08 +00:00
Andreas Jaeger
2e6c2875e8 2000-03-09 Martin Buchholz <martin@xemacs.org>
* sysdeps/unix/sysv/linux/alpha/syscall.S:
	* manual/message.texi (Using gettextized software):
	* manual/message.texi (Message Translation): Doc Fixes.
	* manual/filesys.texi (File Size):
	* manual/charset.texi (glibc iconv Implementation):
	* locale/programs/ld-collate.c (collate_output):
	* iconv/gconv_db.c (find_derivation):
	* manual/install.texi:
	* manual/search.texi (Hash Search Function):
	* manual/stdio.texi (Output Conversion Syntax):
	* FAQ.in:
	* config.h.in:
	* sysdeps/generic/dl-sysdep.c:
	Doc Fixes.  `allows to' is not correct English.

	* elf/rtld.c: Doc fixes.
	* manual/creature.texi (Feature Test Macros): Doc fixes.
	* manual/memory.texi (Hooks for Malloc): Doc Fixes.

	* manual/filesys.texi (Working Directory): Check for ERANGE to
	avoid infloop.
2000-03-10 08:40:34 +00:00
Ulrich Drepper
2c11d9bcf5 Define shmatt_t type and use it in struct shmid_ds definition. 2000-02-28 05:02:28 +00:00
Ulrich Drepper
5e516adf18 (struct msqid_ds): Use __pid_t. 2000-02-25 17:05:23 +00:00
Ulrich Drepper
cf95db7e00 (IPC_INFO): Only define if __USE_GNU. 2000-02-25 08:56:31 +00:00
Ulrich Drepper
40d4354938 Include bits/types.h, not sys/types.h.
(MSG_EXCEPT): Only define if __USE_GNU.
Define msgqnum_t and msglen_t and use them in struct msqid_ds definition.
2000-02-25 08:54:48 +00:00
Ulrich Drepper
028bec36ff Linux/Alpha specific siginfo definitions. 2000-02-23 05:59:55 +00:00
Ulrich Drepper
158331933d Define SA_NOCLDWAIT. 2000-02-23 05:59:11 +00:00
Ulrich Drepper
e1b4ab28ae Add oldmsgctl, oldsemctl. 2000-02-11 21:01:03 +00:00
Ulrich Drepper
23f1401266 (msgctl, semctl, shmctl): Make them EXTRA as __old_* and as GLIBC_2.0 symbols. 2000-02-11 21:00:47 +00:00
Ulrich Drepper
f8d5da2998 Linux/Alpha specific shmctl implementation. 2000-02-11 21:00:22 +00:00
Ulrich Drepper
3b6c96e67b Linux/Alpha specific semctl implementation. 2000-02-11 21:00:16 +00:00
Ulrich Drepper
9e683793e4 Linux/Alpha specific msgctl implementation. 2000-02-11 21:00:09 +00:00
Ulrich Drepper
9b2282bc34 Add ipc_priv.h. 2000-01-24 12:34:15 +00:00
Ulrich Drepper
47504af3f6 Remove private decls. 2000-01-24 12:31:25 +00:00
Ulrich Drepper
2cb9440978 Linux/Alpha private IPC definitions. 2000-01-24 12:30:41 +00:00
Ulrich Drepper
d0b0bd9a56 Move private decls into ../*_priv.h file. 2000-01-24 12:27:13 +00:00
Ulrich Drepper
7ea605ff34 Add prototypes for port access functions. 2000-01-23 08:53:21 +00:00
Ulrich Drepper
358f8be2ed Add sys/io.h. 2000-01-23 08:52:50 +00:00
Ulrich Drepper
a7b22345a1 Linux/Alpha SysV shm definitions. 2000-01-18 04:27:20 +00:00
Ulrich Drepper
db706c12f5 Linux/Alpha SysV sem definitions. 2000-01-18 04:27:12 +00:00
Ulrich Drepper
05bd55b910 Linux/Alpha SysV msq definitions. 2000-01-18 04:27:05 +00:00
Ulrich Drepper
ab944a2185 Update for new ipc. 2000-01-18 04:26:49 +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
feaa2cd82b Add __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite and
__libc_pwrite64.
1999-12-24 05:47:47 +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
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
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
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
446548bb28 Define SIGCONTEXT_EXTRA_ARGS. 1999-08-23 17:43:28 +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
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
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
05246799a6 Update for some more motherboards. 1999-07-06 16:06:12 +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
d33ecfde38 Correct signed/unsigned-ness of blkcnt and fsblkcnt. 1999-04-16 17:06:33 +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
864e156e88 Add missing RT signal definitions. 1999-02-08 10:11:50 +00:00
Ulrich Drepper
f90bac9291 Add baud rates > 460800. 1999-01-19 12:24:34 +00:00
Ulrich Drepper
9346d2ecb1 Add vfork. 1999-01-14 00:15:14 +00:00
Ulrich Drepper
2a3db76a83 Correct type for __fsfilcnt_t. 1999-01-07 09:53:42 +00:00
Ulrich Drepper
b428ebeef7 Save a4 through both paths. 1998-12-07 12:07:42 +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
1dc5a942c9 Kill __syscall* bits. 1998-10-31 23:38:23 +00:00