OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:usrlvl
(Results
1 - 4
of
4
) sorted by null
/external/selinux/libsepol/cil/src/
cil_tree.c
749
struct cil_userlevel *
usrlvl
= node->data;
local
752
if (
usrlvl
->user_str != NULL) {
753
cil_log(CIL_INFO, " %s",
usrlvl
->user_str);
756
if (
usrlvl
->level != NULL) {
758
cil_tree_print_level(
usrlvl
->level);
760
} else if (
usrlvl
->level_str != NULL) {
761
cil_log(CIL_INFO, " %s",
usrlvl
->level_str);
[
all
...]
cil_write_ast.c
550
struct cil_userlevel *
usrlvl
= (struct cil_userlevel *)node->data;
local
555
usr =
usrlvl
->user_str;
556
if (
usrlvl
->level_str != NULL) {
557
lvl = strdup(
usrlvl
->level_str);
564
rc = cil_unfill_level(
usrlvl
->level, &lvl);
[
all
...]
cil_build_ast.c
1364
struct cil_userlevel *
usrlvl
= NULL;
local
1376
cil_userlevel_init(&
usrlvl
);
1378
usrlvl
->user_str = parse_current->next->data;
1381
usrlvl
->level_str = parse_current->next->next->data;
1383
cil_level_init(&
usrlvl
->level);
1385
rc = cil_fill_level(parse_current->next->next->cl_head,
usrlvl
->level);
1391
ast_node->data =
usrlvl
;
1398
cil_destroy_userlevel(
usrlvl
);
1402
void cil_destroy_userlevel(struct cil_userlevel *
usrlvl
)
1404
if (
usrlvl
== NULL)
[
all
...]
cil_resolve_ast.c
805
struct cil_userlevel *
usrlvl
= current->data;
local
812
rc = cil_resolve_name(current,
usrlvl
->user_str, CIL_SYM_USERS, extra_args, &user_datum);
827
if (
usrlvl
->level_str != NULL) {
828
rc = cil_resolve_name(current,
usrlvl
->level_str, CIL_SYM_LEVELS, extra_args, &lvl_datum);
832
usrlvl
->level = (struct cil_level*)lvl_datum;
833
user->dftlevel =
usrlvl
->level;
842
} else if (
usrlvl
->level != NULL) {
843
rc = cil_resolve_level(current,
usrlvl
->level, extra_args);
847
user->dftlevel =
usrlvl
->level;
[
all
...]
Completed in 77 milliseconds