blob: 5b4239bdb7c4bc285d12b3f6ad368ead3a3c6c83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// 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_getpid() {
long long tm;
Debug::syscall(&tm, __NR_getpid, "Executing handler");
Debug::elapsed(tm, __NR_getpid);
return pid_;
}
} // namespace
|