Searched defs:newp (Results 1 - 2 of 2) sorted by relevance

/security/selinux/ss/
H A Dmls.c460 * policy `oldp' to the values specified in the policy `newp'.
463 struct policydb *newp,
476 levdatum = hashtab_search(newp->p_levels.table,
488 catdatum = hashtab_search(newp->p_cats.table,
462 mls_convert_context(struct policydb *oldp, struct policydb *newp, struct context *c) argument
H A Dservices.c1828 struct policydb *newp; member in struct:convert_context_args
1835 * in the policy `p->newp'. Verify that the
1866 rc = string_to_context_struct(args->newp, NULL, s,
1894 usrdatum = hashtab_search(args->newp->p_users.table,
1902 role = hashtab_search(args->newp->p_roles.table,
1910 typdatum = hashtab_search(args->newp->p_types.table,
1917 if (args->oldp->mls_enabled && args->newp->mls_enabled) {
1918 rc = mls_convert_context(args->oldp, args->newp, c);
1921 } else if (args->oldp->mls_enabled && !args->newp->mls_enabled) {
1928 } else if (!args->oldp->mls_enabled && args->newp
[all...]

Completed in 35 milliseconds