mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-14 07:13:46 +01:00
18 lines
465 B
C
18 lines
465 B
C
/* SPDX-License-Identifier: Zlib */
|
|
|
|
#ifndef ZATHURA_SECCOMP_FILTERS_H
|
|
#define ZATHURA_SECCOMP_FILTERS_H
|
|
|
|
#include "zathura.h"
|
|
|
|
/* basic filter */
|
|
/* this mode allows normal use */
|
|
/* only dangerous syscalls are blacklisted */
|
|
int seccomp_enable_basic_filter(void);
|
|
|
|
/* strict filter before document parsing */
|
|
/* this filter is to be enabled after most of the initialisation of zathura has finished */
|
|
int seccomp_enable_strict_filter(zathura_t* zathura);
|
|
|
|
#endif
|