Searched refs:common_perm_cond (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/security/apparmor/ |
D | lsm.c | 221 static int common_perm_cond(const char *op, const struct path *path, u32 mask) in common_perm_cond() function 322 return common_perm_cond(OP_TRUNC, path, MAY_WRITE | AA_MAY_SETATTR); in apparmor_path_truncate() 385 return common_perm_cond(OP_CHMOD, path, AA_MAY_CHMOD); in apparmor_path_chmod() 390 return common_perm_cond(OP_CHOWN, path, AA_MAY_CHOWN); in apparmor_path_chown() 395 return common_perm_cond(OP_GETATTR, path, AA_MAY_GETATTR); in apparmor_inode_getattr()
|