Rename to seccomp-filters

This commit is contained in:
Sebastian Ramacher 2018-03-11 15:59:47 +01:00
parent 6f14dfb914
commit d5030814c0
5 changed files with 6 additions and 7 deletions

View File

@ -91,7 +91,7 @@ endif
if get_option('enable-seccomp') and seccomp.found() if get_option('enable-seccomp') and seccomp.found()
build_dependencies += seccomp build_dependencies += seccomp
defines += '-DWITH_SECCOMP' defines += '-DWITH_SECCOMP'
additional_sources += files('zathura/libsec.c') additional_sources += files('zathura/seccomp-filters.c')
endif endif
# generate version header file # generate version header file

View File

@ -15,7 +15,7 @@
#include "render.h" #include "render.h"
#ifdef WITH_SECCOMP #ifdef WITH_SECCOMP
#include "libsec.h" #include "seccomp-filters.h"
#endif #endif
struct zathura_link_s { struct zathura_link_s {

View File

@ -18,9 +18,8 @@
#ifdef WITH_SYNCTEX #ifdef WITH_SYNCTEX
#include "synctex.h" #include "synctex.h"
#endif #endif
#ifdef WITH_SECCOMP #ifdef WITH_SECCOMP
#include "libsec.h" #include "seccomp-filters.h"
#endif #endif
/* Init locale */ /* Init locale */

View File

@ -1,4 +1,4 @@
#include "libsec.h" #include "seccomp-filters.h"
#include <stdio.h> #include <stdio.h>
#ifdef WITH_SECCOMP #ifdef WITH_SECCOMP

View File

@ -1,5 +1,5 @@
#ifndef SECCOMP_H #ifndef ZATHURA_SECCOMP_FILTERS_H
#define SECCOMP_H #define ZATHURA_SECCOMP_FILTERS_H
/* basic filter */ /* basic filter */
/* this mode allows normal use */ /* this mode allows normal use */