• Andrew Morton's avatar
    [PATCH] security oops fix · 8a65e057
    Andrew Morton authored
    From: Stephen Smalley <sds@epoch.ncsc.mil>
    
    Looking at d_splice_alias, it appears that the security_d_instantiate call
    in the first case (where it ends up moving an entry in place of the given
    dentry) should be passing 'new' rather than 'dentry' to ensure that the
    passed dentry is associated with the inode.  This patch should fix the
    problem.
    
    (Addresses bugzilla #2153)
    8a65e057
dcache.c 41.4 KB