Skip to content

Commit

Permalink
Close certain files temporarily before forking
Browse files Browse the repository at this point in the history
This is to work around a new security feature introduced by Google in
the November 16 patches. It would abort the runtime if files are open
that are not whitelisted. To avoid this, we close the files ourselves
and reopen them after Zygote has forked. The mechanism is the same that
Google has introduced, with a few modifications to fit Xposed's needs.

This requires also a change on the Java side.

Fixes rovo89/XposedBridge#129.
  • Loading branch information
rovo89 committed Nov 24, 2016
1 parent c851ed9 commit b3ba245
Show file tree
Hide file tree
Showing 4 changed files with 436 additions and 7 deletions.
Loading

0 comments on commit b3ba245

Please sign in to comment.