Commit 7ef29bdc authored by Nico Weber's avatar Nico Weber

Work on getting things built with -Wimplicit-fallthrough. This CL was uploaded by git cl split.

Bug: 177475
R=rsesek@chromium.org

Change-Id: I3c346f2eabb11468a66b331213dacdcde19d0b4a
Reviewed-on: https://chromium-review.googlesource.com/889762Reviewed-by: default avatarRobert Sesek <rsesek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532114}
parent 214cd28d
...@@ -117,6 +117,7 @@ ResultExpr BrokerProcessPolicy::EvaluateSyscall(int sysno) const { ...@@ -117,6 +117,7 @@ ResultExpr BrokerProcessPolicy::EvaluateSyscall(int sysno) const {
allowed_command_set_.test(sandbox::syscall_broker::COMMAND_UNLINK)) { allowed_command_set_.test(sandbox::syscall_broker::COMMAND_UNLINK)) {
return Allow(); return Allow();
} }
break;
#endif #endif
#if defined(__NR_unlinkat) #if defined(__NR_unlinkat)
case __NR_unlinkat: case __NR_unlinkat:
...@@ -125,6 +126,7 @@ ResultExpr BrokerProcessPolicy::EvaluateSyscall(int sysno) const { ...@@ -125,6 +126,7 @@ ResultExpr BrokerProcessPolicy::EvaluateSyscall(int sysno) const {
allowed_command_set_.test(sandbox::syscall_broker::COMMAND_UNLINK)) { allowed_command_set_.test(sandbox::syscall_broker::COMMAND_UNLINK)) {
return Allow(); return Allow();
} }
break;
#endif #endif
default: default:
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment