Co-authored-by: simonpunk <simonpunk2016@gmail.com> Co-authored-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com>
14 lines
331 B
C
14 lines
331 B
C
#ifndef __KSU_H_KERNEL_UMOUNT
|
|
#define __KSU_H_KERNEL_UMOUNT
|
|
|
|
#include <linux/types.h>
|
|
|
|
void ksu_kernel_umount_init(void);
|
|
void ksu_kernel_umount_exit(void);
|
|
|
|
#ifndef CONFIG_KSU_SUSFS
|
|
// Handler function to be called from setresuid hook
|
|
int ksu_handle_umount(uid_t old_uid, uid_t new_uid);
|
|
#endif // #ifndef CONFIG_KSU_SUSFS
|
|
|
|
#endif |