namespaces.c (13b6f57623bc485e116344fe91fbcb29f149242b) namespaces.c (34482e89a5218f0f9317abf1cfba3bb38b5c29dd)
1#include <linux/proc_fs.h>
2#include <linux/nsproxy.h>
3#include <linux/sched.h>
4#include <linux/ptrace.h>
5#include <linux/fs_struct.h>
6#include <linux/mount.h>
7#include <linux/path.h>
8#include <linux/namei.h>

--- 5 unchanged lines hidden (view full) ---

14#include <linux/pid_namespace.h>
15#include "internal.h"
16
17
18static const struct proc_ns_operations *ns_entries[] = {
19#ifdef CONFIG_NET_NS
20 &netns_operations,
21#endif
1#include <linux/proc_fs.h>
2#include <linux/nsproxy.h>
3#include <linux/sched.h>
4#include <linux/ptrace.h>
5#include <linux/fs_struct.h>
6#include <linux/mount.h>
7#include <linux/path.h>
8#include <linux/namei.h>

--- 5 unchanged lines hidden (view full) ---

14#include <linux/pid_namespace.h>
15#include "internal.h"
16
17
18static const struct proc_ns_operations *ns_entries[] = {
19#ifdef CONFIG_NET_NS
20 &netns_operations,
21#endif
22#ifdef CONFIG_UTS_NS
23 &utsns_operations,
24#endif
22};
23
24static const struct file_operations ns_file_operations = {
25 .llseek = no_llseek,
26};
27
28static struct dentry *proc_ns_instantiate(struct inode *dir,
29 struct dentry *dentry, struct task_struct *task, const void *ptr)

--- 162 unchanged lines hidden ---
25};
26
27static const struct file_operations ns_file_operations = {
28 .llseek = no_llseek,
29};
30
31static struct dentry *proc_ns_instantiate(struct inode *dir,
32 struct dentry *dentry, struct task_struct *task, const void *ptr)

--- 162 unchanged lines hidden ---