blob: 29583ceda51d462cc68916c3d21a997d5468cd8a [file] [log] [blame]
Will Drewry32ac9f52011-08-18 21:36:27 -05001/* 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
9struct syscall_entry {
Jorge Lucangeli Obesdb0bc672016-08-03 10:45:21 -040010 const char *name;
11 int nr;
Will Drewry32ac9f52011-08-18 21:36:27 -050012};
13
14extern const struct syscall_entry syscall_table[];
Nicole Anderson-Au461d8fb2020-11-09 22:53:40 +000015extern const size_t syscall_table_size;
Jorge Lucangeli Obes524c0402012-01-17 11:30:23 -080016
Nicole Anderson-Au461d8fb2020-11-09 22:53:40 +000017#endif /* MINIJAIL_LIBSYSCALLS_H_ */