| Index: sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc
|
| diff --git a/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc b/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc
|
| index b57ad0106eabbac7671835b19a19e999fd452026..83e848976b3a7a5b29c84289a07382c6222d315d 100644
|
| --- a/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc
|
| +++ b/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc
|
| @@ -42,9 +42,9 @@ using sandbox::bpf_dsl::ResultExpr;
|
| class RestrictClockIdPolicy : public bpf_dsl::Policy {
|
| public:
|
| RestrictClockIdPolicy() {}
|
| - virtual ~RestrictClockIdPolicy() {}
|
| + ~RestrictClockIdPolicy() override {}
|
|
|
| - virtual ResultExpr EvaluateSyscall(int sysno) const override {
|
| + ResultExpr EvaluateSyscall(int sysno) const override {
|
| switch (sysno) {
|
| case __NR_clock_gettime:
|
| case __NR_clock_getres:
|
| @@ -145,9 +145,9 @@ BPF_DEATH_TEST_C(ParameterRestrictions,
|
| class RestrictSchedPolicy : public bpf_dsl::Policy {
|
| public:
|
| RestrictSchedPolicy() {}
|
| - virtual ~RestrictSchedPolicy() {}
|
| + ~RestrictSchedPolicy() override {}
|
|
|
| - virtual ResultExpr EvaluateSyscall(int sysno) const override {
|
| + ResultExpr EvaluateSyscall(int sysno) const override {
|
| switch (sysno) {
|
| case __NR_sched_getparam:
|
| return RestrictSchedTarget(getpid(), sysno);
|
|
|