Skip to content

Commit a3b6089

Browse files
fix: complete P8 supercall declarations
1 parent c52cce9 commit a3b6089

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

kernel/patch/common/folkpatch_suaudit.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include <linux/vmalloc.h>
88
#include <uapi/asm-generic/errno.h>
99
#include <kstorage.h>
10+
#include <kputils.h>
1011
#include <folkpatch_suaudit.h>
1112

1213
#define FOLKPATCH_SUAUDIT_MAX_ENTRIES 256

kernel/patch/include/folkpatch_supercall.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <ktypes.h>
77
#include <linux/uaccess.h>
88
#include <uapi/scdefs.h>
9+
#include <folkpatch_suaudit.h>
910

1011
/* FolkPatch owns this range; upstream commands must remain unchanged. */
1112
static inline bool folkpatch_supercall_cmd(long cmd)

kernel/patch/include/uapi/scdefs.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ static inline long hash_key(const char *key)
3535
#define SUPERCALL_FOLKPATCH_AUDIT_MIN 0x1120
3636
#define SUPERCALL_FOLKPATCH_AUDIT_MAX 0x1121
3737

38+
#define SUPERCALL_UTS_SET 0x1050
39+
#define SUPERCALL_UTS_RESET 0x1051
40+
3841
#define SUPERCALL_PATHHIDE_ADD 0x1060
3942
#define SUPERCALL_PATHHIDE_REMOVE 0x1061
4043
#define SUPERCALL_PATHHIDE_LIST 0x1062

0 commit comments

Comments
 (0)