Searched refs:common_perm_cond (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/linux-5.10/security/apparmor/ |
D | lsm.c | 225 static int common_perm_cond(const char *op, const struct path *path, u32 mask) in common_perm_cond() function 326 return common_perm_cond(OP_TRUNC, path, MAY_WRITE | AA_MAY_SETATTR); in apparmor_path_truncate() 389 return common_perm_cond(OP_CHMOD, path, AA_MAY_CHMOD); in apparmor_path_chmod() 394 return common_perm_cond(OP_CHOWN, path, AA_MAY_CHOWN); in apparmor_path_chown() 399 return common_perm_cond(OP_GETATTR, path, AA_MAY_GETATTR); in apparmor_inode_getattr()
|