Fix lld link ksu_current_uid problem

This commit is contained in:
ShirkNeko
2025-08-16 14:34:51 +08:00
parent ff6a68221f
commit 351dc15d08
3 changed files with 3 additions and 0 deletions

View File

@@ -48,6 +48,7 @@
#include "throne_tracker.h"
#include "kernel_compat.h"
#include "kpm/kpm.h"
#include "include/ksu_creds.h"
static bool ksu_module_mounted = false;

View File

@@ -3,6 +3,7 @@
#include <linux/cred.h>
#include <linux/types.h>
#include "include/ksu_creds.h"
#define KSU_INVALID_UID -1

View File

@@ -21,6 +21,7 @@
#include "klog.h" // IWYU pragma: keep
#include "ksud.h"
#include "kernel_compat.h"
#include "include/ksu_creds.h"
#define SU_PATH "/system/bin/su"
#define SH_PATH "/system/bin/sh"