Lines Matching refs:ret_badness
126 uint64_t *ret_badness,
199 uint64_t *ret_badness, in assess_bool() argument
205 assert(ret_badness); in assess_bool()
208 *ret_badness = a->parameter ? *b : !*b; in assess_bool()
218 uint64_t *ret_badness, in assess_user() argument
224 assert(ret_badness); in assess_user()
237 *ret_badness = 10; in assess_user()
245 *ret_badness = b; in assess_user()
255 uint64_t *ret_badness, in assess_protect_home() argument
263 assert(ret_badness); in assess_protect_home()
287 *ret_badness = badness; in assess_protect_home()
297 uint64_t *ret_badness, in assess_protect_system() argument
305 assert(ret_badness); in assess_protect_system()
329 *ret_badness = badness; in assess_protect_system()
339 uint64_t *ret_badness, in assess_root_directory() argument
342 assert(ret_badness); in assess_root_directory()
345 *ret_badness = in assess_root_directory()
357 uint64_t *ret_badness, in assess_capability_bounding_set() argument
360 assert(ret_badness); in assess_capability_bounding_set()
363 *ret_badness = !!(info->capability_bounding_set & a->parameter); in assess_capability_bounding_set()
373 uint64_t *ret_badness, in assess_umask() argument
380 assert(ret_badness); in assess_umask()
404 *ret_badness = b; in assess_umask()
414 uint64_t *ret_badness, in assess_keyring_mode() argument
417 assert(ret_badness); in assess_keyring_mode()
420 *ret_badness = !streq_ptr(info->keyring_mode, "private"); in assess_keyring_mode()
430 uint64_t *ret_badness, in assess_protect_proc() argument
433 assert(ret_badness); in assess_protect_proc()
437 *ret_badness = 1; in assess_protect_proc()
439 *ret_badness = 0; in assess_protect_proc()
441 *ret_badness = 3; in assess_protect_proc()
452 uint64_t *ret_badness, in assess_proc_subset() argument
455 assert(ret_badness); in assess_proc_subset()
458 *ret_badness = !streq_ptr(info->proc_subset, "pid"); in assess_proc_subset()
468 uint64_t *ret_badness, in assess_notify_access() argument
471 assert(ret_badness); in assess_notify_access()
474 *ret_badness = streq_ptr(info->notify_access, "all"); in assess_notify_access()
484 uint64_t *ret_badness, in assess_remove_ipc() argument
487 assert(ret_badness); in assess_remove_ipc()
491 *ret_badness = UINT64_MAX; in assess_remove_ipc()
493 *ret_badness = !info->remove_ipc; in assess_remove_ipc()
503 uint64_t *ret_badness, in assess_supplementary_groups() argument
506 assert(ret_badness); in assess_supplementary_groups()
510 *ret_badness = UINT64_MAX; in assess_supplementary_groups()
512 *ret_badness = !strv_isempty(info->supplementary_groups); in assess_supplementary_groups()
522 uint64_t *ret_badness, in assess_restrict_namespaces() argument
525 assert(ret_badness); in assess_restrict_namespaces()
528 *ret_badness = !!(info->restrict_namespaces & a->parameter); in assess_restrict_namespaces()
540 uint64_t *ret_badness, in assess_system_call_architectures() argument
546 assert(ret_badness); in assess_system_call_architectures()
564 *ret_badness = b; in assess_system_call_architectures()
607 uint64_t *ret_badness, in assess_system_call_filter() argument
612 assert(ret_badness); in assess_system_call_filter()
660 *ret_badness = b; in assess_system_call_filter()
672 uint64_t *ret_badness, in assess_ip_address_allow() argument
679 assert(ret_badness); in assess_ip_address_allow()
702 *ret_badness = b; in assess_ip_address_allow()
712 uint64_t *ret_badness, in assess_device_allow() argument
719 assert(ret_badness); in assess_device_allow()
745 *ret_badness = b; in assess_device_allow()
755 uint64_t *ret_badness, in assess_ambient_capabilities() argument
758 assert(ret_badness); in assess_ambient_capabilities()
761 *ret_badness = info->ambient_capabilities != 0; in assess_ambient_capabilities()