| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ \
| | | | |
| | | | |
| | | | | |
prctl SME flags for gnu arm64.
|
| | | | | |
|
| |/ / / |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
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)
|
| | | | |
|
|/ / / |
|
|\ \ \
| | | |
| | | |
| | | | |
linux adding strchrnul
|
| | |/
| |/| |
|
|\ \ \
| | | |
| | | |
| | | | |
freebsd sctp support part 3
|
|/ / / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
According to #3023, new ABI did not need to be hidden away
under cfg(freebsdXX) flags, only changed ABI!
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
netbsd tcp_info data addition.
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
freebsd tcp_info data addition.
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
linux starting adding sctp support
|
| |/ / / |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | | |
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.
|
| | | | |
|
| |/ /
| | |
| | |
| | |
| | | |
Add FUTEX_BITSET_MATCH_ANY, FUTEX_OP_* constant and a const
fonction, FUTEX_OP() to replace the macro in C.
|
|\ \ \
| | | |
| | | |
| | | | |
linux tcp adding TCP_MD5SIG_MAXKEYLEN const.
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | | |
apple add pthread_stack_frame_decode_np
|
| |/ / |
|
|\ \ \
| |/ /
|/| |
| | | |
freebsd further sctp support.
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
|
|\ \ \ \
| |/ / /
|/| | |
| | | | |
freebsd add initial sctp support
|
|/ / / |
|
|\ \ \
| | | |
| | | |
| | | | |
pidfile util api for freebsd addition.
|
| | |/
| |/| |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|/ / / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | |
| | | | |
Upgrade FreeBSD 14 image
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
m68k: Fix incorrect type for sigaction::sa_flags
This fixes a trivial bug where the wrong type was assumed for sigaction::sa_flags.
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|