Home
last modified time | relevance | path

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

/openbmc/linux/security/safesetid/
H A Dsecurityfs.c101 struct setid_rule *rule, *nrule; in verify_ruleset() local
121 nrule = kmalloc(sizeof(struct setid_rule), GFP_KERNEL); in verify_ruleset()
122 if (!nrule) in verify_ruleset()
125 nrule->src_id.uid = rule->dst_id.uid; in verify_ruleset()
126 nrule->dst_id.uid = rule->dst_id.uid; in verify_ruleset()
127 nrule->type = UID; in verify_ruleset()
129 nrule->src_id.gid = rule->dst_id.gid; in verify_ruleset()
130 nrule->dst_id.gid = rule->dst_id.gid; in verify_ruleset()
131 nrule->type = GID; in verify_ruleset()
133 insert_rule(pol, nrule); in verify_ruleset()