| LOW | uapi/ksu.h | 1 | #ifndef __KSU_UAPI_KSU_H |
| LOW | .cargo/config.example.toml | 1 | # This file contains required configuration to correctly build ksud across platforms. |
| LOW | .cargo/config.example.toml | 21 | # BINDGEN_EXTRA_CLANG_ARGS_x86_64_linux_android=--sysroot=ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/darwin-x86_64/sysroo |
| LOW | manager/app/src/main/cpp/logging.h | 1 | #pragma once |
| LOW | manager/app/src/main/cpp/logging.h | 21 | #define LOGE(...) __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__) |
| LOW | userspace/ksud/src/boot_patch.rs | 401 | /// LKM module path to replace, if not specified, will use the builtin one |
| LOW | userspace/ksud/src/boot_patch.rs | 421 | /// even if --flash is specified. |
| LOW | userspace/ksud/src/boot_patch.rs | 441 | /// written to the output directory even if --flash is specified. |
| LOW | userspace/ksud/src/boot_patch.rs | 761 | result |
| LOW | userspace/ksud/src/ksu_uapi.h | 1 | #include "uapi/ksu.h" |
| LOW | kernel/infra/seccomp_cache.c | 1 | #include <linux/version.h> |
| LOW | kernel/infra/file_wrapper.c | 1 | #include <linux/gfp.h> |
| LOW | kernel/infra/event_queue.c | 1 | #include <linux/ktime.h> |
| LOW | kernel/infra/su_mount_ns.c | 1 | #include <linux/dcache.h> |
| LOW | kernel/infra/event_queue.h | 1 | #ifndef KSU_EVENT_QUEUE_H |
| LOW | kernel/infra/symbol_resolver.c | 1 | #include <linux/kallsyms.h> |
| LOW | kernel/infra/symbol_resolver.c | 21 | // https://github.com/torvalds/linux/commit/d721def7392a7348ffb9f3583b264239cbd3702c |
| LOW | kernel/core/init.c | 1 | #include <linux/export.h> |
| LOW | kernel/core/init.c | 21 | #include "supercall/supercall.h" |
| LOW | kernel/include/klog.h | 1 | #ifndef __KSU_H_KLOG |
| LOW | kernel/include/arch.h | 1 | #ifndef __KSU_H_ARCH |
| LOW | kernel/include/arch.h | 21 | |
| LOW | kernel/include/arch.h | 41 | #define __PT_RC_REG ax |
| LOW | kernel/include/arch.h | 61 | #define PT_REGS_PARM3(x) (__PT_REGS_CAST(x)->__PT_PARM3_REG) |
| LOW | kernel/runtime/boot_event.c | 1 | #include "feature/selinux_hide.h" |
| LOW | kernel/runtime/ksud_integration.c | 1 | #include "feature/selinux_hide.h" |
| LOW | kernel/runtime/ksud_integration.c | 21 | #include <linux/stat.h> |
| LOW | kernel/manager/pkg_observer.c | 1 | // SPDX-License-Identifier: GPL-2.0 |
| LOW | kernel/manager/throne_tracker.c | 1 | #include <linux/err.h> |
| LOW | kernel/manager/apk_sign.c | 1 | #include <linux/err.h> |
| LOW | kernel/supercall/supercall.c | 1 | #include <linux/anon_inodes.h> |
| LOW | kernel/supercall/dispatch.c | 1 | #include <linux/capability.h> |
| LOW | kernel/sulog/fd.c | 1 | #include <linux/anon_inodes.h> |
| LOW | kernel/sulog/event.c | 1 | #include <asm/current.h> |
| LOW | kernel/feature/kernel_umount.c | 1 | #include <linux/sched.h> |
| LOW | kernel/feature/sucompat.c | 1 | #include <linux/compiler_types.h> |
| LOW | kernel/feature/adb_root.c | 1 | |
| LOW | kernel/feature/selinux_hide.c | 1 | #include "selinux_hide.h" |
| LOW | kernel/selinux/rules.c | 1 | #include "linux/rcupdate.h" |
| LOW | kernel/selinux/sepolicy.c | 1 | #include "ss/avtab.h" |
| LOW | kernel/selinux/sepolicy.c | 61 | // rules |
| LOW | kernel/selinux/selinux.h | 1 | #ifndef __KSU_H_SELINUX |
| LOW | kernel/hook/tp_marker.c | 1 | #include "hook/tp_marker.h" |
| LOW | kernel/hook/patch_memory.h | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| LOW | kernel/hook/patch_memory.h | 21 | #include "asm/text-patching.h" // IWYU pragma: keep |
| LOW | kernel/hook/lsm_hook.c | 1 | #include <linux/compiler.h> |
| LOW | kernel/hook/syscall_hook_manager.c | 1 | #include "linux/printk.h" |
| LOW | kernel/hook/setuid_hook.c | 1 | #include <linux/compiler.h> |
| LOW | kernel/hook/syscall_event_bridge.c | 1 | #include "linux/compiler.h" |
| LOW | kernel/hook/lsm_hook.h | 41 | // This API implements runtime patching of existing LSM hook slots. It is a |
| LOW | kernel/hook/lsm_hook.h | 61 | // If hook->target_name is NULL, the target symbol defaults to "bpf_lsm_<hook>". |
| LOW | kernel/hook/syscall_hook.h | 1 | #ifndef __KSU_H_KSU_SYSCALL_HOOK |
| LOW | kernel/hook/syscall_hook.h | 21 | // Register a handler into the dispatcher's routing table for syscall @nr. |
| LOW | kernel/hook/arm64/syscall_hook.c | 1 | #ifdef __aarch64__ |
| LOW | kernel/hook/arm64/patch_memory.c | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| LOW | kernel/hook/arm64/patch_memory.c | 101 | #define ksu_flush_dcache(start, sz) __flush_dcache_area((void *)start, sz) |
| LOW | kernel/hook/x86_64/syscall_hook.c | 1 | #ifdef __x86_64__ |
| LOW | kernel/hook/x86_64/patch_memory.c | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| LOW | kernel/policy/allowlist.h | 1 | #ifndef __KSU_H_ALLOWLIST |
| LOW | kernel/policy/app_profile.c | 1 | #include <linux/capability.h> |
| 2 more matches not shown… |