Jeremy Soller
a88ec09131
Prevent override of panic from relibc
2019-03-27 20:56:23 -06:00
Mateusz Mikuła
e01d1ce11b
Fix usleep
2019-03-25 13:36:48 +01:00
Jeremy Soller
cdbeda1ca0
Merge branch 'patch-2' into 'master'
...
Fix conditional compilation of sys/mman.h
See merge request redox-os/relibc!201
2019-03-05 02:08:01 +00:00
Robin Randhawa
f9f752d74c
aarch64-prep: Dummy auxv.h
...
For AArch64, the ring crate depends on the presence of this header and a definition
of getauxval.
2019-03-03 21:49:52 +00:00
Robin Randhawa
17bed54103
aarch64: Fix incorrect init/fini stack manipulation
...
The pre-index operator ('!') was missing at the end of the stp
instruction.
As a result, the stack pointer wasn't updated after the
store of the 64-bit pair and the stored values were basically lost when
follow on code used the stack for later store ops.
2019-03-03 21:49:46 +00:00
Angelo Bulfone
31fc29e70c
Fix conditional compilation of sys/mman.h
2019-03-03 21:14:45 +00:00
lmiskiew
5eb2a8f7bd
Implement swab
2019-02-28 08:23:11 +00:00
jD91mZM2
30a0f70d73
Merge branch 'wcsrchr' into 'master'
...
implements wcsrchr from wchar.h
See merge request redox-os/relibc!197
2019-02-28 08:21:55 +00:00
jD91mZM2
fe905ed13c
Merge branch 'calloc_overflow_check' into 'master'
...
add calloc integer overflow check
See merge request redox-os/relibc!188
2019-02-28 08:20:11 +00:00
emturner
4ed6dca61d
implements wcsrchr from wchar.h
2019-02-25 22:53:11 +00:00
Jeremy Soller
f3ba7e8d8e
Merge branch 'wcscspn' into 'master'
...
Implements wcscspn function from wchar.h
See merge request redox-os/relibc!196
2019-02-23 00:33:11 +00:00
emturner
ec3488c7b0
implements wcscspn from wchar.h
2019-02-22 23:18:21 +00:00
Jeremy Soller
74d0b24939
Merge branch 'master' of https://gitlab.redox-os.org/redox-os/relibc
2019-02-21 19:43:07 -07:00
Jeremy Soller
5690c6dcdf
Add trace for select and poll
2019-02-21 19:42:58 -07:00
Tibor Nagy
27a3f2ab77
unistd: Generate correct C defines for PATH_SEPARATOR
2019-02-20 22:11:25 +01:00
Tibor Nagy
d38a1d0da3
ctype: Implement _tolower, _toupper
2019-02-20 11:49:06 +01:00
Jeremy Soller
73c368ddab
Use correct open flags
2019-02-19 19:29:19 -07:00
Tibor Nagy
5fac72298f
ctype: Fix iscntrl, isgraph, ispunct, make tests exhaustive
...
iscntrl: Didn't handle the EOF macro correctly
isgraph: Didn't handle '~' (tilde) correctly
ispunct: Several issues
2019-02-19 19:53:54 +01:00
Jeremy Soller
38da5552e8
getaddrinfo: support for setting port from service argument (numeric only)
2019-02-02 14:20:26 -07:00
Peter Limkilde Svendsen
c54db6f008
Add integer overflow check to calloc
2019-02-02 15:52:39 +01:00
Jeremy Soller
d2502056a8
Cleanup termios and ioctls and add tcflush
2019-01-27 19:19:50 -07:00
Jeremy Soller
602f015e93
Implement fpathconf and pathconf
2019-01-27 18:53:57 -07:00
Jeremy Soller
0dd801da03
Implement ttyname by adding fpath function to Sys. Remove realpath function and use fpath internally
2019-01-27 17:10:55 -07:00
Jeremy Soller
42f212e678
Verify current system before continuing.
2019-01-27 15:53:09 -07:00
Jeremy Soller
47235d44e7
Fix change of sockaddr member sa_data on Redox
2019-01-21 20:38:31 -07:00
Jeremy Soller
c59f268fcd
Implement getaddrinfo (somewhat)
2019-01-21 20:36:56 -07:00
Jeremy Soller
f25c494a73
Show hint information
2019-01-20 20:12:58 -07:00
Jeremy Soller
eaa031c21c
Fix ioctl on redox
2019-01-18 15:39:49 -07:00
Jeremy Soller
a88933386b
Implement termios functions using ioctl
2019-01-17 20:46:12 -07:00
Jeremy Soller
047deceed0
Move hostent functions to separate file
2019-01-17 20:45:25 -07:00
Jeremy Soller
d0261ebb35
Move db to crate root
2019-01-17 19:56:51 -07:00
Jeremy Soller
09340bd0f2
Add setpgrp
2019-01-15 21:14:55 -07:00
Jeremy Soller
22ca2e5f7b
Export group struct
2019-01-15 21:08:08 -07:00
Jeremy Soller
1a0d363caa
Redox support for some minimal ioctl's
2019-01-15 20:50:17 -07:00
Jeremy Soller
74dd5091f3
Add empty netinet_ip
2019-01-15 20:49:35 -07:00
Jeremy Soller
c71088e768
Cleanup and format
2019-01-14 21:07:24 -07:00
Jeremy Soller
8dabff129a
Begin work on getnameinfo
2019-01-14 19:26:35 -07:00
Jeremy Soller
c57ac53d28
Reduce warnings
2019-01-14 19:26:18 -07:00
Jeremy Soller
2e260a6b29
Add _SC_PAGE_SIZE, use sysconf to provide getpagesize
2019-01-13 19:48:06 -07:00
Jeremy Soller
594e53c6f1
addrinfo stub
2019-01-13 14:37:20 -07:00
Jeremy Soller
87f2ab95bb
Fix redox compilation
2019-01-13 14:36:35 -07:00
Jeremy Soller
8e9d65cb46
Add support for pthreads to Linux
2019-01-13 14:17:29 -07:00
Jeremy Soller
52669688bf
Fix issue of strcasecmp not showing up
2019-01-13 14:17:05 -07:00
Jeremy Soller
434cad49ce
Add sysconf
2019-01-13 14:16:51 -07:00
Jeremy Soller
5b969f2bae
Add pthread_sigmask
2019-01-13 10:56:09 -07:00
Jeremy Soller
89fca557f3
Remove old pthread module
2019-01-13 10:56:00 -07:00
Jeremy Soller
6c0c6dd71b
Fix missing negative flags in netdb.h, add NI_MAXHOST and NI_MAXSERV
2019-01-13 10:34:17 -07:00
Jeremy Soller
018ff409f1
Add gai_strerror
2019-01-13 10:24:30 -07:00
Jeremy Soller
543f32eb50
Add nameinfo defines
2019-01-13 10:24:17 -07:00
Jeremy Soller
97312c9ae2
Fix addrinfo structure
2019-01-13 10:13:25 -07:00