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
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
Ulrich Drepper
564fb196d6
SysV message queue definitions for Linux/MIPS.
2002-08-26 01:49:55 +00:00
Ulrich Drepper
28fdb447c1
Define SHMLBA.
2002-08-23 22:26:25 +00:00
Ulrich Drepper
841f536f46
Remove __set_errno definition.
2002-07-20 01:02:01 +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
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
Andreas Jaeger
c1babb4b9d
Synch with kernel.
2001-07-20 06:05:16 +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
fc0f915617
(ipc_perm): Put back __key.
2001-05-27 08:34:45 +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
e8d795b077
Add MAP_* and MADV_* defines to match other architectures.
2001-03-27 02:43:47 +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
0688457b47
(struct sockaddr_storage): Define ss_family and __ss_family.
...
(struct msghdr): Change type of msg_iovlen to int and type of
msg_controllen to socklen_t.
2001-01-27 21:25:38 +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
cb25fffef1
Define NPOLLFILE only if __USE_MISC.
2001-01-27 04:59:52 +00:00
Andreas Jaeger
9ae8d03731
Synch with generic Linux version.
2000-11-28 09:17:38 +00:00
Andreas Jaeger
6e6f5adcfb
(struct cmsghdr): Use __flexarr.
2000-11-28 08:05:11 +00:00
Andreas Jaeger
ec5d5a4d92
(O_NOFOLLOW): Use same value defined in /usr/include/asm-mips/fcntl.h.
2000-11-20 07:55:22 +00:00
Andreas Jaeger
5e9880e0b5
Protect DN_* by __USE_GNU.
2000-09-29 20:24:30 +00:00
Andreas Jaeger
d867f21971
Synch with Linux 2.4.0-test9-pre7.
2000-09-29 19:07:03 +00:00
Ulrich Drepper
73b240faca
Add RLIMIT_LOCKS.
2000-09-29 01:30:19 +00:00
Ulrich Drepper
37b1259bd5
(__cmsg_nxthdr): Fix test for no more entries.
2000-09-14 01:40:14 +00:00
Andreas Jaeger
90d3df7387
Use st_pad5.
2000-09-05 19:33:13 +00:00
Andreas Jaeger
f727031ab2
Fixes for fcntl64.
2000-09-02 15:03:41 +00:00
Andreas Jaeger
546afa8c7b
Add pads to show alignment for structs stat and stat64.
...
Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2000-08-18 06:11:11 +00:00
Ulrich Drepper
5b5a4299b4
Define __clockid_t and __timer_t.
2000-08-14 05:23:10 +00:00
Ulrich Drepper
9ff6d9a067
Define thread types also for POSIX95.
2000-08-14 04:50:13 +00:00
Ulrich Drepper
7c27fb615e
(__ino64_t): Change to __u_quad_t.
2000-08-12 05:07:57 +00:00
Andreas Jaeger
2489c7f179
Synch struct stat64 and stat with current MIPS kernel.
2000-08-10 12:39:48 +00:00
Andreas Jaeger
156a8cfcd4
* sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
...
the order of struct sigaltstack members is different.
2000-07-31 08:19:13 +00:00
Andreas Jaeger
797c09d821
Rename MSG_URG TO MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never
...
used).
2000-07-27 15:12:23 +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
Andreas Jaeger
3a1e20c64a
2000-05-13 Andreas Jaeger <aj@suse.de>
...
* sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
Linux 2.3.99pre7.
(AF_PPPOX): Likewise.
* sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
(AF_PPPOX): Likewise.
2000-05-13 18:18:03 +00:00
Ulrich Drepper
37dca96f1c
(F_SETOWN, F_GETOWN): Make available if __USE_XOPEN2K.
2000-04-30 07:12:32 +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
b05b3eb67f
Define __socklen_t.
2000-04-02 08:05:11 +00:00
Ulrich Drepper
23a7de4bb4
Use __socklen_t to define socklen_t. Allow definition elsewhere.
2000-04-02 08:01:25 +00:00
Ulrich Drepper
1a76429b65
Define _STATFS_F_NAMELEN.
2000-02-28 21:15:52 +00:00
Ulrich Drepper
cf95db7e00
(IPC_INFO): Only define if __USE_GNU.
2000-02-25 08:56:31 +00:00
Ulrich Drepper
158331933d
Define SA_NOCLDWAIT.
2000-02-23 05:59:11 +00:00
Andreas Jaeger
b3be99749f
2000-02-08 Andreas Jaeger <aj@suse.de>
...
* sysdeps/unix/sysv/linux/mips/bits/termios.h: Remove members
c_ispeed and c_ospeed which are not implemented.
2000-02-08 13:41:37 +00:00
Andreas Jaeger
22e908b01a
2000-02-05 Andreas Jaeger <aj@suse.de>
...
* sysdeps/unix/sysv/linux/mips/bits/mman.h (MS_SYNC): 0 will not
work - set to 4 in accordance with changes made in the Linux/MIPS
kernel. Using MS_SYNC on older kernels with MS_SYNC == 0 doesn't
actually work.
2000-02-05 07:45:59 +00:00
Andreas Jaeger
4cd50e5eb8
Fix typo in comment.
2000-02-04 16:40:32 +00:00
Andreas Jaeger
19918d3ddd
2000-02-04 Andreas Jaeger <aj@suse.de>
...
* sysdeps/unix/sysv/linux/mips/bits/mman.h: Use correct values for
the defines.
2000-02-04 16:38:20 +00:00
Andreas Jaeger
93b2a8e751
2000-01-10 Andreas Jaeger <aj@suse.de>
...
* sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Add missing
int's.
* sysdeps/unix/sysv/linux/mips/sys/acct.h: Remove K&R support, add
missing int's.
* sysdeps/unix/sysv/linux/mips/bits/errno.h: Remove K&R support.
* sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
2000-01-10 11:44:24 +00:00
Ulrich Drepper
1be564e03e
Remove inclusion of <asm/resource.h>.
1999-12-27 06:11:17 +00:00
Ulrich Drepper
b2b066ffc2
Linux/MIPS specific definitions for resource.h.
1999-12-19 00:02:12 +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
Andreas Jaeger
ccae44c2e6
Include <sys/types.h> to get key_t.
1999-11-22 16:35:07 +00:00
Ulrich Drepper
17f1ad4499
(SI_KERNEL): Added.
1999-11-01 02:35:05 +00:00
Ulrich Drepper
0927b9fc12
Added missing N_* constants.
1999-10-29 20:23:01 +00:00
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
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
9661dd713d
(SA_RESETHAND): Add it.
1999-08-22 16:04:24 +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
b4ac6f26f2
Define __suseconds_t.
1999-07-17 23:16:23 +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
d33ecfde38
Correct signed/unsigned-ness of blkcnt and fsblkcnt.
1999-04-16 17:06:33 +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
f90bac9291
Add baud rates > 460800.
1999-01-19 12:24:34 +00:00
Ulrich Drepper
6c56758e2a
Linux/MIPS specific siginfo definition.
1999-01-14 13:30:32 +00:00
Ulrich Drepper
61758030ed
Sync with current Linux 2.1.132 kernel sources.
1998-12-31 18:16:52 +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
88e7faf1e1
Cleanup comment.
1998-11-12 11:21:36 +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
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
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
96b2e43371
Use __PMT instead of __P for sa_restorer.
1998-10-22 14:41:10 +00:00
Ulrich Drepper
c220db51b0
Add O_DIRECTORY.
1998-10-16 16:29:19 +00:00
Ulrich Drepper
0f72aee6de
Protect use of long long by __extension__.
1998-10-01 10:57:23 +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
b720449067
(SA_ONSTACK): Define.
1998-09-22 12:44:47 +00:00