summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5b51de1)
headers must include all there dependencies, no more, no less
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
#define _GNU_SOURCE
#include <sys/types.h>
#define _GNU_SOURCE
#include <sys/types.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <dlfcn.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <dlfcn.h>
#include "seccomp.h"
#include "../preload.h"
#include "seccomp.h"
#include "../preload.h"
* found in the LICENSE file.
*/
#define _GNU_SOURCE 1
* found in the LICENSE file.
*/
#define _GNU_SOURCE 1
#include <stddef.h>
#include <stdlib.h>
#include <unistd.h>
#include <stddef.h>
#include <stdlib.h>
#include <unistd.h>
#include <libubox/utils.h>
#include <libubox/blobmsg.h>
#include <libubox/utils.h>
#include <libubox/blobmsg.h>
#ifndef _JAIL_SECCOMP_H_
#define _JAIL_SECCOMP_H_
#ifndef _JAIL_SECCOMP_H_
#define _JAIL_SECCOMP_H_
+#include <stdio.h>
+#include <syslog.h>
+
#define INFO(fmt, ...) do { \
syslog(LOG_INFO,"preload-seccomp: "fmt, ## __VA_ARGS__); \
fprintf(stderr,"preload-seccomp: "fmt, ## __VA_ARGS__); \
#define INFO(fmt, ...) do { \
syslog(LOG_INFO,"preload-seccomp: "fmt, ## __VA_ARGS__); \
fprintf(stderr,"preload-seccomp: "fmt, ## __VA_ARGS__); \