* Cherry-picked range: (kernel)
ebea31daa8..6915b62b9a
* Also merged unmerged pr:
https://github.com/tiann/KernelSU/pull/ 2909
Co-authored-by: Ylarod <me@ylarod.cn>
Co-authored-by: 5ec1cff <56485584+5ec1cff@users.noreply.github.com>
Co-authored-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
Co-authored-by: u9521 <63995396+u9521@users.noreply.github.com>
Co-authored-by: Wang Han <416810799@qq.com>
13 lines
329 B
C
13 lines
329 B
C
#ifndef __KSU_H_SECCOMP_CACHE
|
|
#define __KSU_H_SECCOMP_CACHE
|
|
|
|
#include <linux/fs.h>
|
|
#include <linux/version.h>
|
|
|
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0)
|
|
extern void ksu_seccomp_clear_cache(struct seccomp_filter *filter, int nr);
|
|
extern void ksu_seccomp_allow_cache(struct seccomp_filter *filter, int nr);
|
|
#endif
|
|
|
|
#endif
|