Commit Graph

15 Commits

Author SHA1 Message Date
zonyitoo 682eba6116 Unified all Linux sockopts definitions by arch
- fixed other missing SO_INCOMING_CPU definition in rust-lang/socket2#213
2021-04-05 22:45:59 +08:00
Dominik Stolz a9c4446eeb Add more syscall constansts 2021-03-16 07:57:34 +01:00
Dominik Stolz efe0fe9499 Add SYS_clone3 for musl targets 2021-03-14 20:58:21 +01:00
Torbjørn Birch Moltu fe4be350a8 Add SO_PEERSEC and SO_PASSSEC for all linux archs and android
SO_PASSSEC and SO_PEERSEC were already added for the most common archs
such as x86_64 and aarch64, but were missing on for example x86.

Sources:
* linux mips: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/mips/include/uapi/asm/socket.h
* linux sparc: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/sparc/include/uapi/asm/socket.h
* other linux: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/uapi/asm-generic/socket.h
* android: https://android.googlesource.com/platform/bionic.git/+/refs/heads/master/libc/kernel/uapi/asm-generic/socket.h
2021-03-08 00:10:10 +01:00
Amanieu d'Antras 9d393107c6 Rustfmt 2021-02-01 22:52:54 +00:00
Yuki Okushi 5e10268b64
Tweak `MAP_SYNC` 2020-03-15 01:17:53 +09:00
Andre Nathan c18ab84108 Add F_OFD_* constants 2020-03-10 13:27:38 -03:00
oxalica ea00e8b911
Provide SYS_statx for more arch 2019-11-22 13:46:40 +08:00
gnzlbg 939a2e5a3a Formatting 2019-09-12 15:12:33 +02:00
gnzlbg 8f50a261c2 Add support for musl mips64 2019-08-20 16:37:42 +02:00
gnzlbg 4051e27026 Revert "Reorganize constant declarations to make up space for MIPS64-specific ones"
This reverts commit 9df2deb33b.
2019-08-20 14:59:26 +02:00
Wang Xuerui 9df2deb33b
Reorganize constant declarations to make up space for MIPS64-specific ones 2019-08-17 10:25:04 +08:00
Bryant Mairs 215f095601 Remove AF_MAX, PF_MAX, NET_MAXID constants
These constants have already been deprecated for a few releases with
a deprecation notice, so they can finally be removed.

Closes rust-lang/libc#665
2019-07-05 07:39:00 -07:00
Torbjørn Birch Moltu 2c10c4c887 Add FIONCLEX for Linux 2019-06-07 20:00:55 +02:00
gnzlbg 8f098a3e3a Rename the notbsd module to linux_like 2019-06-03 21:46:43 +02:00