]> granicus.if.org Git - strace/blob - pkeys.c
evdev: decode struct input_absinfo regardless of in-kernel definitions
[strace] / pkeys.c
1 /*
2  * Copyright (c) 2016-2018 The strace developers.
3  * All rights reserved.
4  *
5  * SPDX-License-Identifier: LGPL-2.1-or-later
6  */
7
8 #include "defs.h"
9
10 #include "xlat/pkey_access.h"
11
12 SYS_FUNC(pkey_alloc)
13 {
14         tprintf("%#" PRI_klx ", ", tcp->u_arg[0]);
15         printflags64(pkey_access, tcp->u_arg[1], "PKEY_???");
16
17         return RVAL_DECODED;
18 }
19
20 SYS_FUNC(pkey_free)
21 {
22         tprintf("%d", (int) tcp->u_arg[0]);
23
24         return RVAL_DECODED;
25 }