]> granicus.if.org Git - strace/blob - nsfs.h
xlat: add BPF_F_TEST_STATE_FREQ to bpf_prog_flags
[strace] / nsfs.h
1 /*
2  * Copyright (c) 2017-2018 The strace developers.
3  * All rights reserved.
4  *
5  * SPDX-License-Identifier: LGPL-2.1-or-later
6  */
7
8 #ifndef STRACE_NSFS_H
9 # define STRACE_NSFS_H
10
11 # include <linux/ioctl.h>
12
13 # ifdef HAVE_LINUX_NSFS_H
14 #  include <linux/nsfs.h>
15 # else
16 #  define NSIO    0xb7
17 #  define NS_GET_USERNS   _IO(NSIO, 0x1)
18 #  define NS_GET_PARENT   _IO(NSIO, 0x2)
19 # endif
20
21 # ifndef NS_GET_NSTYPE
22 #  define NS_GET_NSTYPE    _IO(NSIO, 0x3)
23 # endif
24 # ifndef NS_GET_OWNER_UID
25 #  define NS_GET_OWNER_UID _IO(NSIO, 0x4)
26 # endif
27
28 #endif /* !STRACE_NSFS_H */