Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef SANDBOX_LINUX_SERVICES_KERNEL_RETURN_VALUE_HELPERS_H | |
|
jln (very slow on Chromium)
2014/05/28 00:06:57
Nit: the header guard requires a trailing "_"
nedeljko
2014/05/29 14:06:45
Done.
| |
| 6 #define SANDBOX_LINUX_SERVICES_KERNEL_RETURN_VALUE_HELPERS_H | |
| 7 | |
| 8 #include <signal.h> | |
| 9 | |
| 10 namespace sandbox { | |
| 11 | |
| 12 int ErrnoToKernelRet(int kernel_ret); | |
|
jln (very slow on Chromium)
2014/05/28 00:06:57
Please, document both function in this header file
nedeljko
2014/05/29 14:06:45
Done.
| |
| 13 void PutValueInUcontext(int ret_val, ucontext_t* ctx); | |
| 14 | |
| 15 } // namespace sandbox | |
| 16 | |
| 17 #endif // SANDBOX_LINUX_SERVICES_KERNEL_RETURN_VALUE_HELPERS_H | |
| OLD | NEW |