Searched refs:qauthz_is_allowed (Results 1 – 8 of 8) sorted by relevance
/openbmc/qemu/tests/unit/ |
H A D | test-authz-list.c | 32 g_assert(!qauthz_is_allowed(QAUTHZ(auth), "fred", &error_abort)); in test_authz_default_deny() 43 g_assert(qauthz_is_allowed(QAUTHZ(auth), "fred", &error_abort)); in test_authz_default_allow() 57 g_assert(!qauthz_is_allowed(QAUTHZ(auth), "fred", &error_abort)); in test_authz_explicit_deny() 71 g_assert(qauthz_is_allowed(QAUTHZ(auth), "fred", &error_abort)); in test_authz_explicit_allow() 92 g_assert(qauthz_is_allowed(QAUTHZ(auth), "fred", &error_abort)); in test_authz_complex() 93 g_assert(qauthz_is_allowed(QAUTHZ(auth), "bob", &error_abort)); in test_authz_complex() 94 g_assert(!qauthz_is_allowed(QAUTHZ(auth), "dan", &error_abort)); in test_authz_complex() 95 g_assert(qauthz_is_allowed(QAUTHZ(auth), "danb", &error_abort)); in test_authz_complex() 127 g_assert(!qauthz_is_allowed(QAUTHZ(auth), "dan", &error_abort)); in test_authz_add_remove() 132 g_assert(qauthz_is_allowed(QAUTHZ(auth), "dan", &error_abort)); in test_authz_add_remove() [all …]
|
H A D | test-authz-listfile.c | 59 g_assert(!qauthz_is_allowed(QAUTHZ(auth), "fred", &error_abort)); in test_authz_default_deny() 77 g_assert(qauthz_is_allowed(QAUTHZ(auth), "fred", &error_abort)); in test_authz_default_allow() 100 g_assert(!qauthz_is_allowed(QAUTHZ(auth), "fred", &error_abort)); in test_authz_explicit_deny() 123 g_assert(qauthz_is_allowed(QAUTHZ(auth), "fred", &error_abort)); in test_authz_explicit_allow() 157 g_assert(qauthz_is_allowed(QAUTHZ(auth), "fred", &error_abort)); in test_authz_complex() 158 g_assert(qauthz_is_allowed(QAUTHZ(auth), "bob", &error_abort)); in test_authz_complex() 159 g_assert(!qauthz_is_allowed(QAUTHZ(auth), "dan", &error_abort)); in test_authz_complex() 160 g_assert(qauthz_is_allowed(QAUTHZ(auth), "danb", &error_abort)); in test_authz_complex()
|
H A D | test-authz-simple.c | 34 g_assert(!qauthz_is_allowed(QAUTHZ(authz), "cthul", &error_abort)); in test_authz_simple() 35 g_assert(qauthz_is_allowed(QAUTHZ(authz), "cthulu", &error_abort)); in test_authz_simple() 36 g_assert(!qauthz_is_allowed(QAUTHZ(authz), "cthuluu", &error_abort)); in test_authz_simple() 37 g_assert(!qauthz_is_allowed(QAUTHZ(authz), "fred", &error_abort)); in test_authz_simple()
|
H A D | test-authz-pam.c | 85 g_assert_false(qauthz_is_allowed(QAUTHZ(auth), "fred", &local_err)); in test_authz_unknown_service() 100 g_assert_true(qauthz_is_allowed(QAUTHZ(auth), "fred", &error_abort)); in test_authz_good_user() 115 g_assert_false(qauthz_is_allowed(QAUTHZ(auth), "bob", &local_err)); in test_authz_bad_user()
|
/openbmc/qemu/authz/ |
H A D | base.c | 26 bool qauthz_is_allowed(QAuthZ *authz, in qauthz_is_allowed() function 65 return qauthz_is_allowed(authz, identity, errp); in qauthz_is_allowed_by_id()
|
H A D | trace-events | 4 qauthz_is_allowed(void *authz, const char *identity, bool allowed) "AuthZ %p check identity=%s allo…
|
H A D | listfile.c | 43 return qauthz_is_allowed(fauthz->list, identity, errp); in qauthz_list_file_is_allowed()
|
/openbmc/qemu/include/authz/ |
H A D | base.h | 74 bool qauthz_is_allowed(QAuthZ *authz,
|