proc_fs.h (13b6f57623bc485e116344fe91fbcb29f149242b) proc_fs.h (34482e89a5218f0f9317abf1cfba3bb38b5c29dd)
1#ifndef _LINUX_PROC_FS_H
2#define _LINUX_PROC_FS_H
3
4#include <linux/slab.h>
5#include <linux/fs.h>
6#include <linux/spinlock.h>
7#include <linux/magic.h>
8#include <asm/atomic.h>

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

261struct proc_ns_operations {
262 const char *name;
263 int type;
264 void *(*get)(struct task_struct *task);
265 void (*put)(void *ns);
266 int (*install)(struct nsproxy *nsproxy, void *ns);
267};
268extern const struct proc_ns_operations netns_operations;
1#ifndef _LINUX_PROC_FS_H
2#define _LINUX_PROC_FS_H
3
4#include <linux/slab.h>
5#include <linux/fs.h>
6#include <linux/spinlock.h>
7#include <linux/magic.h>
8#include <asm/atomic.h>

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

261struct proc_ns_operations {
262 const char *name;
263 int type;
264 void *(*get)(struct task_struct *task);
265 void (*put)(void *ns);
266 int (*install)(struct nsproxy *nsproxy, void *ns);
267};
268extern const struct proc_ns_operations netns_operations;
269extern const struct proc_ns_operations utsns_operations;
269
270union proc_op {
271 int (*proc_get_link)(struct inode *, struct path *);
272 int (*proc_read)(struct task_struct *task, char *page);
273 int (*proc_show)(struct seq_file *m,
274 struct pid_namespace *ns, struct pid *pid,
275 struct task_struct *task);
276};

--- 40 unchanged lines hidden ---
270
271union proc_op {
272 int (*proc_get_link)(struct inode *, struct path *);
273 int (*proc_read)(struct task_struct *task, char *page);
274 int (*proc_show)(struct seq_file *m,
275 struct pid_namespace *ns, struct pid *pid,
276 struct task_struct *task);
277};

--- 40 unchanged lines hidden ---