xref: /third_party/ltp/include/lapi/ioctl_ns.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/ltp/include/lapi/
1f08c3bdfSopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later
2f08c3bdfSopenharmony_ci/*
3f08c3bdfSopenharmony_ci * Copyright (c) 2019 Federico Bonfiglio fedebonfi95@gmail.com
4f08c3bdfSopenharmony_ci */
5f08c3bdfSopenharmony_ci
6f08c3bdfSopenharmony_ci#ifndef LAPI_IOCTL_NS_H__
7f08c3bdfSopenharmony_ci#define LAPI_IOCTL_NS_H__
8f08c3bdfSopenharmony_ci
9f08c3bdfSopenharmony_ci#include <asm-generic/ioctl.h>
10f08c3bdfSopenharmony_ci
11f08c3bdfSopenharmony_ci#ifndef NSIO
12f08c3bdfSopenharmony_ci#define NSIO	0xb7
13f08c3bdfSopenharmony_ci#endif
14f08c3bdfSopenharmony_ci#ifndef NS_GET_PARENT
15f08c3bdfSopenharmony_ci#define NS_GET_PARENT		_IO(NSIO, 0x2)
16f08c3bdfSopenharmony_ci#endif
17f08c3bdfSopenharmony_ci#ifndef NS_GET_OWNER_UID
18f08c3bdfSopenharmony_ci#define NS_GET_OWNER_UID	_IO(NSIO, 0x4)
19f08c3bdfSopenharmony_ci#endif
20f08c3bdfSopenharmony_ci#ifndef NS_GET_USERNS
21f08c3bdfSopenharmony_ci#define NS_GET_USERNS		_IO(NSIO, 0x1)
22f08c3bdfSopenharmony_ci#endif
23f08c3bdfSopenharmony_ci#ifndef NS_GET_NSTYPE
24f08c3bdfSopenharmony_ci#define NS_GET_NSTYPE		_IO(NSIO, 0x3)
25f08c3bdfSopenharmony_ci#endif
26f08c3bdfSopenharmony_ci
27f08c3bdfSopenharmony_ci
28f08c3bdfSopenharmony_ci#endif /* LAPI_IOCTL_NS_H__ */
29

Indexes created Thu Nov 07 10:32:03 CST 2024