Loading fs/proc/base.c +0 −5 Original line number Diff line number Diff line Loading @@ -854,10 +854,6 @@ static ssize_t mem_read(struct file * file, char __user * buf, 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) { Loading Loading @@ -914,7 +910,6 @@ static ssize_t mem_write(struct file * file, const char __user *buf, out_no_task: return copied; } #endif loff_t mem_lseek(struct file *file, loff_t offset, int orig) { Loading Loading
fs/proc/base.c +0 −5 Original line number Diff line number Diff line Loading @@ -854,10 +854,6 @@ static ssize_t mem_read(struct file * file, char __user * buf, 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) { Loading Loading @@ -914,7 +910,6 @@ static ssize_t mem_write(struct file * file, const char __user *buf, out_no_task: return copied; } #endif loff_t mem_lseek(struct file *file, loff_t offset, int orig) { Loading