Will Drewry | 32ac9f5 | 2011-08-18 21:36:27 -0500 | [diff] [blame] | 1 | /* Copyright (c) 2011 The Chromium OS 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 MINIJAIL_LIBSYSCALLS_H_ |
| 6 | #define MINIJAIL_LIBSYSCALLS_H_ |
| 7 | #include <sys/types.h> |
| 8 | |
| 9 | struct syscall_entry { |
Jorge Lucangeli Obes | db0bc67 | 2016-08-03 10:45:21 -0400 | [diff] [blame] | 10 | const char *name; |
| 11 | int nr; |
Will Drewry | 32ac9f5 | 2011-08-18 21:36:27 -0500 | [diff] [blame] | 12 | }; |
| 13 | |
| 14 | extern const struct syscall_entry syscall_table[]; |
Jorge Lucangeli Obes | 524c040 | 2012-01-17 11:30:23 -0800 | [diff] [blame] | 15 | |
Will Drewry | 32ac9f5 | 2011-08-18 21:36:27 -0500 | [diff] [blame] | 16 | #endif /* MINIJAIL_LIBSYSCALLS_H_ */ |