50b731f1b7
Derivative of Redox OS (https://www.redox-os.org) adding: - AMD GPU driver (amdgpu) via LinuxKPI compat layer - ext4 filesystem support (ext4d scheme daemon) - ACPI fixes for AMD bare metal (x2APIC, DMAR, IVRS, MCFG) - Custom branding (hostname, os-release, boot identity) Build system is full upstream Redox with RBOS overlay in local/. Patches for kernel, base, and relibc are symlinked from local/patches/ and protected from make clean/distclean. Custom recipes live in local/recipes/ with symlinks into the recipes/ search path. Build: make all CONFIG_NAME=redbear-full Sync: ./local/scripts/sync-upstream.sh
13 lines
540 B
Diff
13 lines
540 B
Diff
diff --color -ruwN source/src/fdevent.c source-new/src/fdevent.c
|
|
--- source/src/fdevent.c 2025-09-13 02:08:20.000000000 +0700
|
|
+++ source-new/src/fdevent.c 2026-03-14 14:16:21.543520177 +0700
|
|
@@ -321,7 +321,7 @@
|
|
int fd;
|
|
socklen_t len = (socklen_t) *addrlen;
|
|
|
|
- #if defined(SOCK_CLOEXEC) && defined(SOCK_NONBLOCK)
|
|
+ #if defined(SOCK_CLOEXEC) && defined(SOCK_NONBLOCK) && !defined(__redox__)
|
|
#if defined(__NetBSD__)
|
|
const int sock_cloexec = 1;
|
|
fd = paccept(listenfd, addr, &len, NULL, SOCK_CLOEXEC | SOCK_NONBLOCK);
|