summaryrefslogtreecommitdiffstats
path: root/sandbox/linux/seccomp/gettid.cc
blob: 5503c8cd9e16d9beee0908aa82ce1e97c020235f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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 {

int Sandbox::sandbox_gettid() {
  Debug::syscall(__NR_gettid, "Executing handler");
  return tid();
}

} // namespace