diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
commit | 2d37894b1b037cf24231090eda8589bbb44fb6fc (patch) | |
tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/libs/linux-headers/linux/nsfs.h | |
parent | 718c552901d703c502ccbefdfc3c9028d608b947 (diff) | |
download | ydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/linux-headers/linux/nsfs.h')
-rw-r--r-- | contrib/libs/linux-headers/linux/nsfs.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/contrib/libs/linux-headers/linux/nsfs.h b/contrib/libs/linux-headers/linux/nsfs.h index 07891a5a911..a0c8552b64e 100644 --- a/contrib/libs/linux-headers/linux/nsfs.h +++ b/contrib/libs/linux-headers/linux/nsfs.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef __LINUX_NSFS_H -#define __LINUX_NSFS_H - -#include <linux/ioctl.h> - -#define NSIO 0xb7 - -/* Returns a file descriptor that refers to an owning user namespace */ -#define NS_GET_USERNS _IO(NSIO, 0x1) -/* Returns a file descriptor that refers to a parent namespace */ -#define NS_GET_PARENT _IO(NSIO, 0x2) -/* Returns the type of namespace (CLONE_NEW* value) referred to by - file descriptor */ -#define NS_GET_NSTYPE _IO(NSIO, 0x3) -/* Get owner UID (in the caller's user namespace) for a user namespace */ -#define NS_GET_OWNER_UID _IO(NSIO, 0x4) - -#endif /* __LINUX_NSFS_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __LINUX_NSFS_H +#define __LINUX_NSFS_H + +#include <linux/ioctl.h> + +#define NSIO 0xb7 + +/* Returns a file descriptor that refers to an owning user namespace */ +#define NS_GET_USERNS _IO(NSIO, 0x1) +/* Returns a file descriptor that refers to a parent namespace */ +#define NS_GET_PARENT _IO(NSIO, 0x2) +/* Returns the type of namespace (CLONE_NEW* value) referred to by + file descriptor */ +#define NS_GET_NSTYPE _IO(NSIO, 0x3) +/* Get owner UID (in the caller's user namespace) for a user namespace */ +#define NS_GET_OWNER_UID _IO(NSIO, 0x4) + +#endif /* __LINUX_NSFS_H */ |