From 60d836d3726332d1a13cf2e62806471ccbdb5e50 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 13 Aug 2020 14:48:49 +0200 Subject: executor: fix style checking test The regexp for empty suppressions matches _everything_... Don't match suppression if it's empty. --- executor/common_linux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor/common_linux.h') diff --git a/executor/common_linux.h b/executor/common_linux.h index 8f38fabd7..b9a67418b 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -3482,7 +3482,7 @@ static int do_sandbox_setuid(void) if (syscall(SYS_setresuid, nobody, nobody, nobody)) fail("failed to setresuid"); - // This is required to open /proc/self/* files. + // This is required to open /proc/self/ files. // Otherwise they are owned by root and we can't open them after setuid. // See task_dump_owner function in kernel. prctl(PR_SET_DUMPABLE, 1, 0, 0, 0); -- cgit mrf-deployment