summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Auto merge of #3116 - devnexen:prctl_upd_arm64, r=JohnTitorbors2023-02-192-1/+10
|\ \ \ \ | | | | | | | | | | | | | | | prctl SME flags for gnu arm64.
| * | | | prctl SME flags for gnu arm64.David Carlier2023-02-181-1/+3
| | | | |
| * | | | prctl SME flags for gnu arm64.David Carlier2023-02-141-0/+7
| |/ / /
* | | | Auto merge of #3122 - valpackett:fbsd, r=JohnTitorbors2023-02-193-1/+8
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | FreeBSD: strchrnul, AT_EMPTY_PATH - one related constant I missed in #3114 - since #3104 landed let's do that too (this function was available since FreeBSD 10)
| * | | FreeBSD: add strchrnulVal Packett2023-02-182-0/+3
| | | |
| * | | FreeBSD: add AT_EMPTY_PATHVal Packett2023-02-183-1/+5
|/ / /
* | | Auto merge of #3104 - devnexen:linux_addstrchrnul, r=JohnTitorbors2023-02-143-0/+4
|\ \ \ | | | | | | | | | | | | linux adding strchrnul
| * | | linux adding strchrnulDavid Carlier2023-02-053-0/+4
| | |/ | |/|
* | | Auto merge of #3118 - devnexen:fbsd_sctp3, r=JohnTitorbors2023-02-143-1/+193
|\ \ \ | | | | | | | | | | | | freebsd sctp support part 3
| * | | freebsd sctp support part 3David Carlier2023-02-123-1/+193
|/ / /
* | | Auto merge of #3114 - valpackett:fbsd, r=JohnTitorbors2023-02-127-66/+60
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FreeBSD: move all new ABI to base module, add more O_ flags So according to #3023 all of that stuff didn't need to be hidden away in these conditionally built modules and we could've been exposing `eventfd`, `getrandom`, `getentropy`, `setproctitle_fast` etc. to crates.io consumers all this time… While in the test file, clean up the mess in `skip_fn` :) Other thing we need to expose is `O_PATH`, `O_RESOLVE_BENEATH` for crates like cap-std/openat. While here, add other open flags.
| * | | FreeBSD: libc-test: make the skip_fn section less messyVal Packett2023-02-111-19/+16
| | | |
| * | | FreeBSD: move newly introduced functions in all versions back to rootVal Packett2023-02-116-51/+30
| | | | | | | | | | | | | | | | | | | | According to #3023, new ABI did not need to be hidden away under cfg(freebsdXX) flags, only changed ABI!
| * | | Add more FreeBSD-specific path open option constantsVal Packett2023-02-113-0/+18
| | | |
* | | | Auto merge of #3113 - devnexen:nbsd_tcp_info, r=JohnTitorbors2023-02-122-0/+44
|\ \ \ \ | | | | | | | | | | | | | | | netbsd tcp_info data addition.
| * | | | netbsd tcp_info data addition.David Carlier2023-02-102-0/+44
| |/ / /
* | | | Auto merge of #3112 - devnexen:fbsd_tcp_info, r=JohnTitorbors2023-02-123-0/+66
|\ \ \ \ | | | | | | | | | | | | | | | freebsd tcp_info data addition.
| * | | | freebsd tcp_info data addition.David Carlier2023-02-103-0/+66
| |/ / /
* | | | Auto merge of #3095 - devnexen:linux_sctp1, r=JohnTitorbors2023-02-123-1/+233
|\ \ \ \ | | | | | | | | | | | | | | | linux starting adding sctp support
| * | | | linux starting adding sctp supportDavid Carlier2023-02-103-1/+233
| |/ / /
* | | | Auto merge of #3109 - voskh0d:master, r=JohnTitorbors2023-02-122-0/+35
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | linux: add more constants and FUTEX_OP for futex Add FUTEX_BITSET_MATCH_ANY, FUTEX_OP_* constant and a const fonction, FUTEX_OP() to replace the macro in C.
| * | | Remove const from FUTEX_OPJérôme Dubois2023-02-091-1/+1
| | | |
| * | | linux: add more constants and FUTEX_OP for futexJérôme Dubois2023-02-072-0/+35
| |/ / | | | | | | | | | | | | Add FUTEX_BITSET_MATCH_ANY, FUTEX_OP_* constant and a const fonction, FUTEX_OP() to replace the macro in C.
* | | Auto merge of #3107 - devnexen:linux_tcp_updates, r=JohnTitorbors2023-02-091-0/+1
|\ \ \ | | | | | | | | | | | | linux tcp adding TCP_MD5SIG_MAXKEYLEN const.
| * | | linux tcp adding TCP_MD5SIG_MAXKEYLEN const.David Carlier2023-02-061-0/+1
| |/ /
* | | Auto merge of #3105 - devnexen:macos_stack_np, r=JohnTitorbors2023-02-093-1/+7
|\ \ \ | | | | | | | | | | | | apple add pthread_stack_frame_decode_np
| * | | apple add pthread_stack_frame_decode_npDavid CARLIER2023-02-053-1/+7
| |/ /
* | | Auto merge of #3102 - devnexen:fbsd_sctp2, r=JohnTitorbors2023-02-093-1/+477
|\ \ \ | |/ / |/| | | | | freebsd further sctp support.
| * | freebsd further sctp support.David Carlier2023-02-053-1/+477
|/ /
* | Auto merge of #3084 - betrusted-io:initial-xous-support, r=JohnTitorbors2023-02-052-0/+55
|\ \ | | | | | | | | | | | | | | | xous: add initial C definitions This adds initial C definitions to Xous. There is no C library, so this mostly serves to add C-compatible exports to the `libc` crate.
| * | xous: add initial C definitionsSean Cross2023-01-222-0/+55
| | | | | | | | | | | | | | | | | | | | | This adds initial C definitions to Xous. There is no C library, so this mostly serves to add C-compatible exports to the `libc` crate. Signed-off-by: Sean Cross <sean@xobs.io>
* | | Auto merge of #3100 - cppcoffee:master, r=JohnTitorbors2023-02-051-0/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | uclibc/mips: add missing MAP_HUGETLB constant Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com> This add the MAP_HUGETLB constant on Linux and uclibc. It is defined as part of the uclibc in mman.h: https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/libc/sysdeps/linux/mips/bits/mman.h#n35
| * | | uclibc/mips: add missing MAP_HUGETLB constantXiaobo Liu2023-02-041-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
* | | | Auto merge of #3101 - devnexen:fbsd_sctp1, r=JohnTitorbors2023-02-053-0/+311
|\ \ \ \ | |/ / / |/| | | | | | | freebsd add initial sctp support
| * | | freebsd add initial sctp supportDavid Carlier2023-02-043-0/+311
|/ / /
* | | Auto merge of #3099 - devnexen:pidfile_fbsd, r=JohnTitorbors2023-02-033-0/+23
|\ \ \ | | | | | | | | | | | | pidfile util api for freebsd addition.
| * | | pidfile util api for freebsd addition.David Carlier2023-02-023-0/+23
| | |/ | |/|
* | | Auto merge of #3094 - cppcoffee:term, r=JohnTitorbors2023-02-031-0/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | uclibc/mips: add more missing constant Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com> This add the TABDLY + BSDLY + XTABS + VSWTC + VTDLY + OLCUC + CRDLY constant on Linux and uclibc. It is defined as part of the uclibc in termios.h: https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/libc/sysdeps/linux/mips/bits/termios.h#n95 https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/libc/sysdeps/linux/mips/bits/termios.h#n100 https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/libc/sysdeps/linux/mips/bits/termios.h#n113 https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/libc/sysdeps/linux/mips/bits/termios.h#n46 https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/libc/sysdeps/linux/mips/bits/termios.h#n108 https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/libc/sysdeps/linux/mips/bits/termios.h#n79 https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/libc/sysdeps/linux/mips/bits/termios.h#n90
| * | | uclibc/mips: add more missing constantXiaobo Liu2023-01-291-0/+7
| | | | | | | | | | | | | | | | Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
* | | | Auto merge of #3098 - folkertdev:freebsd-timestamp-constants, r=JohnTitorbors2023-02-022-0/+15
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | add SO_TS_* constants for FreeBSD These constants are used in timestamping of packets on a socket. The definitions come from https://github.com/bminor/newlib/blob/master/newlib/libc/sys/rtems/include/sys/socket.h#L165. For context, here is an example of some of these being used on FreeBSD for packet timestamping in NTP: https://github.com/ntpsec/ntpsec/blob/master/ntpd/ntp_packetstamp.c.
| * | | add SO_TS_* constants for FreeBSDFolkert2023-02-022-0/+15
|/ / /
* | | Auto merge of #3060 - shikhapanwar:sycfs_for_android, r=JohnTitorbors2023-01-313-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | ANDROID: Add syncfs API in liblibc This is required to sync everything in a single filesystem. Other solutions like sync() flushes all filesystems which is unnecessary, it is also impractical to call fsync on all files of the filesystem.
| * | | ANDROID: Add syncfs API in liblibcShikha Panwar2023-01-303-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is required to sync everything in a single filesystem. Other solutions like sync() flushes all filesystems which is unnecessary, it is also impractical to call fsync on all files of the filesystem. This patch also excludes syncfs for arm from CI.
* | | | Auto merge of #3096 - JohnTitor:freebsd-14-0-release, r=JohnTitorbors2023-01-301-4/+4
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | Upgrade FreeBSD 14 image Signed-off-by: Yuki Okushi <jtitor@2k36.org>
| * | | Upgrade FreeBSD 14 imageYuki Okushi2023-01-311-4/+4
|/ / / | | | | | | | | | Signed-off-by: Yuki Okushi <jtitor@2k36.org>
* | | Auto merge of #3090 - josephlr:solaris, r=JohnTitorbors2023-01-281-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Solaris/Illumos: use correct types for getrandom(2) flags On Solaris (and any other platform that supports it), the `getrandom(2)` syscall has signature: ```rust fn getrandom(buf: *mut c_void, buflen: size_t, flags: c_uint) -> ssize_t; ``` so the flag constants (`GRND_NONBLOCK`, `GRND_RANDOM`, etc...) should be of type `c_uint`. I'm not sure if this sort of "bug fix" counts as a breaking change, there weren't any Solaris/Illumos files under `libc-test/semver`. Signed-off-by: Joe Richey <joerichey@google.com>
| * | | Solaris/Illumos: use correct types for getrandom(2) flagsJoe Richey2023-01-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Solaris (and any other platform that supports it), the `getrandom(2)` syscall has signature: ```rust fn getrandom(buf: *mut c_void, buflen: size_t, flags: c_uint) -> ssize_t; ``` so the flag constants (`GRND_NONBLOCK`, `GRND_RANDOM`, etc...) should be of type `c_uint`. I'm not sure if this sort of "bug fix" counts as a breaking change. Signed-off-by: Joe Richey <joerichey@google.com>
* | | | Auto merge of #3078 - glaubitz:m68k-fixes, r=JohnTitorbors2023-01-281-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | m68k: Fix incorrect type for sigaction::sa_flags This fixes a trivial bug where the wrong type was assumed for sigaction::sa_flags.
| * | | | m68k: Fix incorrect type for sigaction::sa_flagsJohn Paul Adrian Glaubitz2023-01-201-1/+1
| | | | |
* | | | | Auto merge of #3092 - cppcoffee:term, r=JohnTitorbors2023-01-281-0/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | uclibc/mips: add missing constant Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com> This add the FFDLY & NLDLY & CBAUDEX & CIBAUD constant on Linux and uclibc. It is defined as part of the uclibc in termios.h: https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/libc/sysdeps/linux/mips/bits/termios.h#n103 https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/libc/sysdeps/linux/mips/bits/termios.h#n87 https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/libc/sysdeps/linux/mips/bits/termios.h#n152 https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/libc/sysdeps/linux/mips/bits/termios.h#n171