Lines Matching refs:newpolicy
327 static int sel_make_bools(struct selinux_policy *newpolicy, struct dentry *bool_dir,
330 static int sel_make_classes(struct selinux_policy *newpolicy,
505 struct selinux_policy *newpolicy) in sel_make_policy_nodes() argument
532 ret = sel_make_bools(newpolicy, tmp_bool_dir, &bool_num, in sel_make_policy_nodes()
537 ret = sel_make_classes(newpolicy, tmp_class_dir, in sel_make_policy_nodes()
1345 static int sel_make_bools(struct selinux_policy *newpolicy, struct dentry *bool_dir, in sel_make_bools() argument
1357 ret = security_get_bools(newpolicy, &num, &names, bool_pending_values); in sel_make_bools()
1390 ret = selinux_policy_genfs_sid(newpolicy, "selinuxfs", page, in sel_make_bools()
1767 static int sel_make_perm_files(struct selinux_policy *newpolicy, in sel_make_perm_files() argument
1775 rc = security_get_permissions(newpolicy, objclass, &perms, &nperms); in sel_make_perm_files()
1808 static int sel_make_class_dir_entries(struct selinux_policy *newpolicy, in sel_make_class_dir_entries() argument
1835 return sel_make_perm_files(newpolicy, classname, index, dentry); in sel_make_class_dir_entries()
1838 static int sel_make_classes(struct selinux_policy *newpolicy, in sel_make_classes() argument
1846 rc = security_get_classes(newpolicy, &classes, &nclasses); in sel_make_classes()
1864 rc = sel_make_class_dir_entries(newpolicy, classes[i], i + 1, in sel_make_classes()