2 * Copyright (c) 2014-2019 The strace developers.
5 * SPDX-License-Identifier: LGPL-2.1-or-later
12 #include "xlat/access_flags.h"
15 decode_access(struct tcb *tcp, int offset)
17 printpath(tcp, tcp->u_arg[offset]);
19 printflags(access_flags, tcp->u_arg[offset + 1], "?_OK");
26 return decode_access(tcp, 0);
31 print_dirfd(tcp, tcp->u_arg[0]);
33 return decode_access(tcp, 1);