Lines Matching refs:filter
1071 int seccomp_load_syscall_filter_set_raw(uint32_t default_action, Hashmap* filter, uint32_t action, … in seccomp_load_syscall_filter_set_raw() argument
1078 if (hashmap_isempty(filter) && default_action == SCMP_ACT_ALLOW) in seccomp_load_syscall_filter_set_raw()
1091 HASHMAP_FOREACH_KEY(val, syscall_id, filter) { in seccomp_load_syscall_filter_set_raw()
1136 Hashmap *filter, in seccomp_parse_syscall_filter() argument
1145 assert(filter); in seccomp_parse_syscall_filter()
1169 …r = seccomp_parse_syscall_filter(i, errno_num, filter, flags &~ SECCOMP_PARSE_LOG, unit, filename,… in seccomp_parse_syscall_filter()
1191 r = hashmap_put(filter, INT_TO_PTR(id + 1), INT_TO_PTR(errno_num)); in seccomp_parse_syscall_filter()
1197 … assert_se(hashmap_update(filter, INT_TO_PTR(id + 1), INT_TO_PTR(errno_num)) == 0); in seccomp_parse_syscall_filter()
1203 (void) hashmap_remove(filter, INT_TO_PTR(id + 1)); in seccomp_parse_syscall_filter()
1879 int seccomp_filter_set_add(Hashmap *filter, bool add, const SyscallFilterSet *set) { in seccomp_filter_set_add() argument
1894 r = seccomp_filter_set_add(filter, add, more); in seccomp_filter_set_add()
1907 r = hashmap_put(filter, INT_TO_PTR(id + 1), INT_TO_PTR(-1)); in seccomp_filter_set_add()
1911 (void) hashmap_remove(filter, INT_TO_PTR(id + 1)); in seccomp_filter_set_add()