]> granicus.if.org Git - strace/blob - pkeys.c
capability: change address argument type from unsigned long to kernel_ureg_t
[strace] / pkeys.c
1 #include "defs.h"
2
3 #include "xlat/pkey_access.h"
4
5 SYS_FUNC(pkey_alloc)
6 {
7         tprintf("%#" PRI_klx ", ", getarg_klu(tcp, 0));
8         printflags64(pkey_access, getarg_klu(tcp, 1), "PKEY_???");
9
10         return RVAL_DECODED;
11 }
12
13 SYS_FUNC(pkey_free)
14 {
15         tprintf("%d", (int) tcp->u_arg[0]);
16
17         return RVAL_DECODED;
18 }