zathura/zathura/seccomp-filters.h
2022-04-17 18:28:34 +02:00

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