Home
last modified time | relevance | path

Searched refs:common_perm_cond (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/security/apparmor/
Dlsm.c234 static int common_perm_cond(const char *op, const struct path *path, u32 mask) in common_perm_cond() function
340 return common_perm_cond(OP_TRUNC, path, MAY_WRITE | AA_MAY_SETATTR); in apparmor_path_truncate()
438 return common_perm_cond(OP_CHMOD, path, AA_MAY_CHMOD); in apparmor_path_chmod()
443 return common_perm_cond(OP_CHOWN, path, AA_MAY_CHOWN); in apparmor_path_chown()
448 return common_perm_cond(OP_GETATTR, path, AA_MAY_GETATTR); in apparmor_inode_getattr()