blob: 191537a162c77eafcd24586a409acdafb78db993 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* Copyright (c) 2020 The strace developers.
* All rights reserved.
*
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
#include "defs.h"
#ifdef HAVE_LINUX_CLOSE_RANGE_H
# include <linux/close_range.h>
#endif
#include "xlat/close_range_flags.h"
SYS_FUNC(close_range)
{
printfd(tcp, tcp->u_arg[0]);
tprints(", ");
printfd(tcp, tcp->u_arg[1]);
tprints(", ");
printflags(close_range_flags, tcp->u_arg[2], "CLOSE_RANGE_???");
return RVAL_DECODED;
}
|