Merge main into feat/viture-xr

This commit is contained in:
maxjivi05 committed 2026-10-13 23:35:29 -04:00
commit 697c75337f
903 files changed
+70115 -47401

No files matched your search

+10 -2
View File
@@ -78,9 +78,17 @@ Added by DroidDeck:
exit.c act on (`TCSETSF`, the four termios2 requests, `FICLONE`) and allows the rest at once, and
the ioctl block is emitted first (after WinNative 53836ca9, which traces only the termios2 ones).
The `faccessat2` exit stop (termux 5ba8b95, for glibc's ENOSYS fallback on kernels before 5.8) and
the `statx` one (emulation on kernels before 4.11) are dropped when the running kernel is newer.
the `statx` one (emulation on kernels before 4.11) are dropped on kernels 5.8 and newer; patch
`0015` keeps it on 4.11–5.7 to return the mount ID added in 5.8.
Host build: `ioctl` 31.6 -> 0.5 us; `stat`/`statx`/`faccessat2` about 44 -> 28 us (one stop).
- `0015-robust-list-from-seccomp.patch` - Android's app policy refuses `set_robust_list` and
- `0015-statx-mnt-id-fdinfo.patch` - kernels before 5.8 can complete `statx` without the mount ID
that libglnx requires while chasing an open descriptor. PRoot keeps the exit stop on those
kernels and fills only a missing ordinary `STATX_MNT_ID` for `AT_EMPTY_PATH` after pinning the
tracee descriptor, matching its device and inode to the successful statx result, and reading
`mnt_id` from the pin's fdinfo. A later close/reuse of the tracee fd cannot redirect that read;
a concurrent reuse for the same inode through a different bind mount is indistinguishable at
the exit stop. It does not synthesize `STATX_MNT_ID_UNIQUE`.
- `0016-robust-list-from-seccomp.patch` - Android's app policy refuses `set_robust_list` and
`get_robust_list`. proot still answers the first with `ENOSYS` but keeps the head each thread
offered (cleared on `execve`, none in a new task), and answers the second for the calling thread
with it. SteamVR's `vrclient.so` asks for the head through libc's `syscall()`, which