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
Jeremy Soller
277b9abcd5
Fix build, mostly
2018-08-26 08:56:02 -06:00
Jeremy Soller
c20ce5ffed
Large reorganization of headers (WIP)
2018-08-26 08:11:35 -06:00
Jeremy Soller
729709a8e6
Update all modules to new Pal mechanism
2018-08-25 08:42:57 -06:00
jD91mZM2
b20307dca0
Implement fnmatch.h
2018-08-05 19:50:49 +02:00
jD91mZM2
44599a032e
Kind of get bash to compile
...
Doesn't link yet due to "multiple definitions of malloc", because some are supplied by some library of bash itself. Really odd.
2018-08-02 14:37:57 +02:00
jD91mZM2
d3e4fa71a5
Implement sys/select.h
...
I really really wish I could actually test this on redox. All I know is: it compiles
2018-07-29 17:26:54 +02:00
Jeremy Soller
a9fcb973f6
Implement utimes and utime
...
Format
2018-07-29 07:18:44 -06:00