fs: Add a missing permission check to do_umount
Accessing do_remount_sb should require global CAP_SYS_ADMIN, but
only one of the two call sites was appropriately protected.
Fixes CVE-2014-7975.
Signed-off-by: NAndy Lutomirski <luto@amacapital.net>
Showing
想要评论请 注册 或 登录