• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * seccomp.h - seccomp functions
3  * Copyright (c) 2013 The Chromium Authors. All rights reserved.
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 #ifndef SECCOMP_H
8 #define SECCOMP_H
9 
10 #include "config.h"
11 
12 #include "src/seccomp-compat.h"
13 
14 #ifdef HAVE_SECCOMP_FILTER
15 int enable_setter_seccomp (void);
16 #else  /* HAVE_SECCOMP_FILTER */
17 static
enable_setter_seccomp(void)18 inline int enable_setter_seccomp (void)
19 {
20   return 0;
21 }
22 #endif  /* !HAVE_SECCOMP_FILTER */
23 
24 #endif
25