blob: 5f4a5f36eb370e0f35706f3e5b9fc5d1c0c9761b [file] [log] [blame]
/*
* seccomp.h - seccomp functions
* Copyright (c) 2013 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 SECCOMP_H
#define SECCOMP_H
#include "config.h"
#include "src/seccomp-compat.h"
#ifdef HAVE_SECCOMP_FILTER
int enable_setter_seccomp (void);
#else /* HAVE_SECCOMP_FILTER */
static
inline int enable_setter_seccomp (void)
{
return 0;
}
#endif /* !HAVE_SECCOMP_FILTER */
#endif