From: H. Peter Anvin Date: Sun, 30 Dec 2007 00:20:25 +0000 (-0800) Subject: security: remove security_sb_post_mountroot hook X-Git-Tag: v2.6.25-rc1~1239^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bced95283e9434611cbad8f2ff903cd396eaea72;p=pandora-kernel.git security: remove security_sb_post_mountroot hook The security_sb_post_mountroot() hook is long-since obsolete, and is fundamentally broken: it is never invoked if someone uses initramfs. This is particularly damaging, because the existence of this hook has been used as motivation for not using initramfs. Stephen Smalley confirmed on 2007-07-19 that this hook was originally used by SELinux but can now be safely removed: http://marc.info/?l=linux-kernel&m=118485683612916&w=2 Cc: Stephen Smalley Cc: James Morris Cc: Eric Paris Cc: Chris Wright Signed-off-by: H. Peter Anvin Signed-off-by: James Morris --- Reading git-diff-tree failed