[PATCH] proc: Kill proc_mem_inode_operations
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 26 Jun 2006 07:25:45 +0000 (00:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:24 +0000 (09:58 -0700)
commit22c2c5d75e6ad4b9ac41269476b32ba8c9fe263f
tree568754afe4d00da3ecaee4a960021e596d0e4beb
parent68602066c3327fa340899609d715781eda423751
[PATCH] proc: Kill proc_mem_inode_operations

The inode operations only exist to support the proc_permission function.
Currently mem_read and mem_write have all the same permission checks as
ptrace.  The fs check makes no sense in this context, and we can trivially get
around it by calling ptrace.

So simply the code by killing the strange weird case.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/proc/base.c