aboutsummaryrefslogtreecommitdiff
path: root/syscall_wrapper.c
blob: 5d579407259d8ce803734d242e1b3f3a4b15cd2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Copyright 2016 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "syscall_wrapper.h"

#define _GNU_SOURCE
#include <sys/syscall.h>
#include <unistd.h>

int sys_seccomp(unsigned int operation, unsigned int flags, void *args)
{
	return syscall(SYS_seccomp, operation, flags, args);
}