Commit Graph

2459 Commits

Author SHA1 Message Date
Anhad Singh d1c031f1b5 feat(redox): F_{OFD}_{GETLK,SETLK}
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-25 01:43:45 +11:00
Anhad Singh 73ef851d59 feat(redox): F_OFD_SETLK
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-24 22:36:19 +11:00
Anhad Singh aa317238f1 feat(redox/fcntl): F_SETLK
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-23 23:55:11 +11:00
auronandace 4ecce16dc4 langinfo and libgen cleanup 2026-02-22 22:18:03 +00:00
auronandace 533cdd8c39 netdb header cleanup 2026-02-22 18:48:17 +00:00
auronandace ec100d5af8 dirent and fnmatch cleanup 2026-02-22 14:14:58 +00:00
auronandace dc4542e81c allocator and linux signal cleanup in platform 2026-02-22 08:43:20 +00:00
auronandace 768e28cb4e stdio and c_vec cleanup 2026-02-20 14:10:34 +00:00
Jeremy Soller dbe7fb0b18 Merge branch 'bitstime-crypt-ctype-cleanup' into 'master'
cleanup bits_time, crypt and ctype headers

See merge request redox-os/relibc!1025
2026-02-20 05:50:58 -07:00
Jeremy Soller 0bac773992 Merge branch 'precedence' into 'master'
apply precedence clippy lint

See merge request redox-os/relibc!1024
2026-02-20 05:49:54 -07:00
Jeremy Soller dcaeb8c63a Merge branch 'wchar-cleanup' into 'master'
wchar cleanup

See merge request redox-os/relibc!1023
2026-02-20 05:49:16 -07:00
auronandace cfb16cd888 cleanup bits_time, crypt and ctype headers 2026-02-20 12:06:16 +00:00
auronandace 47b23ae546 apply precedence clippy lint 2026-02-20 11:27:43 +00:00
auronandace c8a1bff78a wchar cleanup 2026-02-20 09:51:15 +00:00
Anhad Singh 1c5668acd4 feat(dso): do not zero memory
The region is mapped with the `MAP_ANONYMOUS` and thus already
initialised with zeros.

According to POSIX Issue 8:

> Anonymous memory objects shall be initialized to all bits zero.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-20 16:30:49 +11:00
auronandace 874e11b147 grp and inttypes cleanup 2026-02-19 15:51:33 +00:00
Jeremy Soller 976ed3c276 Merge branch 'locale-cleanup' into 'master'
clean up some as casts in locale

See merge request redox-os/relibc!1020
2026-02-19 08:18:23 -07:00
auronandace c8747c97c3 clean up some as casts in locale 2026-02-19 14:45:18 +00:00
Jeremy Soller 940352affe Merge branch 'master' into 'master'
Revert "fix(ld.so): temporary rollback"

See merge request redox-os/relibc!1019
2026-02-19 07:22:35 -07:00
Jeremy Soller 28ffabebf6 Merge branch 'remove-redox-platform-clone' into 'master'
remove unneeded file

See merge request redox-os/relibc!1018
2026-02-19 06:36:59 -07:00
Jeremy Soller ee6a6062cd Merge branch 'glob-cleanup' into 'master'
casting and clarity cleanups in glob

See merge request redox-os/relibc!1017
2026-02-19 06:35:11 -07:00
auronandace c8d9b4deca remove unused import 2026-02-19 12:51:12 +00:00
auronandace 2d647590a7 remove reference to clone 2026-02-19 12:20:54 +00:00
auronandace dcca06f80e add imports 2026-02-19 12:09:46 +00:00
auronandace 406b889c1f remove unneeded file 2026-02-19 11:55:31 +00:00
auronandace 723586e754 casting and clarity cleanups in glob 2026-02-19 11:05:30 +00:00
auronandace 92503ed298 missed redox specific fix 2026-02-19 09:56:13 +00:00
auronandace 4b3d1aa5ca change sa_flags in sigaction to int to match spec 2026-02-19 09:46:56 +00:00
auronandace 0f1124ae25 cleanup getopt casting 2026-02-18 09:26:39 +00:00
Anhad Singh 5568bb5a8a Revert "fix(ld.so): temporary rollback"
This reverts commit 5cf865189d.
2026-02-18 10:57:08 +11:00
auronandace 5d753b7f48 refactor some as casts in arpa_inet 2026-02-17 17:35:13 +00:00
Jeremy Soller 6c6232ad70 Merge branch 'correct-unused-imports' into 'master'
remove allowed unused imports

See merge request redox-os/relibc!1012
2026-02-17 09:42:44 -07:00
Jeremy Soller 35d25cafa9 Merge branch 'master' into 'master'
fix(ld.so): temporary rollback

See merge request redox-os/relibc!1013
2026-02-17 09:42:33 -07:00
Anhad Singh 5cf865189d fix(ld.so): temporary rollback
See the "Redox OS/Support" channel. This commit temporarily fixes the
issue by rolling back the changes to preload the executable.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-18 02:36:03 +11:00
auronandace 53273c35c4 remove allowed unused imports 2026-02-17 15:35:58 +00:00
auronandace 8a656d7727 avoid unneeded transmute on aarch64 and riscv 2026-02-17 14:35:08 +00:00
auronandace 5cd6b99588 tackle a few lint instances 2026-02-17 13:00:52 +00:00
auronandace 58120ee007 add sys_types to time bits include for time_t 2026-02-16 17:50:59 +00:00
Jeremy Soller df3229958e Merge branch 'ld_preload_program' into 'master'
feat(ld.so): position independent

See merge request redox-os/relibc!1007
2026-02-16 07:00:08 -07:00
Anhad Singh e3abf808f3 misc(ld.so): remove no_mangle for stage2
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-17 00:47:36 +11:00
Anhad Singh d234e81fc9 fix(ld.so): debug build
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-17 00:15:10 +11:00
Anhad Singh f5ebd7882d misc(ld.so): minor cleanup
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-16 22:51:14 +11:00
Anhad Singh 0c3f88f462 misc(ld.so): fix logging
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-16 22:46:45 +11:00
Anhad Singh 371540d2ae fix(ld.so/i586): build
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-16 17:04:01 +11:00
Anhad Singh 0430081f4a feat(redox-rt): preload the executable
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-16 12:29:19 +11:00
auronandace 0027ba8068 revert a cast 2026-02-15 21:57:16 +00:00
auronandace 20bdf30526 remove allow warnings and add some lints 2026-02-15 21:38:08 +00:00
Anhad Singh 8cb41ed4e2 feat(ld.so): shared library
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-15 19:14:07 +11:00
Anhad Singh f9487321c0 fix(ld.so): base_addr
Not guaranteed that the program headers immediately follow the ELF
header.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2026-02-15 15:47:02 +11:00
auronandace 6ed46304c0 add annotation to redox function as exception 2026-02-14 16:57:53 +00:00