mirror of
https://github.com/openharmony/third_party_ltp.git
synced 2026-07-01 12:25:45 -04:00
893ac31e33
Signed-off-by: ccdu <duchangcheng1@h-partners.com>
32 lines
646 B
C
Executable File
32 lines
646 B
C
Executable File
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
* Copyright (c) 2019 Federico Bonfiglio fedebonfi95@gmail.com
|
|
*/
|
|
|
|
#ifndef LAPI_IOCTL_NS_H__
|
|
#define LAPI_IOCTL_NS_H__
|
|
|
|
#include <stdint.h>
|
|
#include <asm-generic/ioctl.h>
|
|
|
|
#ifndef NSIO
|
|
#define NSIO 0xb7
|
|
#endif
|
|
#ifndef NS_GET_PARENT
|
|
#define NS_GET_PARENT _IO(NSIO, 0x2)
|
|
#endif
|
|
#ifndef NS_GET_OWNER_UID
|
|
#define NS_GET_OWNER_UID _IO(NSIO, 0x4)
|
|
#endif
|
|
#ifndef NS_GET_USERNS
|
|
#define NS_GET_USERNS _IO(NSIO, 0x1)
|
|
#endif
|
|
#ifndef NS_GET_NSTYPE
|
|
#define NS_GET_NSTYPE _IO(NSIO, 0x3)
|
|
#endif
|
|
#ifndef NS_GET_MNTNS_ID
|
|
#define NS_GET_MNTNS_ID _IOR(NSIO, 0x5, uint64_t)
|
|
#endif
|
|
|
|
#endif /* LAPI_IOCTL_NS_H__ */
|