Searched refs:common_perm_cond (Results 1 – 1 of 1) sorted by relevance
/linux/security/apparmor/ |
H A D | lsm.c | 242 static int common_perm_cond(const char *op, const struct path *path, u32 mask) in common_perm_cond() function 348 return common_perm_cond(OP_TRUNC, path, MAY_WRITE | AA_MAY_SETATTR); in apparmor_path_truncate() 446 return common_perm_cond(OP_CHMOD, path, AA_MAY_CHMOD); in apparmor_path_chmod() 451 return common_perm_cond(OP_CHOWN, path, AA_MAY_CHOWN); in apparmor_path_chown() 456 return common_perm_cond(OP_GETATTR, path, AA_MAY_GETATTR); in apparmor_inode_getattr()
|