kernel: add_type for 5.4 is supported actually.
This commit is contained in:
@@ -7,10 +7,7 @@
|
||||
#include "../klog.h" // IWYU pragma: keep
|
||||
#include "ss/symtab.h"
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0) || LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 0)
|
||||
// 5.4 is not tested
|
||||
#define KSU_SUPPORT_ADD_TYPE
|
||||
#endif
|
||||
|
||||
//////////////////////////////////////////////////////
|
||||
// Declaration
|
||||
@@ -985,4 +982,4 @@ bool ksu_genfscon(struct policydb *db, const char *fs_name, const char *path,
|
||||
const char *ctx)
|
||||
{
|
||||
return add_genfscon(db, fs_name, path, ctx);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user