kernel: Add header guard and support Official KernelSU fd wrapper
* Based on unmerged pull-request https://github.com/tiann/KernelSU/pull/ 2285 Co-authored-by: Ylarod <me@ylarod.cn> Signed-off-by: Faris <rissu.ntk@gmail.com>
This commit is contained in:
@@ -124,6 +124,7 @@ struct ksu_get_wrapper_fd_cmd {
|
||||
#define KSU_IOCTL_SET_APP_PROFILE _IOC(_IOC_WRITE, 'K', 12, 0)
|
||||
#define KSU_IOCTL_GET_FEATURE _IOC(_IOC_READ|_IOC_WRITE, 'K', 13, 0)
|
||||
#define KSU_IOCTL_SET_FEATURE _IOC(_IOC_WRITE, 'K', 14, 0)
|
||||
#define KSU_IOCTL_PROXY_FILE _IOC(_IOC_NONE, 'K', 15, 0)
|
||||
#define KSU_IOCTL_GET_WRAPPER_FD _IOC(_IOC_NONE, 'K', 10000, 0)
|
||||
// Other IOCTL command definitions
|
||||
#define KSU_IOCTL_GET_FULL_VERSION _IOC(_IOC_READ, 'K', 100, 0)
|
||||
|
||||
Reference in New Issue
Block a user