mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 13:05:59 +01:00
15 lines
454 B
C
15 lines
454 B
C
/* See LICENSE file for license and copyright information */
|
|
|
|
#ifndef ZATHURA_SECCOMP_FILTERS_H
|
|
#define ZATHURA_SECCOMP_FILTERS_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(void);
|
|
|
|
#endif
|