musl/arch/mips64/bits
Rich Felker f56d57f8a7 move IPC_64 from public bits/ipc.h to syscall_arch.h
the definition of the IPC_64 macro controls the interface between libc
and the kernel through syscalls; it's not a public API. the meaning is
rather obscure. long ago, Linux's sysvipc *id_ds structures used
16-bit uids/gids and wrong types for a few other fields. this was in
the libc5 era, before glibc. the IPC_64 flag (64 is a misnomer; it's
more like 32) tells the kernel to use the modern[-ish] versions of the
structures.

the definition of IPC_64 has nothing to do with whether the arch is
32- or 64-bit. rather, due to either historical accident or
intentional obnoxiousness, the kernel only accepts and masks off the
0x100 IPC_64 flag conditional on CONFIG_ARCH_WANT_IPC_PARSE_VERSION,
i.e. for archs that want to provide, or that accidentally provided,
both. for archs which don't define this option, no masking is
performed and commands with the 0x100 bit set will fail as invalid. so
ultimately, the definition is just a matter of matching an arbitrary
switch defined per-arch in the kernel.
2019-07-30 14:23:56 -04:00
..
alltypes.h.in
endian.h
errno.h
fcntl.h
fenv.h
float.h
hwcap.h mips: add HWCAP_ flags from linux v4.17 2018-06-19 13:27:27 -04:00
ioctl.h move arch-invariant definitions out of bits/ioctl.h 2019-02-07 12:43:19 -05:00
ipc.h move IPC_64 from public bits/ipc.h to syscall_arch.h 2019-07-30 14:23:56 -04:00
limits.h
mman.h add MAP_SYNC and MAP_SHARED_VALIDATE from linux v4.15 2018-02-22 18:48:58 -05:00
poll.h
posix.h
ptrace.h add support for arch-specific ptrace command macros 2018-07-17 22:25:08 -04:00
reg.h
resource.h
setjmp.h
signal.h
socket.h fix value of SO_PEERSEC on mips archs 2018-06-26 15:55:29 -04:00
stat.h remove utterly wrong includes from mips64/n32 bits/stat.h 2019-07-18 19:30:14 -04:00
statfs.h
stdint.h
syscall.h.in add new syscall numbers from linux v5.1 2019-07-01 14:20:58 -04:00
termios.h fix conflicting mips and powerpc definitions for TIOCSER_TEMT macro 2019-07-10 17:09:49 -04:00
user.h