Red Bear OS relibc baseline

From release 0.1.0 pre-patched archive.
This includes all Red Bear modifications previously maintained
as patches in local/patches/relibc/.
This commit is contained in:
Red Bear OS
2026-06-27 09:19:26 +03:00
commit 1b3e94a20d
2014 changed files with 155365 additions and 0 deletions
@@ -0,0 +1,5 @@
# mem #
Correct memchr
Correct memrchr
Correct memccpy
Correct memcmp
@@ -0,0 +1,2 @@
hello world
hello world
@@ -0,0 +1,4 @@
ello
ld
(nil)
@@ -0,0 +1,7 @@
strcpy works!
strncpy works!
strncpy shaaaaaaaaa
strlcpy works!
copied 14
strlcpy works! and strlcat!
copied 27
@@ -0,0 +1,2 @@
2
6
@@ -0,0 +1,9 @@
12
0
12
12
0
12
6
12
0
@@ -0,0 +1,6 @@
-97
-195
1
-255
-2
0
@@ -0,0 +1,3 @@
The quick drawn fix jumps over the lazy bug
lazy bug
NULL
@@ -0,0 +1 @@
strrch PASS
@@ -0,0 +1 @@
# strsignal #
@@ -0,0 +1,3 @@
5
1
0
@@ -0,0 +1,5 @@
rust
libc we trust
(null)
(null)
RUST
@@ -0,0 +1 @@
I'd_just_like_to_interject_for_a_moment._What_you're_referring_to_as_Linux,_is_in_fact,_GNU/Linux,_or_as_I've_recently_taken_to_calling_it,_GNU_plus_Linux.
@@ -0,0 +1 @@
I'd_just_like_to_interject_for_a_moment._What_you're_referring_to_as_Linux,_is_in_fact,_GNU/Linux,_or_as_I've_recently_taken_to_calling_it,_GNU_plus_Linux.