Andreas Jaeger
f8d826fc85
2003-07-16 Daniel Jacobowitz <drow@mvista.com>
...
Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/bits/shm.h (SHMLBA): Define to
256K, remove unneeded declaration of __getpagesize.
2003-07-16 07:39:07 +00:00
Andreas Jaeger
a99b4fcf5a
2003-05-20 Guido Guenther <agx@sigxcpu.org>
...
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Change SI_ASYNCNL
to -60 and define SI_TKILL.
2003-05-22 02:26:29 +00:00
Alexandre Oliva
d25102aa73
* sysdeps/unix/sysv/linux/mips/profil-counter: New.
...
* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Port to n32/n64.
* sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: New.
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Port to n32/n64.
(mcontext_t): Make it match the 32-bit mips kernel in o32.
* sysdeps/unix/sysv/linux/mips/sys/user.h: Bring in constants from
the mips and mips64 headers.
(struct user): Port to n32/n64.
2003-04-13 11:36:32 +00:00
Alexandre Oliva
e635cc8cc2
* sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New.
...
* sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: New.
* sysdeps/unix/sysv/linux/kernel-features.h: fcntl64 is available
on mips n32.
* sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why
XSTAT_IS_XSTAT64 must not be used for mips n64. Use 64-bit data
structure on n32 as well.
* sysdeps/unix/sysv/linux/mips/bits/stat.h: Use POSIX-compliant
data types on n32 and n64.
2003-04-05 19:57:35 +00:00
Alexandre Oliva
f7277ebafe
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust
...
for n64 abi.
2003-04-04 05:12:00 +00:00
Alexandre Oliva
f4e9c08c59
* sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64):
...
Define.
* sysdeps/mips/sys/asm.h: Test _MIPS_ISA against them on all
ISA tests.
(ALSZ, ALMASK, SZREG, REG_S, REG_L): Define based on ABI, not ISA.
(PTR_ADD, etc): Test _MIPS_SZPTR instead of _MIPS_SZLONG.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR
to decide whether to add padding.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Use _MIPS_SZPTR
to decide whether to add padding.
* sysdeps/unix/sysv/linux/mips/kernel_sigaction.h (struct
old_kernel_sigaction): Likewise.
2003-03-25 21:51:53 +00:00
Andreas Jaeger
3347c3ad39
2003-03-04 Guido Guenther <agx@sigxcpu.org>
...
* sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded
stubs, we have INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE,
MAP_NONBLOCK.
2003-03-07 09:46:33 +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
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