Commit Graph
781 Commits
Author SHA1 Message Date
Kurt Himebauch da30812c31 fix(native): shmat fails when it cannot take the segment lock 2026-11-09 17:06:56 -05:00
Kurt Himebauch fabd20b019 fix(native): SysV attaches and collection take a lock, a failed mark fails the attach, and collection closes its directory 2026-11-09 17:02:50 -05:00
Kurt Himebauch 0e56b54a69 feat(native): run native sessions under a device's own app seccomp filter for testing 2026-11-09 16:57:09 -05:00
Kurt Himebauch 049da87a67 fix(native): a program's own seccomp traps reach its own SIGSYS handler 2026-11-09 16:57:08 -05:00
Kurt Himebauch ae0ab9eabe fix(native): DNS lookups ask the network's own servers before public ones 2026-11-09 16:09:58 -05:00
Kurt Himebauch 211d886a15 fix(native): a SysV segment stays while any process has it attached 2026-11-09 16:09:58 -05:00
Kurt Himebauch d18fe5c755 fix(native): the library path given to ld.so holds whole directories only 2026-11-09 15:38:03 -05:00
Kurt Himebauch f69e47a3a1 fix(native): gethostbyname asks the network's DNS servers, nftw of / gives single slashes, and the library path fits mapped directories 2026-11-09 15:20:58 -05:00
Kurt Himebauch d9c694858c fix(native): remove, glob and nftw take guest paths, and links in a mount are followed as the guest sees them 2026-11-09 14:57:50 -05:00
Kurt Himebauch 8b90d3f9e0 fix(native): the hook finds libraries, preloads and itself through a sandbox's mounts, and ldconfig -C makes its cache 2026-11-09 14:14:47 -05:00
Kurt Himebauch f88d6a8f26 fix(native): gethostbyname no longer answers failed lookups with Ubuntu and Debian addresses 2026-11-09 13:51:13 -05:00
Kurt Himebauch 54acba5f94 fix(native): seccomp-sim -a rejects empty fields 2026-11-09 13:51:13 -05:00
Kurt Himebauch 9003ed14c0 fix(components): an origin APK without a newer preload output still proves the rest 2026-11-09 13:51:13 -05:00
Kurt Himebauch 0c5219b225 feat(native): guests see the session hostname from uname and gethostname 2026-11-09 13:36:38 -05:00
Kurt Himebauch bde8c9fbed fix(native): __getcwd_chk checks its buffer, and seccomp-sim -a takes only call numbers 2026-11-09 13:23:11 -05:00
Kurt Himebauch 107cefbf46 fix(native): a spawn whose dup2 source close-from closed fails with EBADF 2026-11-09 13:23:10 -05:00
Kurt Himebauch 436e99e02b fix(native): the resolver fallback has the network's IPv6 servers, and lookups keep the fallback's validation errors 2026-11-09 13:23:09 -05:00
Kurt Himebauch 5a626cd27a fix(ctl): native rejects --env without = and timeouts outside 0-600 s 2026-11-09 13:15:54 -05:00
Kurt Himebauch 93393485b9 fix(native): any number of session mounts, and openat2 relative to a mounted folder 2026-11-09 13:15:54 -05:00
Kurt Himebauch 73ac363b08 fix(ci): a preload lock older than a new output rebuilds that group, and generated headers are not hashed 2026-11-09 13:07:46 -05:00
Kurt Himebauch e8e7bc961e fix(native): res_init and res_ninit call glibc, so Steam's store resolves names 2026-11-09 12:58:50 -05:00
Kurt Himebauch ab4eb2a48e fix(native): pre-2.33 glibc stat calls present owners as root too 2026-11-09 12:52:24 -05:00
Kurt Himebauch 507ccc6655 merge main into feat/native-userland-no-proot 2026-11-09 12:39:42 -05:00
Kurt Himebauch 941cfe9c44 fix(ctl): the broadcast fallback only stands in for a missing content command 2026-11-09 12:26:37 -05:00
Kurt Himebauch 05f50c3232 fix(native): seccomp-sim's filter holds every allowed call 2026-11-09 12:26:37 -05:00
Kurt Himebauch d05f895ccf build(native): the hook is built with its Go support and tracked by the preload recipe 2026-11-09 12:26:36 -05:00
Kurt Himebauch 092661b69c fix(native): service names resolve and the DNS fallback answers what was asked 2026-11-09 12:26:36 -05:00
Kurt Himebauch c8757e7a94 fix(native): close-from in spawned programs covers what is open at the spawn 2026-11-09 12:26:36 -05:00
Kurt Himebauch d6363d3b48 fix(native): at-calls, uid lookups and relative programs follow the session's mounts 2026-11-09 12:26:36 -05:00
Kurt Himebauch 9c2fa6bf19 fix(native): games on the SD card library start in their own folder 2026-11-09 11:20:39 -05:00
Kurt Himebauch cb7cfd516e fix(native): scripts on session mounts outside the rootfs run with the rootfs shell 2026-11-09 09:06:11 -05:00
Kurt Himebauch ea51a373d7 fix(native): D-Bus logins work and Xwayland still admits root once peers read as root 2026-11-09 09:06:11 -05:00
MaxsTechReview 96a12465e0 fix(session): stop re-compressing game memory every 30 s when the game reads it straight back (#2312)
* fix(session): stop re-compressing game memory every 30 s when the game reads it straight back

On devices with 13 GB or less, the low-memory page-out skipped its
read-back backoff whenever memory was nearly exhausted. When the game
was actively using what was compressed, it read it straight back, so
the session pushed and re-read gigabytes every 30 seconds, pinning all
cores and freezing the game for 5-10 s each time. The read-back check
now applies on that path too: an effective page-out still repeats every
30 s, an ineffective one backs off as on the normal path.

* zRAM: keep the read-back backoff on the nearly-out-of-memory path

* zRAM: retry a skipped page-out after 30 s when nearly out of memory
2026-11-09 02:08:40 -05:00
Kurt Himebauch 88d6b70881 fix(ctl): reach the agent bridge by broadcast when the shell has no content command (#2321) 2026-11-09 00:00:20 -05:00
Kurt Himebauch c0bcebc919 fix(native): write the hook's NUL character literals as escapes 2026-11-08 23:38:55 -05:00
Kurt Himebauch c50d424e92 fix(native): controllers reach Steam and the install-script evaluator no longer blocks game moves 2026-11-08 23:37:57 -05:00
MaxsTechReview 29823bb1bf fix(steam): Linux-only tools keep their native platform (#2313)
* fix(steam): reconcile tool dependencies by supported platform

* fix(steam): refresh tool metadata and clear stale GE mappings

* fix(steam): clear any Proton mapping from Linux-only tools

* fix(steam): watch folders the client creates after the helper starts

* Watch each missing directory level as it appears

* Make the watcher level test wait on inotify readiness
2026-11-08 22:22:22 -05:00
Kurt Himebauch b835ecbe28 fix(native): nested syscall() redirects no longer loop with libblsession's openat2 2026-11-08 21:36:10 -05:00
Kurt Himebauch 1355cb3a2b fix(ci): handle empty commit lookup responses 2026-11-08 21:13:53 -05:00
Kurt Himebauch 51407155fc fix(ci): keep commit lookup failures from blocking notices 2026-11-08 21:12:58 -05:00
Kurt Himebauch b4a953c659 fix(ci): post new Discord notice for each PR build 2026-11-08 21:08:22 -05:00
MaxsTechReview 6b110581ac fix(gog): install scripts' support files reach the prefix (#2294)
* fix(gog): install scripts' support files reach the prefix

A goggame-<id>.script can copy files into the prefix with supportData
actions: default INI files, Plugins.txt and other settings that mods such
as one-click editions need. Only setRegistry actions were applied, so
those games started without their configuration and ran as the base game.

droiddeck-store-launch now applies supportData after the registry, once
per script revision: copies from {app} and {supportDir} into {userdocs}
and {localappdata}, matching paths without regard to case. Links are
copied as links, paths outside those folders are refused, and existing
files are replaced only when the action asks for it.

* Keep GOG support data copies inside the game and prefix folders

* Copy linked GOG support sources as links and keep a player's own links
2026-11-08 18:45:53 -05:00
MaxsTechReview 92742f37c1 fix(preload): answer netlink requests sent with write and writev (#2304) 2026-11-08 18:40:57 -05:00
Kurt Himebauch 7fa7e7f05d docs(native): how to test under Android's seccomp filter 2026-11-08 16:53:38 -05:00
Kurt Himebauch a7c10e3f51 fix(session): give Steam a session bus so launches stop hanging at the install script (#2303) 2026-11-08 16:53:01 -05:00
Kurt Himebauch 70adc2d0f6 fix(native): survive Android's seccomp filter in ld.so, libc and posix_spawn children 2026-11-08 16:46:33 -05:00
Kurt Himebauch 74f7bfd99f fix(ctl): use the broadcast fallback only when content is missing 2026-11-08 15:30:20 -05:00
Kurt Himebauch 933047e130 fix(native): address review findings in the hook and the ctl fallback 2026-11-08 15:10:43 -05:00
Kurt Himebauch e930a4997c fix(ci): run the native hook build through bash 2026-11-08 15:05:09 -05:00
Kurt Himebauch ea9e38f6bb fix(native): keep the visible name of link2symlink binaries 2026-11-08 15:02:56 -05:00