Lines Matching refs:arch
26 uint32_t arch, in add_syscall_filters() argument
163 *p, seccomp_arch_to_string(arch)); in add_syscall_filters()
171 seccomp_arch_to_string(arch)); in add_syscall_filters()
184 uint32_t arch; in setup_seccomp() local
192 SECCOMP_FOREACH_LOCAL_ARCH(arch) { in setup_seccomp()
195 log_debug("Applying allow list on architecture: %s", seccomp_arch_to_string(arch)); in setup_seccomp()
199 r = seccomp_init_for_arch(&seccomp, arch, SCMP_ACT_ERRNO(ENOSYS)); in setup_seccomp()
203 … r = add_syscall_filters(seccomp, arch, cap_list_retain, syscall_allow_list, syscall_deny_list); in setup_seccomp()
211 …r, "Failed to install filter set for architecture %s, skipping: %m", seccomp_arch_to_string(arch)); in setup_seccomp()
214 SECCOMP_FOREACH_LOCAL_ARCH(arch) { in setup_seccomp()
217 … log_debug("Applying NETLINK_AUDIT mask on architecture: %s", seccomp_arch_to_string(arch)); in setup_seccomp()
219 r = seccomp_init_for_arch(&seccomp, arch, SCMP_ACT_ALLOW); in setup_seccomp()
247 …r, "Failed to install filter set for architecture %s, skipping: %m", seccomp_arch_to_string(arch)); in setup_seccomp()