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

Unified Diff: sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc

Issue 1423803003: Explicitly defines the kClockSystemTrace in the syscall parameters test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removes test altogether Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5c3f785d070de5defa8238db35ab57763d7262f4..280211a349c5a80fa009fa4ced1af84eabf62866 100644
--- a/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc
+++ b/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc
@@ -92,18 +92,6 @@ BPF_DEATH_TEST_C(ParameterRestrictions,
clock_gettime(CLOCK_MONOTONIC_RAW, &ts);
}
-#if defined(OS_LINUX)
-
-BPF_DEATH_TEST_C(ParameterRestrictions,
- clock_gettime_crash_system_trace,
- DEATH_SEGV_MESSAGE(sandbox::GetErrorMessageContentForTests()),
- RestrictClockIdPolicy) {
- struct timespec ts;
- clock_gettime(base::TraceTicks::kClockSystemTrace, &ts);
-}
-
-#endif // defined(OS_LINUX)
-
#if !defined(OS_ANDROID)
BPF_DEATH_TEST_C(ParameterRestrictions,
clock_gettime_crash_cpu_clock,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698