namespaces.c (6b2553918d8b4e6de9853fd6315bec7271a2e592) | namespaces.c (fceef393a538134f03b778c5d2519e670269342f) |
---|---|
1#include <linux/proc_fs.h> 2#include <linux/nsproxy.h> 3#include <linux/ptrace.h> 4#include <linux/namei.h> 5#include <linux/file.h> 6#include <linux/utsname.h> 7#include <net/net_namespace.h> 8#include <linux/ipc_namespace.h> --- 17 unchanged lines hidden (view full) --- 26#endif 27#ifdef CONFIG_USER_NS 28 &userns_operations, 29#endif 30 &mntns_operations, 31}; 32 33static const char *proc_ns_get_link(struct dentry *dentry, | 1#include <linux/proc_fs.h> 2#include <linux/nsproxy.h> 3#include <linux/ptrace.h> 4#include <linux/namei.h> 5#include <linux/file.h> 6#include <linux/utsname.h> 7#include <net/net_namespace.h> 8#include <linux/ipc_namespace.h> --- 17 unchanged lines hidden (view full) --- 26#endif 27#ifdef CONFIG_USER_NS 28 &userns_operations, 29#endif 30 &mntns_operations, 31}; 32 33static const char *proc_ns_get_link(struct dentry *dentry, |
34 struct inode *inode, void **cookie) | 34 struct inode *inode, 35 struct delayed_call *done) |
35{ 36 const struct proc_ns_operations *ns_ops = PROC_I(inode)->ns_ops; 37 struct task_struct *task; 38 struct path ns_path; 39 void *error = ERR_PTR(-EACCES); 40 41 if (!dentry) 42 return ERR_PTR(-ECHILD); --- 133 unchanged lines hidden --- | 36{ 37 const struct proc_ns_operations *ns_ops = PROC_I(inode)->ns_ops; 38 struct task_struct *task; 39 struct path ns_path; 40 void *error = ERR_PTR(-EACCES); 41 42 if (!dentry) 43 return ERR_PTR(-ECHILD); --- 133 unchanged lines hidden --- |