[skip ci]kernel: Migrating KPM to ioctl

This commit is contained in:
ShirkNeko
2025-11-04 00:09:42 +08:00
parent 7103779a11
commit d286f49e11
5 changed files with 51 additions and 35 deletions

View File

@@ -5,6 +5,10 @@
#include <linux/ioctl.h>
#include "ksu.h"
#ifdef CONFIG_KPM
#include "kpm/kpm.h"
#endif
// Magic numbers for reboot hook to install fd
#define KSU_INSTALL_MAGIC1 0xDEADBEEF
#define KSU_INSTALL_MAGIC2 0xCAFEBABE