aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/base.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r--fs/proc/base.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c
index a721acfd4fdc..17f7a7ee6c5e 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -64,6 +64,7 @@
64#include <linux/smp_lock.h> 64#include <linux/smp_lock.h>
65#include <linux/rcupdate.h> 65#include <linux/rcupdate.h>
66#include <linux/kallsyms.h> 66#include <linux/kallsyms.h>
67#include <linux/module.h>
67#include <linux/mount.h> 68#include <linux/mount.h>
68#include <linux/security.h> 69#include <linux/security.h>
69#include <linux/ptrace.h> 70#include <linux/ptrace.h>
@@ -123,6 +124,9 @@ struct pid_entry {
123 NULL, &proc_info_file_operations, \ 124 NULL, &proc_info_file_operations, \
124 { .proc_read = &proc_##OTYPE } ) 125 { .proc_read = &proc_##OTYPE } )
125 126
127int maps_protect;
128EXPORT_SYMBOL(maps_protect);
129
126static struct fs_struct *get_fs_struct(struct task_struct *task) 130static struct fs_struct *get_fs_struct(struct task_struct *task)
127{ 131{
128 struct fs_struct *fs; 132 struct fs_struct *fs;