diff options
Diffstat (limited to 'sandbox/linux/seccomp/syscall.h')
-rw-r--r-- | sandbox/linux/seccomp/syscall.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sandbox/linux/seccomp/syscall.h b/sandbox/linux/seccomp/syscall.h new file mode 100644 index 0000000..1315e12 --- /dev/null +++ b/sandbox/linux/seccomp/syscall.h @@ -0,0 +1,22 @@ +// 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. + +#ifndef SYSCALL_H__ +#define SYSCALL_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +void syscallWrapper() asm("playground$syscallWrapper") +#if defined(__x86_64__) + __attribute__((visibility("internal"))) +#endif +; + +#ifdef __cplusplus +} +#endif + +#endif // SYSCALL_H__ |