Jeremy Soller
24c4c10f52
Update libc
2023-05-11 12:09:08 -06:00
4lDO2
e75381fd1a
Patch libc via git recipe rather than local.
2023-05-06 17:02:54 +02:00
4lDO2
bd6cc20a75
Make pthread types opaque, and check against libc.
2023-05-06 17:02:51 +02:00
4lDO2
b9f19f4326
Get pcid to work using this pthread impl.
2023-05-06 17:02:51 +02:00
Jeremy Soller
e7b70fdb93
Ensure assert_fail and abort have noreturn attribute
2023-03-10 11:23:56 -07:00
Jeremy Soller
f65c1c27c7
Implement wcwidth
2022-11-10 10:12:41 -07:00
4lDO2
f438a4259a
Use redox_syscall 0.3 from crates.io
2022-07-27 17:38:12 +02:00
4lDO2
1476cdeb8f
Split fexec_impl into crate, used by escalated.
2022-07-26 21:34:46 +02:00
4lDO2
bb45466a4e
Implement clone in userspace.
2022-07-26 21:34:11 +02:00
4lDO2
2186cd1fbd
Implement fexec in userspace.
2022-07-26 21:32:56 +02:00
Jeremy Soller
559387cc64
Initial support for x86 32-bit
2022-07-22 16:24:45 -06:00
4lDO2
fb411c0b19
Use redox_syscall 0.2.12 from crates.io, not git
2022-03-24 17:12:05 +01:00
4lDO2
ebd597f748
Update dependencies for rust 2022-03-18.
2022-03-24 17:12:02 +01:00
4lDO2
ac860b6c94
Use redox_syscall 0.2.10.
2021-08-06 15:23:24 +02: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
22b1cb957f
Update redox_syscall
2021-04-28 20:08:02 -06:00
Jeremy Soller
7fd366be70
Convert test runner to rust
2021-03-01 21:19:04 -07:00
Jeremy Soller
e24d27a0b3
Use UTF-8 for redox paths
2021-02-14 14:06:52 -07:00
Jeremy Soller
04fd4520d3
Update to redox_syscall 0.2.3
2021-01-11 06:47:23 -07:00
Jeremy Soller
c58e9d9589
Update redox_syscall
2021-01-10 10:53:29 -07:00
jD91mZM2
e33aea434f
Use renamed fmap call
2020-08-17 13:57: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
jD91mZM2
7d4d73dd83
Update redox_syscall
2020-07-30 15:58:21 +02:00
jD91mZM2
4c148c1860
Make munmap use funmap2
2020-07-30 13:39:20 +02:00
4lDO2
285a7c62d4
Use mmap2 version of redox_syscall.
2020-07-25 22:30:38 +02:00
Graham MacDonald
2253ef609e
Remove vendored cbindgen, use cbindgen dependency to generate includes in build.rs
2020-04-10 23:05:58 +00:00
jD91mZM2
a7b354c8e0
Update to latest syscall after merging ptrace
2019-08-04 19:46:10 +02:00
jD91mZM2
a1e45941bf
Fix ptrace after latest kernel changes
2019-08-04 19:05:45 +02: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
72c2f59f17
Update redox_syscall to use bitflags
2019-08-04 19:05:45 +02:00
jD91mZM2
f389010fff
Initial ptrace compatibility for Redox OS
2019-08-04 19:05:45 +02:00
jD91mZM2
cb63dec86f
Add missing SIG_DFL and SIG_IGN constants
2019-07-25 17:34:59 +02:00
Mateusz Mikuła
87bcc943e2
Update memoffset to fix soundness issues
2019-07-12 19:43:09 +02:00
Mateusz Mikuła
63a1319e50
Cbindgen update
2019-07-10 10:08:39 +00: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
2b56f2882b
Add libc.so, remove compiler_builtins
2019-04-11 21:00:39 -06:00
Jeremy Soller
42d40da973
Map stacks based on provided size.
2019-03-31 15:04:37 -06:00
Jeremy Soller
c59f268fcd
Implement getaddrinfo (somewhat)
2019-01-21 20:36:56 -07:00
Jeremy Soller
0f50a40b3f
Update redox_syscall
2019-01-20 19:38:38 -07:00
Jeremy Soller
aa3c7da128
Switch to using syscall-instruction
2019-01-20 09:46:21 -07:00
Jeremy Soller
0c5abf0361
Combine all libraries into libc.a, call pthread_init and pthread_terminate in libc
2019-01-07 19:11:30 -07:00
Jeremy Soller
34edeaf066
Update dependencies
2018-11-26 15:48:40 -07:00
Jeremy Soller
ee2a7685e6
Revert "Update compiler_builtins and redox_syscall"
...
This reverts commit d6a5b39505 .
2018-11-26 15:45:35 -07:00
Jeremy Soller
d6a5b39505
Update compiler_builtins and redox_syscall
2018-11-26 15:43:24 -07:00
Jeremy Soller
861602bbcc
Add umask
2018-11-16 19:49:47 -07:00
Jeremy Soller
39b999ccea
Update to new rust-toolchain
2018-11-07 20:25:21 -07:00