| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| |
| | |
linux: add rtnetlink ifinfomsg attribute enumerals
|
| | |
|
|\ \
| |/
|/|
| |
| |
| | |
Linux madv
This is a followup of #2818
|
| | |
|
|/
|
|
|
|
|
|
| |
- And a definition for `RLIM64_INFINITY` on linux_like platforms.
- Declare the `sync` function on Android and solarish.
- Solaris: https://docs.oracle.com/cd/E26502_01/html/E29032/sync-2.html
- Illumos: https://illumos.org/man/2/sync
- Enable `FICLONE` and `FICLONERANGE` on more architectures.
|
| |
|
|\
| |
| |
| |
| |
| | |
Adding RTEXT_FILTER* constants from linux/rtnetlink.h
Adding some constants needed for some specific netlink-route interactions (fetching information on a network interface). They are defined at ```linux/rtnetlink.h```.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds `KEXEC_ARCH_MASK`, `KEXEC_FILE_NO_INITRAMFS`,
`KEXEC_FILE_ON_CRASH`, `KEXEC_FILE_UNLOAD`, `KEXEC_ON_CRASH`,
and `KEXEC_PRESERVE_CONTEXT` constants on Linux and Android.
Those are used by `kexec` and `kexec_file_load` syscalls, and they are
defined at:
* https://github.com/torvalds/linux/blob/v6.2/include/uapi/linux/kexec.h#L12-L26
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
linux: move DCCP_ constants from linux/gnu to linux
closes #3132
these constants come from linux headers, so they should be exposed for "linux", not just glibc.
this change exposes them for linux/musl and linux/uclibc.
of note, android contains these same constants, but moving it to linux-like would also expose them on emscripten, which does not have it.
(not sure if things are placed in the correct place, but this looks like an okayish start)
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
closes #3132
these constants come from linux headers, so they should be exposed for
"linux", not just glibc.
this change exposes them for linux/musl and linux/uclibc.
of note, android contains these same constants, but moving it to
linux-like would also expose them on emscripten, which does not have it.
|
|/ |
|
|\
| |
| |
| | |
linux adding strchrnul
|
| | |
|
|\ \
| | |
| | |
| | | |
linux starting adding sctp support
|
| |/ |
|
|/
|
|
|
| |
Add FUTEX_BITSET_MATCH_ANY, FUTEX_OP_* constant and a const
fonction, FUTEX_OP() to replace the macro in C.
|
| |
|
|\
| |
| |
| | |
linux: add additional netlink interface attribute tags
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
IFLA_PARENT_DEV_* were added in linux v5.13
linux: 00e77ed8e64d5f271c1f015c7153545980d48a76
IFLA_GRO_MAX_SIZE was added in linux v5.16
linux: eac1b93c14d645ef147b049ace0d5230df755548
IFLA_TSO_MAX_* were added in linux v5.18
linux: 89527be8d8d672773eeaec910118a6e84fb597e3
IFLA_ALLMULTI was added in linux v6.0
linux: 7e6e1b57162ed6a2d32d2f0929c27d79482ff706
|
|/ |
|
|
|
|
|
|
|
| |
This adds the `OPEN_TREE_CLONE` and `OPEN_TREE_CLOEXEC` constants
on Linux and Android.
Those are used by the `open_tree()` syscall and defined in `mount.h`:
* https://github.com/torvalds/linux/blob/v6.1/include/uapi/linux/mount.h#L61-L65
|
| |
|
|
|
|
|
|
| |
This adds the `AT_RECURSIVE` constant on Linux and Android.
It is defined as part of the kernel uapi in `fcntl.h`:
https://github.com/torvalds/linux/blob/v6.1/include/uapi/linux/fcntl.h#L112
|
|\
| |
| |
| | |
adding KERNEL_VERSION macro for linux.
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
linux: Add AT_SYSINFO_EHDR constant
When passed to [`getauxval(3)`][2] this is used to retrieve the base address of the vdso mapped into the current process. It is defined the architecture specific `auxvec.h` headers but [it is defined to the same value in all of them][1] so I've put it in `src/unix/linux_like/linux/mod.rs` instead of in the arch submodule.
[1]: https://sourcegraph.com/search?q=context:global+repo:%5Egithub%5C.com/torvalds/linux%24+%23define+AT_SYSINFO_EHDR&patternType=standard&sm=1
[2]: https://man7.org/linux/man-pages/man3/getauxval.3.html
|
| | |
|
|/ |
|
| |
|
|\
| |
| |
| | |
Add rand48 functions
|
| | |
|
| |
| |
| |
| |
| |
| | |
This flag allows the child process created by POSIX spawn to create
a new session and become leader of a new process group. Expose the
flag so that Rust code can use it.
|
| |
| |
| |
| | |
close #2909.
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This constant was added in Linux v3.0 and glibc 2.26.
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Promote pthread_getname_np and pthread_setname_np from glibc to linux
musl libc added pthread_setname_np in 1.1.16 and pthread_getname_np
in 1.2.3, and uClibc has had them since v1.0.20.
|
| |
| |
| |
| |
| | |
musl libc added pthread_setname_np in 1.1.16 and pthread_getname_np
in 1.2.3, and uClibc has had them since v1.0.20.
|
|\ \
| | |
| | |
| | |
| | |
| | | |
Enable sock_txtime on mips musl target
The struct and related constants were originally added in #2415. But they weren't enabled for mips musl target because the kernel version of the build image was old and they couldn't pass the build. Now the kernel version of the build image is already updated and I think we could enable them for mips musl target
|