projects
/
project
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
procd: Replace strerror(errno) with %m.
[project/procd.git]
/
jail
/
seccomp.h
diff --git
a/jail/seccomp.h
b/jail/seccomp.h
index
6032812
..
24c1dd7
100644
(file)
--- a/
jail/seccomp.h
+++ b/
jail/seccomp.h
@@
-20,6
+20,10
@@
syslog(LOG_INFO,"preload-seccomp: "fmt, ## __VA_ARGS__); \
fprintf(stderr,"preload-seccomp: "fmt, ## __VA_ARGS__); \
} while (0)
syslog(LOG_INFO,"preload-seccomp: "fmt, ## __VA_ARGS__); \
fprintf(stderr,"preload-seccomp: "fmt, ## __VA_ARGS__); \
} while (0)
+#define ERROR(fmt, ...) do { \
+ syslog(LOG_ERR,"preload-seccomp: "fmt, ## __VA_ARGS__); \
+ fprintf(stderr,"preload-seccomp: "fmt, ## __VA_ARGS__); \
+ } while (0)
int install_syscall_filter(const char *argv, const char *file);
int install_syscall_filter(const char *argv, const char *file);