Red Bear OS
f704b67f25
build(relibc): remove check_against_libc_crate from default features; fix cond import
...
The libc crate's pthread type layouts do not match Redox's relibc
layouts (e.g. pthread_cond_t 8 vs 12 bytes). Redox is its own libc,
so comparing against a foreign Linux libc crate is not meaningful.
Disable the feature by default and keep relibc types internally
consistent via assert_equal_size! checks against our own Rlct* types.
2026-07-08 20:03:25 +03:00
vasilito
4ef7e57571
0.3.0: converge relibc to upstream 0.6.0 + Red Bear patches
2026-07-06 19:13:57 +03: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
jD91mZM2
edb95246d4
Fix bug in strncasecmp
2018-10-13 16:55:21 +02:00
jD91mZM2
1acc2a1a32
Initial regex.h implementation
2018-10-05 18:07:43 +02:00
Jeremy Soller
ef9fee5a2b
Prepare for use of Write trait by renaming Write to WriteByte
2018-09-24 20:31:06 -06:00
Jeremy Soller
9eef8d7e2d
Add core_io
2018-09-24 20:19:37 -06:00
jD91mZM2
d659377b24
VERY basic crti/crtn
2018-09-23 21:30:13 +02:00
jD91mZM2
1e9dbfdf62
Use cbitset crate
2018-09-22 17:26:58 +02:00
Jeremy Soller
c2f4c1dbc9
Add trace macro and feature
2018-09-17 21:29:40 -06:00
Jeremy Soller
c20ce5ffed
Large reorganization of headers (WIP)
2018-08-26 08:11:35 -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
jD91mZM2
f82b48b839
Implement sys/times.h on linux
2018-07-29 09:23:56 +02:00
jD91mZM2
e7e9d57db5
Implement a dummy sgtty
2018-07-29 07:55:19 +02:00
jD91mZM2
f6b364845e
Implement pwd.h
2018-07-27 15:15:56 +02:00
jD91mZM2
2bf426b0fb
Implement isatty
2018-07-26 14:19:20 +02:00
jD91mZM2
83949290c9
Implement dirent.h
2018-07-26 09:16:22 +02:00
jD91mZM2
992e50ef0f
Fix a few things with openssl
2018-07-25 14:04:36 +02:00
Paul Sajna
0550a7b9db
implement arpainet
2018-07-19 16:02:51 +00:00