Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions kernel/compat/kdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ int ksu_commit_creds(struct cred *cred)

void kdp_jb_init(void)
{
return; /* LOCAL PATCH: disable Samsung KDP hooks on SM-A065F */
prepare_ro_creds_fn = (prepare_ro_creds_t)ksu_resolve_symbol_for_functable_hook("prepare_ro_creds");
kdp_assign_pgd_fn = (kdp_assign_pgd_t)ksu_resolve_symbol_for_functable_hook("kdp_assign_pgd");
if (!prepare_ro_creds_fn || !kdp_assign_pgd_fn)
Expand Down
1 change: 1 addition & 0 deletions kernel/compat/rkp.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ DEFINE_STATIC_KEY_FALSE(ksu_rkp_key);

void rkp_jb_init(void)
{
return; /* LOCAL PATCH: disable Samsung RKP hooks on SM-A065F */
if (find_kernel_symbol_exact("rkp_started")) {
static_branch_enable(&ksu_rkp_key);
pr_info("Samsung RKP detected\n");
Expand Down