huangcm
2025-08-25 f350412dc55c15118d0a7925d1071877498e5e24
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "defs.h"
 
#include "xlat/pkey_access.h"
 
SYS_FUNC(pkey_alloc)
{
   tprintf("%#" PRI_klx ", ", tcp->u_arg[0]);
   printflags64(pkey_access, tcp->u_arg[1], "PKEY_???");
 
   return RVAL_DECODED;
}
 
SYS_FUNC(pkey_free)
{
   tprintf("%d", (int) tcp->u_arg[0]);
 
   return RVAL_DECODED;
}