-
Notifications
You must be signed in to change notification settings - Fork 354
add: GrapheneOS 17 Zygote function signatures #378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -243,6 +243,17 @@ def init_args(self): | |
| se_info, nice_name, is_child_zygote, instruction_set, app_data_dir, is_top_app, pkg_data_info_list, | ||
| whitelisted_data_info_list, mount_data_dirs, mount_storage_dirs, mount_sysprop_overrides, Anon(jlongArray)]) | ||
|
|
||
| # GrapheneOS Android 17 Support | ||
| fas_grapheneos_c = ForkAndSpec('grapheneos_c', [Anon(jlongArray), uid, gid, gids, runtime_flags, | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I know you followed the pattern 2x And I should have fixed it, but do move this fas to the tons of fas before this to make it consistent. I'll fix the inconsistency of GOS soon, after this PR being merged.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I could move the GOS inconsistency for you in one PR. Do you want them to be grouped to?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure, in another PR |
||
| rlimits, mount_external, se_info, nice_name, fds_to_close, fds_to_ignore, is_child_zygote, | ||
| instruction_set, app_data_dir, is_top_app, Anon(jboolean), pkg_data_info_list, | ||
| whitelisted_data_info_list, mount_data_dirs, mount_storage_dirs, mount_sysprop_overrides]) | ||
|
|
||
| spec_grapheneos_c = SpecApp('grapheneos_c', [Anon(jlongArray), uid, gid, gids, runtime_flags, | ||
| rlimits, mount_external, se_info, nice_name, is_child_zygote, instruction_set, app_data_dir, | ||
| is_top_app, pkg_data_info_list, whitelisted_data_info_list, mount_data_dirs, | ||
| mount_storage_dirs, mount_sysprop_overrides]) | ||
|
|
||
| hook_map = {} | ||
|
|
||
| def gen_jni_def(clz, methods): | ||
|
|
@@ -286,10 +297,10 @@ def gen_jni_def(clz, methods): | |
|
|
||
| zygote = 'com/android/internal/os/Zygote' | ||
|
|
||
| methods = [fas_l, fas_o, fas_p, fas_q_alt, fas_r, fas_u, fas_c, fas_samsung_m, fas_samsung_n, fas_samsung_o, fas_samsung_p, fas_samsung_b, fas_grapheneos_u] | ||
| methods = [fas_l, fas_o, fas_p, fas_q_alt, fas_r, fas_u, fas_c, fas_samsung_m, fas_samsung_n, fas_samsung_o, fas_samsung_p, fas_samsung_b, fas_grapheneos_u, fas_grapheneos_c] | ||
| f.write(gen_jni_def(zygote, methods)) | ||
|
|
||
| methods = [spec_q, spec_q_alt, spec_r, spec_u, spec_c, spec_samsung_q, spec_grapheneos_u] | ||
| methods = [spec_q, spec_q_alt, spec_r, spec_u, spec_c, spec_samsung_q, spec_grapheneos_u, spec_grapheneos_c] | ||
| f.write(gen_jni_def(zygote, methods)) | ||
|
|
||
| methods = [server_l, server_samsung_q] | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.