Peter Limkilde Svendsen
06fec0b843
Add various basic docstrings
2024-10-27 23:25:57 +01:00
4lDO2
313b32c815
Switch almost all of Pal to Rusty error handling.
2024-09-27 10:19:44 +02:00
Peter Limkilde Svendsen
0a23acd401
Implement iterators on pointers
2024-09-22 23:42:28 +00:00
4lDO2
c0e7af5289
Backwards-compatibly rewrite getdents to use special syscall.
2024-09-11 23:32:19 +02:00
4lDO2
4bd0d2a1ef
Move pthread::Errno to separate module.
2024-09-11 23:22:29 +02:00
4lDO2
5177ca3926
Remove memoffset dependency.
2024-07-09 15:00:52 +02:00
Jeremy Soller
73952b69ed
Update to new nightly
2024-05-11 14:00:59 -06:00
4lDO2
5630b6e0df
Make relibc (except libm) pure Rust
2024-01-11 13:08:06 +00:00
Arthur Paulino
d4eddbf42e
Refactor: inline core_io
...
* Extract the minimal set of definitions from `core_io` to `relibc` itself
* Remove dependency on `core_io`
2023-12-24 17:06:27 -03:00
4lDO2
75d1c67ca2
Switch to a lightweight CStr wrapper
2023-11-04 18:29:38 +00:00
Jacob Schneider
2f887ae434
Groups
2023-08-21 12:05:16 +00:00
4lDO2
4169e99aa5
Stop requiring #![feature(atomic_mut_ptr)].
2023-05-07 19:20:20 +02:00
4lDO2
558d43082c
WIP: Expand native pthreads implementation.
2023-05-06 17:02:50 +02:00
Jeremy Soller
0bd476d28a
Update to new Rust toolchain
2023-02-11 13:45:07 -07:00
4lDO2
bb45466a4e
Implement clone in userspace.
2022-07-26 21:34:11 +02:00
4lDO2
ebd597f748
Update dependencies for rust 2022-03-18.
2022-03-24 17:12:02 +01:00
4lDO2
a388b1ae4d
Initialize TLS manually on Redox too.
2021-08-05 11:49:40 +02:00
4lDO2
d69c115421
Compile on latest nightly.
...
This also replaces all the assembly that previously used the AT&T style
with the (in my opinion) superior Intel syntax.
I tried prepending `.att_syntax prefix`, but that did not work...
2021-06-17 22:31:39 +02:00
Jeremy Soller
f2c2d7c52e
Fix compilation on newer nightly, update nightly to 2020-08-01
2020-08-02 12:24:49 -06:00
oddcoder
9a1efda121
Initial allocator structure
2020-07-18 20:54:30 +02:00
Jeremy Soller
e3ce41da79
Fix compilation on newer nightly
2019-11-29 18:05:31 -07:00
jD91mZM2
4f2a93ea90
Vast refactor of pwd.h, add getpwent/setpwent/endpwent
2019-08-12 09:58:11 +02:00
Jeremy Soller
8feed5bbd5
Update Rust to 2019-08-08
2019-08-07 20:48:29 -06:00
jD91mZM2
c7d499d4f2
Upgrade to the 2018 edition
...
I didn't think it'd be this useful first, but thank god for `cargo fix --edition`!
2019-08-04 19:05:45 +02:00
jD91mZM2
35c1d5210c
Implement the Once<T> synchronization structure
...
Not sure if I should add a RwLock for the ptrace state too...
2019-08-04 19:05:44 +02:00
jD91mZM2
e559a3e2e5
Stub for ptrace
...
It's happening...
2019-08-04 19:05:44 +02:00
jD91mZM2
a2c8cfb4a5
Implement CVec, an abstraction to return vectors from Rust
2019-07-18 06:40:23 +02:00
Mateusz Mikuła
7597c082e7
Fix Clippy warnings
2019-05-11 22:34:13 +02:00
jD91mZM2
3a3fd3da39
Use the memchr crate
...
https://github.com/BurntSushi/rust-memchr is supposed to be a whole
lot faster :)
2019-04-21 19:09:37 +02:00
Dan Robertson
fa94f1b6d5
Use core::ffi::VaList
2019-04-21 17:46:22 +02:00
Jeremy Soller
361f32b63c
ld_so: significant refactor to prepare for pthread_create support of TLS
2019-04-14 13:17:07 -06:00
Jeremy Soller
084b69b361
Add ld_so executable
2019-04-13 12:17:38 -06:00
Jeremy Soller
42d40da973
Map stacks based on provided size.
2019-03-31 15:04:37 -06:00
Jeremy Soller
bee72373be
Fix panic not producing output
2019-03-27 21:28:39 -06:00
Jeremy Soller
d0261ebb35
Move db to crate root
2019-01-17 19:56:51 -07:00
Jeremy Soller
c71088e768
Cleanup and format
2019-01-14 21:07:24 -07:00
Jeremy Soller
c41c20a943
Allow for static CStr
2019-01-06 14:40:01 -07:00
Jeremy Soller
52fd4d7e83
Clippy fixes
2018-12-02 08:04:53 -07:00
Jeremy Soller
869eb160bd
Add poll
2018-11-25 13:04:38 -07:00
Jeremy Soller
9b0c74b935
Fix ioctl being defined on redox, add cxa_atexit for gcc
2018-11-18 10:35:33 -07:00
Jeremy Soller
ebffc977b2
Reduce warnings
2018-11-10 07:52:45 -07:00
Jeremy Soller
39b999ccea
Update to new rust-toolchain
2018-11-07 20:25:21 -07:00
jD91mZM2
75c5c04bee
Implement a proper mutex type for future usage
2018-10-15 15:24:14 +02:00
jD91mZM2
1acc2a1a32
Initial regex.h implementation
2018-10-05 18:07:43 +02:00
Jeremy Soller
aff35892be
Add fs module
2018-09-24 21:40:40 -06:00
Jeremy Soller
9eef8d7e2d
Add core_io
2018-09-24 20:19:37 -06:00
jD91mZM2
1e9dbfdf62
Use cbitset crate
2018-09-22 17:26:58 +02:00
Jeremy Soller
8f5470fd27
Reduce warnings
2018-08-27 07:12:24 -06:00
Jeremy Soller
7ab700315d
Fix warnings and add c_str
2018-08-26 15:15:29 -06:00
Jeremy Soller
ed00ddfb54
Fix remaining issues, move setjmp into relibc crate, move start logic into relibc
2018-08-26 12:28:27 -06:00