Commit Graph

128 Commits

Author SHA1 Message Date
Richard Henderson
b4d2a4238c * sysdeps/unix/sysv/linux/alpha/kernel_stat.h (kernel_stat64): New.
(glibc21_stat): New.
        * sysdeps/unix/sysv/linux/alpha/fxstat.c: New file.
        * sysdeps/unix/sysv/linux/alpha/lxstat.c: New file.
        * sysdeps/unix/sysv/linux/alpha/xstat.c: New file.
        * sysdeps/unix/sysv/linux/alpha/xstatconv.c (__xstat_conv): Add
        code for _STAT_VER_GLIBC2_3_4.
        (__libc_missing_axp_stat64): New.
        * sysdeps/unix/sysv/linux/alpha/xstatconv.h: New file.
        * sysdeps/unix/sysv/linux/alpha/bits/stat.h (__ST_TIME): New.
        (_STAT_VER_GLIBC2_3_4, _STAT_VER_KERNEL64): New.
        (struct stat, struct stat64): Update to new format.
        (_STATBUF_ST_NSEC): New.
2004-03-11 02:58:44 +00:00
Ulrich Drepper
9efb40c836 Add readahead prototype. 2004-01-20 23:23:55 +00:00
Ulrich Drepper
3d87932d45 Define PROT_GROWSDOWN and PROT_GROWSUP. 2003-09-25 16:42:43 +00:00
Roland McGrath
25c0b916b6 2003-09-08 Roland McGrath <roland@frob.com>
* sysdeps/unix/sysv/linux/speed.c
	(cfsetospeed): Only set c_ospeed under [_HAVE_STRUCT_TERMIOS_C_OSPEED].
	(cfsetispeed): Only set c_ispeed under [_HAVE_STRUCT_TERMIOS_C_ISPEED].
	* sysdeps/unix/sysv/linux/bits/termios.h
	(_HAVE_STRUCT_TERMIOS_C_ISPEED, _HAVE_STRUCT_TERMIOS_C_OSPEED): Define.
	* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2003-09-09 06:44:48 +00:00
Ulrich Drepper
591ef241f8 (__SSIZE_T_TYPE): Define. 2003-07-31 19:34:16 +00:00
Ulrich Drepper
775a8c02e1 Header with a.out binary format definitions. 2003-07-25 09:04:57 +00:00
Ulrich Drepper
85d3b8cbf5 (_STATFS_F_FRSIZE): Define. 2003-07-12 19:30:54 +00:00
Ulrich Drepper
e31adc6532 (struct statfs): Add f_frsize field.
(struct statfs64): Likewise.
2003-06-24 17:13:44 +00:00
Ulrich Drepper
c3e16ef8ed Define SI_TKILL. 2003-04-21 07:27:10 +00:00
Ulrich Drepper
4a05f4cc08 Sync with Linux 2.5.67. 2003-04-19 18:31:57 +00:00
Ulrich Drepper
614ba8f749 (_NSIG): Define to 65. 2003-04-01 06:16:53 +00:00
Ulrich Drepper
49d354ccdc (struct siginfo): Avoid no-op padding element. 2003-03-26 23:41:57 +00:00
Ulrich Drepper
8eecb601ef (struct siginfo): Adjust timer info for what the kernel provides these days.
(struct sigevent): Add _tid field.
Define SIGEV_THREAD_ID.
Remove struct __pthread_attr_s forward declaration.
2003-03-26 04:48:10 +00:00
Ulrich Drepper
f30a759d97 (__TIMER_T_TYPE): Define as void*. 2003-03-25 21:59:17 +00:00
Ulrich Drepper
aca56a7fa5 Define MAP_POPULATE and MAP_NONBLOCK. 2003-03-03 09:58:55 +00:00
Ulrich Drepper
9526f1fb77 Define SHM_HUGETLB. 2002-12-20 10:31:10 +00:00
Ulrich Drepper
3a56243bb0 (struct sigevent): Change type of _attribute to void*. 2002-12-05 00:23:59 +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
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
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
50d9769d4b Error codes for Linux/Alpha. 2002-08-28 23:58:00 +00:00
Ulrich Drepper
28fdb447c1 Define SHMLBA. 2002-08-23 22:26:25 +00:00
Andreas Jaeger
4223e67fa1 Fix typo. 2002-07-08 16:58:14 +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
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
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
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
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
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
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
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
afda99352c Define __S_TYPEISMQ, __S_TYPEISSEM, and __S_TYPEISSHM. 2000-06-22 17:58:17 +00:00
Ulrich Drepper
37dca96f1c (F_SETOWN, F_GETOWN): Make available if __USE_XOPEN2K. 2000-04-30 07:12:32 +00:00