Searched refs:newpolicy (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/security/selinux/ss/ |
D | services.c | 2171 struct selinux_policy *newpolicy); 2219 struct selinux_policy *oldpolicy, *newpolicy = load_state->policy; in selinux_policy_commit() local 2228 if (oldpolicy->policydb.mls_enabled && !newpolicy->policydb.mls_enabled) in selinux_policy_commit() 2230 else if (!oldpolicy->policydb.mls_enabled && newpolicy->policydb.mls_enabled) in selinux_policy_commit() 2236 newpolicy->latest_granting = oldpolicy->latest_granting + 1; in selinux_policy_commit() 2238 newpolicy->latest_granting = 1; in selinux_policy_commit() 2239 seqno = newpolicy->latest_granting; in selinux_policy_commit() 2244 rcu_assign_pointer(state->policy, newpolicy); in selinux_policy_commit() 2247 rcu_assign_pointer(state->policy, newpolicy); in selinux_policy_commit() 2251 security_load_policycaps(state, newpolicy); in selinux_policy_commit() [all …]
|
/linux-5.19.10/security/selinux/ |
D | selinuxfs.c | 357 static int sel_make_bools(struct selinux_policy *newpolicy, struct dentry *bool_dir, 360 static int sel_make_classes(struct selinux_policy *newpolicy, 542 struct selinux_policy *newpolicy) in sel_make_policy_nodes() argument 569 ret = sel_make_bools(newpolicy, tmp_bool_dir, &tmp_bool_num, in sel_make_policy_nodes() 574 ret = sel_make_classes(newpolicy, tmp_class_dir, in sel_make_policy_nodes() 1424 static int sel_make_bools(struct selinux_policy *newpolicy, struct dentry *bool_dir, in sel_make_bools() argument 1443 ret = security_get_bools(newpolicy, &num, &names, &values); in sel_make_bools() 1469 ret = selinux_policy_genfs_sid(newpolicy, "selinuxfs", page, in sel_make_bools() 1872 static int sel_make_perm_files(struct selinux_policy *newpolicy, in sel_make_perm_files() argument 1879 rc = security_get_permissions(newpolicy, objclass, &perms, &nperms); in sel_make_perm_files() [all …]
|