Skip to content
  • Al Viro's avatar
    Untangling ima mess, part 3: kill dead code in ima · 1429b3ec
    Al Viro authored
    
    
    Kill the 'update' argument of ima_path_check(), kill
    dead code in ima.
    
    Current rules: ima counters are bumped at the same time
    when the file switches from put_filp() fodder to fput()
    one.  Which happens exactly in two places - alloc_file()
    and __dentry_open().  Nothing else needs to do that at
    all.
    
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    1429b3ec