proc_namespace.c (8c57a5e7b2820f349c95b8c8393fec1e0f4070d2) | proc_namespace.c (f719ff9bcee2a422647790f12d53d3755f47c727) |
---|---|
1/* 2 * fs/proc_namespace.c - handling of /proc/<pid>/{mounts,mountinfo,mountstats} 3 * 4 * In fact, that's a piece of procfs; it's *almost* isolated from 5 * the rest of fs/proc, but has rather close relationships with 6 * fs/namespace.c, thus here instead of fs/proc 7 * 8 */ 9#include <linux/mnt_namespace.h> 10#include <linux/nsproxy.h> 11#include <linux/security.h> 12#include <linux/fs_struct.h> | 1/* 2 * fs/proc_namespace.c - handling of /proc/<pid>/{mounts,mountinfo,mountstats} 3 * 4 * In fact, that's a piece of procfs; it's *almost* isolated from 5 * the rest of fs/proc, but has rather close relationships with 6 * fs/namespace.c, thus here instead of fs/proc 7 * 8 */ 9#include <linux/mnt_namespace.h> 10#include <linux/nsproxy.h> 11#include <linux/security.h> 12#include <linux/fs_struct.h> |
13#include <linux/sched/task.h> 14 |
|
13#include "proc/internal.h" /* only for get_proc_task() in ->open() */ 14 15#include "pnode.h" 16#include "internal.h" 17 18static unsigned mounts_poll(struct file *file, poll_table *wait) 19{ 20 struct seq_file *m = file->private_data; --- 316 unchanged lines hidden --- | 15#include "proc/internal.h" /* only for get_proc_task() in ->open() */ 16 17#include "pnode.h" 18#include "internal.h" 19 20static unsigned mounts_poll(struct file *file, poll_table *wait) 21{ 22 struct seq_file *m = file->private_data; --- 316 unchanged lines hidden --- |