From 88eadbf31fe25dcd7c224a5d92f71c79ccf6c9d3 Mon Sep 17 00:00:00 2001 From: Topi Miettinen Date: Sat, 14 Mar 2020 00:07:06 +0200 Subject: seccomp: allow defining separate filters for 32-bit arch System calls (names and numbers) are not exactly the same for 32 bit and 64 bit architectures. Let's allow defining separate filters for 32-bit arch using seccomp.32, seccomp.32.drop, seccomp.32.keep. This is useful for mixed 64/32 bit application environments like Steam and Wine. Implement protocol and mdwx filtering also for 32 bit arch. It's still better to block secondary archs completely if not needed. Lists of supported system calls are also updated. Warn if preload libraries would be needed due to trace, tracelog or postexecseccomp (seccomp.drop=execve etc), because a 32-bit dynamic linker does not understand the 64 bit preload libraries. Closes #3267. Signed-off-by: Topi Miettinen --- src/firemon/procevent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/firemon/procevent.c') diff --git a/src/firemon/procevent.c b/src/firemon/procevent.c index c823943c0..7dd08444e 100644 --- a/src/firemon/procevent.c +++ b/src/firemon/procevent.c @@ -98,7 +98,7 @@ static int pid_is_firejail(pid_t pid) { "apparmor.print", "caps.print", "cpu.print", "dns.print", "fs.print", "netfilter.print", "netfilter6.print", "profile.print", "protocol.print", "seccomp.print", // debug - "debug-caps", "debug-errnos", "debug-protocols", "debug-syscalls", + "debug-caps", "debug-errnos", "debug-protocols", "debug-syscalls", "debug-syscalls32", // file transfer "ls", "get", "put", // stats -- cgit v1.2.3-54-g00ecf