Commit Graph

17 Commits

Author SHA1 Message Date
snake-4
c0246483b0 Fixed companion FD for child zygotes 2024-04-17 00:27:40 +02:00
snake-4
e22e81d792 Updated AGP to 8.3.2...
and misc changes.
2024-04-16 23:16:21 +02:00
snake-4
5e8a2c4631 Added setresuid hook for older Android versions 2024-04-16 22:43:03 +02:00
snake-4
a7701e8b11 Updated logs and remount logic 2024-04-16 21:08:45 +02:00
snake-4
f200aa4561 Added root companion and logging macros 2024-04-16 21:08:10 +02:00
snake-4
2962997439 Moved unmount to unshare hook
This might break older Android versions. Not sure.
2024-04-16 21:07:47 +02:00
snake-4
6a61f6a4b6 Renamed some functions 2024-04-14 18:37:38 +02:00
snake-4
6e333581fb Added remount function and changed bind mount...
prefix.
2024-04-14 16:23:38 +02:00
snake-4
ac910f0ebe Unhook unshare at postAppSpecialize 2024-04-14 16:21:52 +02:00
snake-4
c797376230 Update main.cpp 2024-04-10 00:52:12 +02:00
snake-4
6f4d78b0fc Added maps parser and fixed child zygote namespaces 2024-04-09 22:35:40 +02:00
snake-4
58782b21f8 unshare on parent Zygote only
Calling unshare on child Zygotes crash at a sanity check but they end up inheriting the namespace either way.

closes #1
2024-03-26 18:26:24 +01:00
snake-4
72afc9e4fc dlclose on servers processes too 2024-03-26 18:24:20 +01:00
snake-4
916558491a Moved headers to includes, various changes...
+ Added better UID checks.
+ Added MS_SLAVE root mount in the new mount namespace.
2024-03-26 15:37:07 +01:00
snake-4
c1070182a2 Added usermode unmounter and mounts parser
+ Added a mounts parser implementation using mntent API.
+ Added logging functions.
+ Added usermode unmounter which calls unshare pre app-specialization.
* Updated module.prop.
2024-03-25 21:36:47 +01:00
snake-4
5f30e2bb3e Update main.cpp 2024-03-25 05:12:16 +01:00
snake-4
f7d067546d Rewrote the build system and module...
+ Added more architectures to compile.
- Removed all scripts from the module, now it is compatible with all root implementations.
- Removed unused code and variables.
- Removed most references to the module name.
* Compilation is now parallelized.
2024-03-25 00:19:26 +01:00