1 /*
2 * Copyright (c) 2016-2021 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 /* flags */
15 PRINT_VAL_X(tcp->u_arg[0]);
16 tprint_arg_next();
17
18 /* access_rights */
19 printflags64(pkey_access, tcp->u_arg[1], "PKEY_???");
20
21 return RVAL_DECODED;
22 }