2018-03-11 16:29:26 +01:00
|
|
|
/* See LICENSE file for license and copyright information */
|
|
|
|
|
2018-03-11 15:59:47 +01:00
|
|
|
#ifndef ZATHURA_SECCOMP_FILTERS_H
|
|
|
|
#define ZATHURA_SECCOMP_FILTERS_H
|
2017-12-30 13:46:07 +01:00
|
|
|
|
|
|
|
/* basic filter */
|
|
|
|
/* this mode allows normal use */
|
|
|
|
/* only dangerous syscalls are blacklisted */
|
2018-02-22 14:28:22 +01:00
|
|
|
int seccomp_enable_basic_filter(void);
|
2017-12-30 13:46:07 +01:00
|
|
|
|
|
|
|
/* strict filter before document parsing */
|
|
|
|
/* this filter is to be enabled after most of the initialisation of zathura has finished */
|
2018-01-28 15:50:00 +01:00
|
|
|
int seccomp_enable_strict_filter(void);
|
2017-12-30 13:46:07 +01:00
|
|
|
|
|
|
|
#endif
|