Commit Graph

1581 Commits

Author SHA1 Message Date
Wildan M 598d34d8a0 Fix open permission and add umask test 2026-04-30 16:08:05 +07:00
Jeremy Soller 861bbb024a Merge branch 'split-sigset-t' into 'master'
split out sigset_t from signal header

See merge request redox-os/relibc!1242
2026-04-29 06:51:47 -06:00
Jeremy Soller 7747064459 Merge branch 'sys-utsname-tar' into 'master'
disambiguate include guards and export C strings

See merge request redox-os/relibc!1241
2026-04-29 06:51:06 -06:00
Jeremy Soller ad36f13c9a Merge branch 'mesa-strings' into 'master'
import strings header in string for mesa

See merge request redox-os/relibc!1240
2026-04-29 06:50:45 -06:00
Jeremy Soller 250d42880f Merge branch 'sys-stat-statvfs' into 'master'
disambiguate include guards for sys_stat and sys_statvfs

See merge request redox-os/relibc!1239
2026-04-29 06:46:41 -06:00
Jeremy Soller bb496ce10a Merge branch 'unistd-trailer' into 'master'
change unistd cbindgen trailer to after_includes

See merge request redox-os/relibc!1238
2026-04-29 06:40:59 -06:00
auronandace 6a490be2c6 split out sigset_t from signal header 2026-04-29 12:29:43 +01:00
auronandace 323061f51c disambiguate include guards and export C strings 2026-04-29 10:36:13 +01:00
auronandace 4dfbb97a69 import strings header in string for mesa 2026-04-29 09:57:11 +01:00
auronandace d86583c1f5 disambiguate include guards for sys_stat and sys_statvfs 2026-04-29 09:01:50 +01:00
auronandace 88ac8e3f30 change unistd cbindgen trailer to after_includes 2026-04-29 08:30:55 +01:00
auronandace 798d929254 remove unused C header 2026-04-29 08:09:37 +01:00
bjorn3 79b469f29d Remove support for _init and _fini in statically linked executables
These are legacy predecessors of .init_array/.fini_array. They were
already not supported by the dynamic linker.
2026-04-28 17:59:45 +02:00
Jeremy Soller 6c2edd8efd Merge branch 'verify-sysmman-includes' into 'master'
verify sys_mman header includes

See merge request redox-os/relibc!1234
2026-04-27 12:27:28 -06:00
auronandace 31052b5ef5 verify sys_mman header includes 2026-04-27 16:06:17 +01:00
auronandace df5deb2b59 use uint32_t for n_net in netent 2026-04-27 15:09:53 +01:00
Jeremy Soller a6df5229f4 Merge branch 'sysuio-include-guard' into 'master'
disambiguate sys_uio include guard

See merge request redox-os/relibc!1232
2026-04-27 06:56:05 -06:00
Jeremy Soller 0de8734ff4 Merge branch 'verify-string-includes' into 'master'
verify string header includes

See merge request redox-os/relibc!1231
2026-04-27 06:56:02 -06:00
Jeremy Soller 9cfa1e50eb Merge branch 'sysresource-trailer' into 'master'
change trailer to after_includes for sys_resource

See merge request redox-os/relibc!1230
2026-04-27 06:55:57 -06:00
Jeremy Soller 97cdf7da2e Merge branch 'netinetin-trailer' into 'master'
add include guard to cbindgen trailer for netinet_in

See merge request redox-os/relibc!1229
2026-04-27 06:55:33 -06:00
Jeremy Soller 4f4e535e18 Merge branch 'netdb-trailer' into 'master'
add include guard to netdb cbindgen trailer

See merge request redox-os/relibc!1228
2026-04-27 06:55:16 -06:00
auronandace bed9717f6a disambiguate sys_uio include guard 2026-04-27 12:21:32 +01:00
auronandace b50262b76a verify string header includes 2026-04-27 11:20:59 +01:00
auronandace fad0f5b751 change trailer to after_includes for sys_resource 2026-04-27 10:40:49 +01:00
auronandace 522d88a587 add include guard to cbindgen trailer for netinet_in 2026-04-27 09:15:17 +01:00
auronandace 1544554ceb add include guard to netdb cbindgen trailer 2026-04-27 08:51:26 +01:00
auronandace 16e85bab8b move some constants from cbindgen to Rust in dirent 2026-04-27 08:06:45 +01:00
auronandace 8dc8c05e4d fix sys_wait trailer and include guard 2026-04-25 08:39:53 +01:00
auronandace e5451510fc fix libiconv compilation 2026-04-24 12:06:43 +01:00
Jeremy Soller 4ec5b2c37b Merge branch 'systypes-internals' into 'master'
move internal types from C to rust

See merge request redox-os/relibc!1221
2026-04-23 09:10:51 -06:00
auronandace e15e7cafdb cargo fmt 2026-04-23 11:21:45 +01:00
auronandace e7f311c2c4 move internal types from C to rust 2026-04-23 11:18:14 +01:00
sourceturner 110646a9da rename bitset type to FdBitSet 2026-04-22 21:58:02 +02:00
Jeremy Soller 084d69af14 Merge branch 'verify-strings-includes' into 'master'
verify strings header includes

See merge request redox-os/relibc!1218
2026-04-22 06:36:07 -06:00
Jeremy Soller 02a494268b Merge branch 'inttypes-bits' into 'master'
move inttypes bits to cbindgen

See merge request redox-os/relibc!1216
2026-04-22 06:35:36 -06:00
Jeremy Soller ea0db54ae5 Merge branch 'sysmman-fix' into 'master'
correct placement of MAP_FAILED

See merge request redox-os/relibc!1219
2026-04-22 06:34:34 -06:00
auronandace 312ce6200f correct placement of MAP_FAILED 2026-04-22 13:12:46 +01:00
auronandace 5596471e9d remove duplicate typedef, silence cbindgen warning 2026-04-22 12:33:07 +01:00
auronandace bf7e77b836 verify strings header includes 2026-04-22 11:40:16 +01:00
auronandace bbb3e08647 add include guards for stdio bits in cbindgen 2026-04-22 09:56:16 +01:00
auronandace f7ab0e579f move inttypes bits to cbindgen 2026-04-22 08:08:24 +01:00
Connor-GH c170acaaba Remove some unused imports that caused CI to fail 2026-04-21 13:36:29 -05:00
Connor-GH 960c4f3b12 move *at functions from fcntl.h to unistd.h 2026-04-21 10:02:13 -05:00
Jeremy Soller 30cc2de953 Merge branch 'faccessat-fchownat' into 'master'
add faccessat(2) and fchownat(2)

See merge request redox-os/relibc!1213
2026-04-20 16:33:30 -06:00
Connor-GH 24e250c339 add faccessat(2) and fchownat(2)
Additionally, we were using the `access` syscall for x86_64 for our
linux PAL. I looked at the linux source and found that using the
`access`
syscall is equivalent to using `faccessat` as we do now: https://elixir.bootlin.com/linux/v6.17.5/source/fs/open.c#L550

Also, some of the `fcntl.h` functions were accidentally implemented and exported from `unistd.h`. They are supposed to be implemented in `fcntl.h` and exported to `unistd.h`. This is now the behavior.
2026-04-20 17:20:18 -05:00
sourceturner 138520d1c5 replace deprecated useconds_t type 2026-04-20 21:37:52 +00:00
sourceturner 1f584a3943 replace deprecated NaiveDateTime::from_timestamp 2026-04-20 21:37:52 +00:00
sourceturner 292fd9e50b replace deprecated memalign() with posix_memalign() 2026-04-20 21:37:52 +00:00
sourceturner 4ffd337b9b add #[allow(deprecated)] annotations
allow using deprecated functions and data structures
in deprecated functions
2026-04-20 21:37:52 +00:00
sourceturner 885118ccac add missing #[deprecated] annotations
add #[deprecated] annotation to functions that are marked
as 'legacy' or 'obsolecent' (according to their comments)
2026-04-20 21:37:52 +00:00