diff options
author | 2020-08-12 11:34:32 -0500 | |
---|---|---|
committer | 2020-08-12 11:34:32 -0500 | |
commit | 224d86bcddb4fad8399da33f046e678037a89e05 (patch) | |
tree | e331ef6b99f91601526f499a23bd5e0c2e913e7f /src/include/seccomp.h | |
parent | Added youtube-viewer profile with Gtk frontends (#3542) (diff) | |
parent | seccomp: logging (diff) | |
download | firejail-224d86bcddb4fad8399da33f046e678037a89e05.tar.gz firejail-224d86bcddb4fad8399da33f046e678037a89e05.tar.zst firejail-224d86bcddb4fad8399da33f046e678037a89e05.zip |
Merge pull request #3569 from topimiettinen/seccomp-log
seccomp: logging
Diffstat (limited to 'src/include/seccomp.h')
-rw-r--r-- | src/include/seccomp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/seccomp.h b/src/include/seccomp.h index 50920ce3a..29b858c70 100644 --- a/src/include/seccomp.h +++ b/src/include/seccomp.h | |||
@@ -274,7 +274,7 @@ struct seccomp_data { | |||
274 | #define RETURN_ERRNO(nr) \ | 274 | #define RETURN_ERRNO(nr) \ |
275 | BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ERRNO | nr) | 275 | BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ERRNO | nr) |
276 | 276 | ||
277 | extern int arg_seccomp_error_action; // error action: errno or kill | 277 | extern int arg_seccomp_error_action; // error action: errno, log or kill |
278 | #define KILL_OR_RETURN_ERRNO \ | 278 | #define KILL_OR_RETURN_ERRNO \ |
279 | BPF_STMT(BPF_RET+BPF_K, arg_seccomp_error_action) | 279 | BPF_STMT(BPF_RET+BPF_K, arg_seccomp_error_action) |
280 | 280 | ||