* 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>
18 lines
483 B
C
18 lines
483 B
C
#ifndef __KSU_H_SUCOMPAT
|
|
#define __KSU_H_SUCOMPAT
|
|
#include <linux/sched.h>
|
|
#include <linux/version.h>
|
|
|
|
void ksu_sucompat_init(void);
|
|
void ksu_sucompat_exit(void);
|
|
|
|
void ksu_sucompat_enable(void);
|
|
void ksu_sucompat_disable(void);
|
|
|
|
extern int ksu_handle_execveat_sucompat(int *fd, struct filename **filename_ptr,
|
|
void *argv, void *envp, int *flags);
|
|
|
|
extern int ksu_handle_execveat_ksud(int *fd, struct filename **filename_ptr,
|
|
void *argv, void *envp, int *flags);
|
|
#endif
|