2017-11-01 15:07:57 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2014-10-31 22:56:04 -04:00
|
|
|
#ifndef _LINUX_NS_COMMON_H
|
|
|
|
|
#define _LINUX_NS_COMMON_H
|
|
|
|
|
|
2020-08-19 13:47:15 +02:00
|
|
|
#include <linux/refcount.h>
|
|
|
|
|
|
2014-11-01 02:32:53 -04:00
|
|
|
struct proc_ns_operations;
|
|
|
|
|
|
2014-10-31 22:56:04 -04:00
|
|
|
struct ns_common {
|
2014-11-01 10:57:28 -04:00
|
|
|
atomic_long_t stashed;
|
2014-11-01 02:32:53 -04:00
|
|
|
const struct proc_ns_operations *ops;
|
2014-10-31 22:56:04 -04:00
|
|
|
unsigned int inum;
|
2020-08-19 13:47:15 +02:00
|
|
|
refcount_t count;
|
2014-10-31 22:56:04 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|