Home
last modified time | relevance | path

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

/openbmc/linux/security/safesetid/
H A Dlsm.h58 struct setid_ruleset { struct
67 enum sid_policy_type _setid_policy_lookup(struct setid_ruleset *policy, argument
70 extern struct setid_ruleset __rcu *safesetid_setuid_rules;
71 extern struct setid_ruleset __rcu *safesetid_setgid_rules;
H A Dsecurityfs.c72 struct setid_ruleset *pol = in __release_ruleset()
73 container_of(rcu, struct setid_ruleset, rcu); in __release_ruleset()
84 static void release_ruleset(struct setid_ruleset *pol){ in release_ruleset()
88 static void insert_rule(struct setid_ruleset *pol, struct setid_rule *rule) in insert_rule()
98 static int verify_ruleset(struct setid_ruleset *pol) in verify_ruleset()
142 struct setid_ruleset *pol; in handle_policy_update()
146 pol = kmalloc(sizeof(struct setid_ruleset), GFP_KERNEL); in handle_policy_update()
264 … size_t len, loff_t *ppos, struct mutex *policy_update_lock, struct __rcu setid_ruleset* ruleset) in safesetid_file_read()
267 struct setid_ruleset *pol; in safesetid_file_read()
H A Dlsm.c27 struct setid_ruleset __rcu *safesetid_setuid_rules;
28 struct setid_ruleset __rcu *safesetid_setgid_rules;
32 enum sid_policy_type _setid_policy_lookup(struct setid_ruleset *policy, in _setid_policy_lookup()
69 struct setid_ruleset *pol; in setid_policy_lookup()