• Andrew Morton's avatar
    [PATCH] Move security_d_instantiate hook calls · 3558ebfc
    Andrew Morton authored
    From: Stephen Smalley <sds@epoch.ncsc.mil>
    
    This patch moves the security_d_instantiate hook calls in d_instantiate and
    d_splice_alias after the inode has been attached to the dentry.  This
    change is necessary so that security modules can internally call the
    getxattr inode operation (which takes a dentry parameter) from this hook to
    obtain the inode security label.
    3558ebfc
dcache.c 40.6 KB