Home
last modified time | relevance | path

Searched refs:bfsuse (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libsepol/cil/test/unit/
Dtest_cil_post.c636 struct cil_fsuse *bfsuse; in test_cil_post_fsuse_compare_type_a_greater_b() local
637 cil_fsuse_init(&bfsuse); in test_cil_post_fsuse_compare_type_a_greater_b()
638 bfsuse->type = CIL_FSUSE_TASK; in test_cil_post_fsuse_compare_type_a_greater_b()
640 int rc = cil_post_fsuse_compare(&afsuse, &bfsuse); in test_cil_post_fsuse_compare_type_a_greater_b()
649 struct cil_fsuse *bfsuse; in test_cil_post_fsuse_compare_type_b_greater_a() local
650 cil_fsuse_init(&bfsuse); in test_cil_post_fsuse_compare_type_b_greater_a()
651 bfsuse->type = CIL_FSUSE_XATTR; in test_cil_post_fsuse_compare_type_b_greater_a()
653 int rc = cil_post_fsuse_compare(&afsuse, &bfsuse); in test_cil_post_fsuse_compare_type_b_greater_a()
663 struct cil_fsuse *bfsuse; in test_cil_post_fsuse_compare_fsstr_a_greater_b() local
664 cil_fsuse_init(&bfsuse); in test_cil_post_fsuse_compare_fsstr_a_greater_b()
[all …]
/external/selinux/libsepol/cil/src/
Dcil_post.c442 struct cil_fsuse *bfsuse; in cil_post_fsuse_compare() local
444 bfsuse = *(struct cil_fsuse**)b; in cil_post_fsuse_compare()
445 if (afsuse->type < bfsuse->type) { in cil_post_fsuse_compare()
447 } else if (bfsuse->type < afsuse->type) { in cil_post_fsuse_compare()
450 rc = strcmp(afsuse->fs_str, bfsuse->fs_str); in cil_post_fsuse_compare()