X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=blobdiff_plain;f=jail%2Fseccomp.h;h=603281297234813be3f6e7325c982bdf492ae46e;hp=c44a607271f502398ad45a1a0c4a0b86a164c2b7;hb=17026f4683b2a99085779e6bec3a2e67479089e0;hpb=2fbf65b21961c8ea9d31f67d853992ac18dfad42 diff --git a/jail/seccomp.h b/jail/seccomp.h index c44a607..6032812 100644 --- a/jail/seccomp.h +++ b/jail/seccomp.h @@ -10,10 +10,17 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ +#ifndef _JAIL_SECCOMP_H_ +#define _JAIL_SECCOMP_H_ + +#include +#include #define INFO(fmt, ...) do { \ - syslog(0,"preload-seccomp: "fmt, ## __VA_ARGS__); \ + syslog(LOG_INFO,"preload-seccomp: "fmt, ## __VA_ARGS__); \ fprintf(stderr,"preload-seccomp: "fmt, ## __VA_ARGS__); \ } while (0) int install_syscall_filter(const char *argv, const char *file); + +#endif