xref: /aosp_15_r20/external/minijail/libsyscalls.h (revision 4b9c6d91573e8b3a96609339b46361b5476dd0f9)
1*4b9c6d91SCole Faust /* Copyright 2011 The ChromiumOS Authors
2*4b9c6d91SCole Faust  * Use of this source code is governed by a BSD-style license that can be
3*4b9c6d91SCole Faust  * found in the LICENSE file.
4*4b9c6d91SCole Faust  */
5*4b9c6d91SCole Faust #ifndef MINIJAIL_LIBSYSCALLS_H_
6*4b9c6d91SCole Faust #define MINIJAIL_LIBSYSCALLS_H_
7*4b9c6d91SCole Faust #include <sys/types.h>
8*4b9c6d91SCole Faust 
9*4b9c6d91SCole Faust struct syscall_entry {
10*4b9c6d91SCole Faust 	const char *name;
11*4b9c6d91SCole Faust 	int nr;
12*4b9c6d91SCole Faust };
13*4b9c6d91SCole Faust 
14*4b9c6d91SCole Faust extern const struct syscall_entry syscall_table[];
15*4b9c6d91SCole Faust extern const size_t syscall_table_size;
16*4b9c6d91SCole Faust 
17*4b9c6d91SCole Faust #endif /* MINIJAIL_LIBSYSCALLS_H_ */
18