Jeremy Soller
e6f163823c
WIP: platform abstraction layer
2018-08-24 20:13:07 -06:00
jD91mZM2
128209788c
Finish up fexec migration
2018-08-13 14:46:59 +02:00
jD91mZM2
66d7aa8553
Revert 'Fix off by one error' because it introduces one
...
Turns out, it's just redox not having a NULL pointer here. Linux does.
2018-08-13 11:37:29 +02:00
jD91mZM2
1c4e8852dd
Migrate to new FEXEC system call
2018-08-12 20:35:45 +02:00
jD91mZM2
face6f07f3
Implement mmap
2018-08-09 10:54:44 +02:00
jD91mZM2
deee825a1c
Implement llabs
2018-08-08 16:25:10 +02:00
jD91mZM2
b26213731c
Don't forget to lock stdout when printfing
2018-08-08 13:25:26 +02:00
jD91mZM2
40a7380a58
Fix snprintf and make strftime use a counting writer
2018-08-07 21:31:05 +02:00
jD91mZM2
d39a66c351
Fix waitpid -1 on redox
2018-08-07 15:01:07 +02:00
jD91mZM2
b5adee798d
Move scanf unit tests to normal C tests
2018-08-05 09:53:07 +02:00
jD91mZM2
442a7bbedc
Fix getcwd with a NULL argument
2018-08-04 08:42:47 +02:00
jD91mZM2
ba8bd8c4e8
Add the last few things for bash to compile :D
2018-08-03 11:18:52 +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
daf65c7a46
Implement access
2018-07-30 21:08:44 +02:00
jD91mZM2
2a303c4b60
Implement sys/file.h
2018-07-30 10:04:58 +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
bc7f7356b9
Fix redox futimens fd type
2018-07-29 07:22:41 -06: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
4a42983d13
Make sigset_t be a long because bash needs that to compile
2018-07-28 17:18:53 +02:00
jD91mZM2
892ce75eb4
sigemptyset and sigaddset
2018-07-28 14:10:57 +02:00
jD91mZM2
3c88056f9d
Implement getrusage on linux
2018-07-27 19:54:30 +02:00
jD91mZM2
f6b364845e
Implement pwd.h
2018-07-27 15:15:56 +02:00
jD91mZM2
1b40f2d463
Implement setitimer/getitimer/alarm/ualarm
2018-07-27 08:22:17 +02:00
jD91mZM2
8b48b6959c
fixup! Implement isatty
2018-07-26 14:32:10 +02:00
jD91mZM2
2bf426b0fb
Implement isatty
2018-07-26 14:19:20 +02:00
jD91mZM2
7ff6940edd
Implement futimens
2018-07-26 13:26:54 +02:00
jD91mZM2
a0f2baff12
Implement gettimeofday
2018-07-26 10:07:33 +02:00
jD91mZM2
83949290c9
Implement dirent.h
2018-07-26 09:16:22 +02:00
jD91mZM2
dec5e0a019
Add missing sockaddr_in to platform/src/types.rs
2018-07-25 14:39:28 +02:00
jD91mZM2
992e50ef0f
Fix a few things with openssl
2018-07-25 14:04:36 +02:00
jD91mZM2
dc427272af
fixup! Fix stat stack corruption and link test
2018-07-23 21:21:15 +02:00
jD91mZM2
5697ac0f84
Fix stat stack corruption and link test
2018-07-23 11:26:18 +02:00
jD91mZM2
ecd8aca6d6
Basic signal support
2018-07-22 17:04:13 +02:00
jD91mZM2
233e679c08
Make inner platform functions private once more
2018-07-18 10:04:17 +02:00
jD91mZM2
ff9ef98f47
Move gethostname to platform
2018-07-18 10:02:42 +02:00
Jeremy Soller
37b6cd942c
Fix pipe
2018-07-14 12:29:18 -06:00
jD91mZM2
019011f029
WIP env support
2018-07-14 18:03:22 +02:00
Jeremy Soller
4c4ce80fcd
Fix warnings
2018-07-13 09:52:53 -06:00
jD91mZM2
5f4ebaaabf
Fix broken ralloc submodule & fmt.sh
2018-07-11 17:13:38 +02:00
jD91mZM2
55e618d8c0
Add the last socket functions on linux; leave unimplemented on redox
2018-07-11 12:49:50 +02:00
jD91mZM2
6d923cbd0b
Implement getpeername and getsockname
2018-07-11 11:43:38 +02:00
jD91mZM2
30d91b82b2
Run fmt.sh
2018-07-08 08:51:15 +02:00
jD91mZM2
d3f6985ee9
Add a few things necessary for openssl (not all)
2018-07-08 08:44:23 +02:00
Jeremy Soller
919ae09d2f
Fix compilation on Redox
2018-07-04 10:16:34 -06:00
Jeremy Soller
3361b05911
Merge branch 'master' of https://gitlab.redox-os.org/redox-os/relibc
2018-07-04 10:12:32 -06:00
Jeremy Soller
ea5f8d59de
Add dlmalloc
2018-07-04 10:10:34 -06:00
jD91mZM2
e206400d19
Move exec* back to platform
...
This undos a workaround. Jeremy moved the ralloc stuff to platform and suddenly this seems to work again. I don't know what is different from when I tried this before and now, but I don't really care
2018-07-04 09:29:34 +02:00
Jeremy Soller
42abc98a99
Cleanup allocation functions
2018-07-03 19:40:47 -06:00
Jeremy Soller
b6b34a7026
Ralloc fixes and fixes for Redox execution
2018-07-03 19:07:07 -06:00