* Now Official KernelSU devpts compat is questionable Squashed commits:4893fad235e7c3d4a6a64bb2dae3f5Signed-off-by: Faris <rissu.ntk@gmail.com> Co-authored-by: 5ec1cff <56485584+5ec1cff@users.noreply.github.com> Co-authored-by: weishu <twsxtd@gmail.com> Co-authored-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
21 lines
342 B
C
21 lines
342 B
C
#ifndef __KSU_H_KSUD
|
|
#define __KSU_H_KSUD
|
|
|
|
#include <linux/types.h>
|
|
|
|
#define KSUD_PATH "/data/adb/ksud"
|
|
|
|
void ksu_ksud_init();
|
|
void ksu_ksud_exit();
|
|
|
|
void on_post_fs_data(void);
|
|
|
|
bool ksu_is_safe_mode(void);
|
|
|
|
extern u32 ksu_file_sid;
|
|
|
|
extern bool ksu_execveat_hook __read_mostly;
|
|
extern int ksu_handle_pre_ksud(const char *filename);
|
|
|
|
#endif
|