mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 18:33:47 +01:00
Rename to seccomp-filters
This commit is contained in:
parent
6f14dfb914
commit
d5030814c0
@ -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
|
||||||
|
@ -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 {
|
||||||
|
@ -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 */
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "libsec.h"
|
#include "seccomp-filters.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifdef WITH_SECCOMP
|
#ifdef WITH_SECCOMP
|
@ -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 */
|
Loading…
Reference in New Issue
Block a user