| b6ad1355 | 20-Mar-2025 |
Ola x Nilsson <[email protected]> |
gnu: Correct struct stat64 for sparc
Struct stat and stat64 needs to match when gnu_file_offset_bits64 is set.
(backport <https://github.com/rust-lang/libc/pull/4345>) (cherry picked from commit 22
gnu: Correct struct stat64 for sparc
Struct stat and stat64 needs to match when gnu_file_offset_bits64 is set.
(backport <https://github.com/rust-lang/libc/pull/4345>) (cherry picked from commit 22ac02cc253d23e55451dafdcba60158e8be5023)
show more ...
|
| 4c67438a | 20-Mar-2025 |
Ola x Nilsson <[email protected]> |
gnu: Correct the struct stat64 padding for 32bit mips
(backport <https://github.com/rust-lang/libc/pull/4345>) (cherry picked from commit 169d50bd2b1818292d2e329cb7f67373edc72517) |
| 0789132d | 18-Mar-2025 |
Ola x Nilsson <[email protected]> |
gnu: Adapt stat64 for gnu_file_offset_bits64
(backport <https://github.com/rust-lang/libc/pull/4345>) (cherry picked from commit 96e81e718d4ca91f29353b362d9b5e93c176663f) |
| a8df7588 | 19-Dec-2024 |
Ola x Nilsson <[email protected]> |
gnu: Adapt struct stat for gnu_file_offset_bits64
Change the __padX members in b32/mod.rs from short to uint even though they are actually unsigned short in C. Using unsigned int will give the same
gnu: Adapt struct stat for gnu_file_offset_bits64
Change the __padX members in b32/mod.rs from short to uint even though they are actually unsigned short in C. Using unsigned int will give the same alignment, and make the struct equivalent to stat64 when gnu_file_offset_bits64 is set.
(backport <https://github.com/rust-lang/libc/pull/4345>) (cherry picked from commit 5a5abc2b284829dd4dc8c901bcb702c7adcc241f)
show more ...
|
| e6202841 | 20-Mar-2025 |
Ola x Nilsson <[email protected]> |
gnu sparc: Use a separate stat struct for 32bit powerpc
Like mips and powerpc, the stat struct will become different once support for gnu_file_offset_bits64 is added.
(backport <https://github.com/
gnu sparc: Use a separate stat struct for 32bit powerpc
Like mips and powerpc, the stat struct will become different once support for gnu_file_offset_bits64 is added.
(backport <https://github.com/rust-lang/libc/pull/4345>) (cherry picked from commit e1349594daebb742b2ef3af63255eaba9699d203)
show more ...
|
| 25d4c0aa | 18-Mar-2025 |
Ola x Nilsson <[email protected]> |
gnu powerpc: Use a separate stat struct for powerpc
Like mips, the stat struct will become different once support for gnu_file_offset_bits64 is added.
(backport <https://github.com/rust-lang/libc/p
gnu powerpc: Use a separate stat struct for powerpc
Like mips, the stat struct will become different once support for gnu_file_offset_bits64 is added.
(backport <https://github.com/rust-lang/libc/pull/4345>) (cherry picked from commit 0c6d56cfe115847344d62756e5d7334740011572)
show more ...
|
| c6a40ea4 | 21-Nov-2024 |
Ola x Nilsson <[email protected]> |
gnu: Use _FILE_OFFSET_BITS=64 versions of glibc symbols
When _FILE_OFFSET_BITS=64, glibc redirects some function calls to 64 bit versions. These symbols are sometimes the public LFS variants, somet
gnu: Use _FILE_OFFSET_BITS=64 versions of glibc symbols
When _FILE_OFFSET_BITS=64, glibc redirects some function calls to 64 bit versions. These symbols are sometimes the public LFS variants, sometimes hidden variants.
(backport <https://github.com/rust-lang/libc/pull/4345>) (cherry picked from commit 2b4fafbbea40c66c8fc5c7001afb3ed2dbe141c4)
show more ...
|
| d788f3a3 | 20-Mar-2023 |
Ola x Nilsson <[email protected]> |
gnu: Update F_SETLK and F_SETLKW for gnu_file_offset_bits64
(backport <https://github.com/rust-lang/libc/pull/4345>) (cherry picked from commit 6ed2bc820c2b55ca4711672fa199c9c4f3d4400a) |
| c2501a64 | 20-Mar-2023 |
Ola x Nilsson <[email protected]> |
gnu: Update F_GETLK for gnu_file_offset_bits64
gnu_file_offset_bits64 means _FILE_OFFSET_BITS=64.
(backport <https://github.com/rust-lang/libc/pull/4345>) (cherry picked from commit 862ba8aa2f22099
gnu: Update F_GETLK for gnu_file_offset_bits64
gnu_file_offset_bits64 means _FILE_OFFSET_BITS=64.
(backport <https://github.com/rust-lang/libc/pull/4345>) (cherry picked from commit 862ba8aa2f22099b4411547ec1884232c5b02ae2)
show more ...
|
| 399f9836 | 16-Dec-2024 |
Ola x Nilsson <[email protected]> |
gnu: Handle basic file types for 32bit with _FILE_OFFSET_BITS=64
Set the basic types correctly for gnu_file_offset_bits64 (_FILE_OFFSET_BITS=64).
(backport <https://github.com/rust-lang/libc/pull/4
gnu: Handle basic file types for 32bit with _FILE_OFFSET_BITS=64
Set the basic types correctly for gnu_file_offset_bits64 (_FILE_OFFSET_BITS=64).
(backport <https://github.com/rust-lang/libc/pull/4345>) (cherry picked from commit f44fdc17f287e9a3560586dcaf2a120e8b76d32e)
show more ...
|
| 10af5a66 | 10-Mar-2025 |
Pedro Tammela <[email protected]> |
ci: s390x: fix 'cannot find libc' error
Signed-off-by: Pedro Tammela <[email protected]>
(backport <https://github.com/rust-lang/libc/pull/4317>) (cherry picked from commit 4776e0fc35d7b3389d3669
ci: s390x: fix 'cannot find libc' error
Signed-off-by: Pedro Tammela <[email protected]>
(backport <https://github.com/rust-lang/libc/pull/4317>) (cherry picked from commit 4776e0fc35d7b3389d36698158489f69379422cc)
show more ...
|
| fa16c8e3 | 06-Mar-2025 |
Koutheir Attouchi <[email protected]> |
Make msqid_ds.__msg_cbytes public.
(backport <https://github.com/rust-lang/libc/pull/4301>) (cherry picked from commit a4fd45edc8e9807fc0e7f5e5ac737e1cf3f2b7a6) |
| 903dc232 | 24-Feb-2025 |
lvllvl <[email protected]> |
chore: add labels to each FIXME
(backport <https://github.com/rust-lang/libc/pull/4231>) (cherry picked from commit 861246a7e1ae9d9ad6b8d356ebb47ab5ad1b43df) |
| d67c9945 | 17-Feb-2025 |
Ola x Nilsson <[email protected]> |
gnu b32: Remove mips cfg conditionals in struct stat
Now that mips has its own copy of struct stat, remove all the cfg conditionals used to handle the difference between mips and everything else.
F
gnu b32: Remove mips cfg conditionals in struct stat
Now that mips has its own copy of struct stat, remove all the cfg conditionals used to handle the difference between mips and everything else.
Future support for _FILE_OFFSET_BITS=64 and _TIME_BITS=64 will be much easier when the mips differences does not have to be handled in the same conditionals.
(backport <https://github.com/rust-lang/libc/pull/4276>) (cherry picked from commit a092eed1ade740da43817037ff5675b237a8606b)
show more ...
|
| 5d9a22f5 | 17-Feb-2025 |
Ola x Nilsson <[email protected]> |
gnu b32: Copy struct stat to mips and use it
Just a simple copy, no cfg conditionals have been removed. This makes it easier to review this commit.
(backport <https://github.com/rust-lang/libc/pul
gnu b32: Copy struct stat to mips and use it
Just a simple copy, no cfg conditionals have been removed. This makes it easier to review this commit.
(backport <https://github.com/rust-lang/libc/pull/4276>) (cherry picked from commit 66532982296edaf223b111d7b2859ec0bea806da)
show more ...
|
| 01499643 | 14-Feb-2025 |
David Carlier <[email protected]> |
linux: deprecate obsolete packet filter interfaces.
sockaddr_ll/AF_PACKET are in place since Linux 2.2
(backport <https://github.com/rust-lang/libc/pull/4267>) (cherry picked from commit eb78ad0090
linux: deprecate obsolete packet filter interfaces.
sockaddr_ll/AF_PACKET are in place since Linux 2.2
(backport <https://github.com/rust-lang/libc/pull/4267>) (cherry picked from commit eb78ad0090fb2d2195bd4564368468334d399dea)
show more ...
|
| 0987973a | 27-Nov-2024 |
arctic-alpaca <[email protected]> |
move AF_XDP structs and constants to linux/mod.rs
(backport <https://github.com/rust-lang/libc/pull/4163>) (cherry picked from commit 7eaea55a4571530a4ca1cc5431c95cdc9b05d38a) |
| 9385f3ac | 06-Feb-2025 |
Aphek <[email protected]> |
Add missing preludes
(backport <https://github.com/rust-lang/libc/pull/4256>) (cherry picked from commit b54607f8eb8c2f7b1351d2374bc38300472761a1) |
| e2f92909 | 04-Feb-2025 |
Aphek <[email protected]> |
Copy definitions from core::ffi and centralize them
(backport <https://github.com/rust-lang/libc/pull/4256>) (cherry picked from commit 95446f458e472511d65e560224c1b85570e50944)
[ include the neces
Copy definitions from core::ffi and centralize them
(backport <https://github.com/rust-lang/libc/pull/4256>) (cherry picked from commit 95446f458e472511d65e560224c1b85570e50944)
[ include the necessary changes for psp, which isn't part of the original commit since the target is not present on main - Trevor ]
show more ...
|
| ab5bbaef | 05-Jan-2025 |
David Carlier <[email protected]> |
linux/android proposal to deprecate kernel modules syscalls.
they were functional up 2.6.
[create_module](https://man7.org/linux/man-pages/man2/create_module.2.html) [query_module](https://man7.org
linux/android proposal to deprecate kernel modules syscalls.
they were functional up 2.6.
[create_module](https://man7.org/linux/man-pages/man2/create_module.2.html) [query_module](https://man7.org/linux/man-pages/man2/query_module.2.html) [get_kernel_syms](https://man7.org/linux/man-pages/man2/get_kernel_syms.2.html)
(backport <https://github.com/rust-lang/libc/pull/4228>) (cherry picked from commit e84fc948d7f1f7f1a5f6c9631379f5febc2e37e3)
show more ...
|
| 4f1c07bc | 05-Jan-2025 |
lvllvl <[email protected]> |
Chore: add labels to each FIXME
(backport <https://github.com/rust-lang/libc/pull/4229>) (cherry picked from commit 6b8535b3703e8ccc3d044095de38fa222c5a083f) |
| 8448147a | 18-Dec-2024 |
Taiki Endo <[email protected]> |
Define c_char at top-level and remove per-target c_char definitions
(backport <https://github.com/rust-lang/libc/pull/4202>) (cherry picked from commit 0a02b941cf105dc4d4c5b5bd1ddc7bb546ad89c9) |
| 1e2da75b | 08-Dec-2024 |
David Carlier <[email protected]> |
adding POSIX memccpy and mempcpy GNU extension.
[memccpy](https://pubs.opengroup.org/onlinepubs/9699919799/functions/memccpy.html)
[mempcpy](https://man7.org/linux/man-pages/man3/mempcpy.3.html)
(
adding POSIX memccpy and mempcpy GNU extension.
[memccpy](https://pubs.opengroup.org/onlinepubs/9699919799/functions/memccpy.html)
[mempcpy](https://man7.org/linux/man-pages/man3/mempcpy.3.html)
(backport <https://github.com/rust-lang/libc/pull/4186>) (cherry picked from commit ba5930dbc20dba0dbb3d39496313f6be4468cf01)
show more ...
|
| 7457aa18 | 07-Dec-2024 |
Juan Aguilar Santillana <[email protected]> |
fix: make Debug impl for unions opaque
(backport <https://github.com/rust-lang/libc/pull/4176>) (cherry picked from commit 6faa521f32fc11db9fc43a248a64463ce288b48d)
[ resolve conflicts and update b
fix: make Debug impl for unions opaque
(backport <https://github.com/rust-lang/libc/pull/4176>) (cherry picked from commit 6faa521f32fc11db9fc43a248a64463ce288b48d)
[ resolve conflicts and update based on some main vs. 0.2 differences - Trevor ]
show more ...
|
| 8592ff94 | 08-Dec-2024 |
Jukka Taimisto <[email protected]> |
Lift IFA_* constants from linux/gnu to linux
(backport <https://github.com/rust-lang/libc/pull/4185>) (cherry picked from commit 70c1e823ef4faf5a77202bb01698da2a2b1c216a) |