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()
build_dependencies += seccomp
defines += '-DWITH_SECCOMP'
additional_sources += files('zathura/libsec.c')
additional_sources += files('zathura/seccomp-filters.c')
endif
# generate version header file

View File

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

View File

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

View File

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

View File

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