Mike Frysinger | 50e31fa | 2018-01-19 18:59:49 -0500 | [diff] [blame] | 1 | /* Copyright 2016 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. |
Jorge Lucangeli Obes | 1365061 | 2016-09-02 11:27:29 -0400 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #include "syscall_wrapper.h" |
| 7 | |
| 8 | #define _GNU_SOURCE |
| 9 | #include <sys/syscall.h> |
| 10 | #include <unistd.h> |
| 11 | |
| 12 | int sys_seccomp(unsigned int operation, unsigned int flags, void *args) |
| 13 | { |
| 14 | return syscall(SYS_seccomp, operation, flags, args); |
| 15 | } |