diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/proc/base.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index efb3048..1a8d756 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -891,6 +891,10 @@ out_no_task: return ret; } +#define mem_write NULL + +#ifndef mem_write +/* This is a security hazard */ static ssize_t mem_write(struct file * file, const char __user *buf, size_t count, loff_t *ppos) { @@ -949,6 +953,7 @@ out_task: out_no_task: return copied; } +#endif loff_t mem_lseek(struct file *file, loff_t offset, int orig) { |