aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_linux.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-08-13 14:48:49 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-08-13 15:37:26 +0200
commit60d836d3726332d1a13cf2e62806471ccbdb5e50 (patch)
treed2a3ea5ac4c45360fec8b1f4fa34e8d1085af826 /executor/common_linux.h
parentcc59e7e4adf110e2ddd4f8ae57df8ecc7b369b38 (diff)
executor: fix style checking test
The regexp for empty suppressions matches _everything_... Don't match suppression if it's empty.
Diffstat (limited to 'executor/common_linux.h')
-rw-r--r--executor/common_linux.h2
1 files changed, 1 insertions, 1 deletions
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);