Lines Matching defs:inode
553 * ima_match_rules - determine whether an inode matches the policy rule.
555 * @idmap: idmap of the mount the inode was found from
556 * @inode: a pointer to an inode
567 struct inode *inode, const struct cred *cred,
596 && rule->fsmagic != inode->i_sb->s_magic)
599 && strcmp(rule->fsname, inode->i_sb->s_type->name))
602 !uuid_equal(&rule->fsuuid, &inode->i_sb->s_uuid))
627 !rule->fowner_op(i_uid_into_vfsuid(idmap, inode),
631 !rule->fgroup_op(i_gid_into_vfsgid(idmap, inode),
650 security_inode_getsecid(inode, &osid);
717 * @idmap: idmap of the mount the inode was found from
718 * @inode: pointer to an inode for which the policy decision is being made
737 int ima_match_policy(struct mnt_idmap *idmap, struct inode *inode,
757 if (!ima_match_rules(entry, idmap, inode, cred, secid,