diff options
Diffstat (limited to 'sandbox/linux/seccomp/gettid.cc')
-rw-r--r-- | sandbox/linux/seccomp/gettid.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sandbox/linux/seccomp/gettid.cc b/sandbox/linux/seccomp/gettid.cc deleted file mode 100644 index 699774a..0000000 --- a/sandbox/linux/seccomp/gettid.cc +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "debug.h" -#include "sandbox_impl.h" - -namespace playground { - -long Sandbox::sandbox_gettid() { - long long tm; - Debug::syscall(&tm, __NR_gettid, "Executing handler"); - pid_t t = tid(); - Debug::elapsed(tm, __NR_gettid); - return t; -} - -} // namespace |