• Stephen D. Smalley's avatar
    [PATCH] Add LSM hook to do_kern_mount · 8c3468ed
    Stephen D. Smalley authored
    This patch adds a security_sb_kern_mount hook call to the do_kern_mount
    function.  This hook enables initialization of the superblock security
    information of all superblock objects.  Placing a hook in do_kern_mount
    was originally suggested by Al Viro.  This hook is used by SELinux to
    setup the superblock security state and eliminated the need for the
    superblock_precondition function.
    8c3468ed
dummy.c 15.9 KB