Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Issue 289193003: Convert a bunch of BPF_TEST tests to use BPF_TEST_C (Closed)

Created:
6 years, 7 months ago by mdempsky
Modified:
6 years, 7 months ago
CC:
chromium-reviews, agl, jln+watch_chromium.org
Visibility:
Public.

Description

Convert a bunch of BPF_TEST tests to use BPF_TEST_C This CL converts all BPF_TEST tests that didn't make use of BPF_AUX to instead use BPF_TEST_C and a proper SandboxBPFPolicy instead of a SyscallEvaluator. Simultaneously, it removes a lot of unnecessary code that was only necessary to support these tests that don't use BPF_AUX. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272014

Patch Set 1 #

Patch Set 2 : Fix demo.cc too #

Patch Set 3 : Rebase (demo.cc fix pushed into parent CL) #

Total comments: 1

Patch Set 4 : Add DISALLOW_COPY_AND_ASSIGN as appropriate #

Patch Set 5 : Add default constructors too #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -204 lines) Patch
M sandbox/linux/seccomp-bpf/bpf_tester_compatibility_delegate.h View 3 chunks +5 lines, -29 lines 0 comments Download
M sandbox/linux/seccomp-bpf/bpf_tests.h View 1 chunk +3 lines, -5 lines 0 comments Download
M sandbox/linux/seccomp-bpf/bpf_tests_unittest.cc View 1 chunk +0 lines, -17 lines 0 comments Download
M sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc View 1 2 3 4 25 chunks +239 lines, -153 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
mdempsky
Apologies in advance for this boring cleanup CL. :) I tried to structure things to ...
6 years, 7 months ago (2014-05-16 23:39:30 UTC) #1
jln (very slow on Chromium)
lgtm In this very localized unittest, I think it would be silly to add the ...
6 years, 7 months ago (2014-05-19 21:22:20 UTC) #2
mdempsky
On 2014/05/19 21:22:20, jln wrote: > I'm not sure what to do here. Maybe a ...
6 years, 7 months ago (2014-05-19 21:47:15 UTC) #3
mdempsky
The CQ bit was checked by mdempsky@chromium.org
6 years, 7 months ago (2014-05-21 04:24:42 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mdempsky@chromium.org/289193003/80001
6 years, 7 months ago (2014-05-21 04:26:20 UTC) #5
commit-bot: I haz the power
6 years, 7 months ago (2014-05-21 23:29:51 UTC) #6
Message was sent while issue was closed.
Change committed as 272014

Powered by Google App Engine
This is Rietveld 408576698