mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 21:06:09 +00:00
Run x86_64 Flatpak apps through FEX (#1875)
* Run x86_64 Flatpak apps through FEX * proot: run an execveat with an absolute path like execve * Find x86_64 Flatpak installs and resolve sandbox paths like the sandbox does
This commit is contained in:
1 parent
8088e47d14
commit
28067b3bbe
45 files changed
+494
-61
No files matched your search
@@ -127,6 +127,11 @@ Prototype (inert unless `PROOT_FASTPATH` is set; see `docs/development/proot-per
|
||||
IDs wrap (32768 on many Android kernels) a new child can get that ID, and PRoot aborted on the
|
||||
assertion that a new child has no state, ending the whole session. Chromium-based programs such as
|
||||
Steam's client do this. PRoot now retires the stale entry and sets the new child up from scratch.
|
||||
- `0024-execveat-absolute-path.patch` - `execveat` with an absolute path and neither `AT_EMPTY_PATH`
|
||||
nor `AT_SYMLINK_NOFOLLOW` runs as `execve`. The kernel ignores the directory descriptor for such a
|
||||
path, and PRoot refused the call unless the descriptor was `AT_FDCWD`. FEX starts every child of an
|
||||
emulated program with `execveat(fd, "/proc/self/exe")`, so x86 programs in a Flatpak sandbox, which
|
||||
does not carry the session's preloads, could not start other programs.
|
||||
|
||||
Old kernel fixes:
|
||||
|
||||
|
||||
Reference in new issue
Block a user