Home
last modified time | relevance | path

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

/security/selinux/ss/
Dmls.h45 int mls_convert_context(struct policydb *oldp,
Dmls.c463 int mls_convert_context(struct policydb *oldp, in mls_convert_context() argument
478 sym_name(oldp, SYM_LEVELS, in mls_convert_context()
490 sym_name(oldp, SYM_CATS, i)); in mls_convert_context()
Dservices.c1849 struct policydb *oldp; member
1917 sym_name(args->oldp, SYM_USERS, c->user - 1)); in convert_context()
1925 sym_name(args->oldp, SYM_ROLES, c->role - 1)); in convert_context()
1933 sym_name(args->oldp, SYM_TYPES, c->type - 1)); in convert_context()
1939 if (args->oldp->mls_enabled && args->newp->mls_enabled) { in convert_context()
1940 rc = mls_convert_context(args->oldp, args->newp, c); in convert_context()
1943 } else if (args->oldp->mls_enabled && !args->newp->mls_enabled) { in convert_context()
1950 } else if (!args->oldp->mls_enabled && args->newp->mls_enabled) { in convert_context()
2149 args.oldp = &policydb; in security_load_policy()