TOMOYO: Don't add / for allow_unmount permission check.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Sat, 2 Apr 2011 15:11:50 +0000 (00:11 +0900)
committerJames Morris <jmorris@namei.org>
Mon, 18 Apr 2011 23:37:09 +0000 (09:37 +1000)
"mount --bind /path/to/file1 /path/to/file2" is legal. Therefore,
"umount /path/to/file2" is also legal. Do not automatically append trailing '/'
if pathname to be unmounted does not end with '/'.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>
security/tomoyo/file.c

Simple merge