seccomp-filters.h 429 Bytes
Newer Older
1
/* SPDX-License-Identifier: Zlib */
2

3 4
#ifndef ZATHURA_SECCOMP_FILTERS_H
#define ZATHURA_SECCOMP_FILTERS_H
valoq's avatar
valoq committed
5 6 7 8

/* basic filter */
/* this mode allows normal use */
/* only dangerous syscalls are blacklisted */
9
int seccomp_enable_basic_filter(void);
valoq's avatar
valoq committed
10 11 12

/* strict filter before document parsing */
/* this filter is to be enabled after most of the initialisation of zathura has finished */
valoq's avatar
valoq committed
13
int seccomp_enable_strict_filter(void);
valoq's avatar
valoq committed
14 15

#endif