Skip to content

Commit

Permalink
Define SYS_SECCOMP if it's not available
Browse files Browse the repository at this point in the history
  • Loading branch information
michalbednarski committed Nov 12, 2017
1 parent 16a6181 commit ada5d05
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tracee/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@
#include "attribute.h"
#include "compat.h"

#ifndef SYS_SECCOMP
#define SYS_SECCOMP 1
#endif

/**
* Start @tracee->exe with the given @argv[]. This function
* returns -errno if an error occurred, otherwise 0.
Expand Down

0 comments on commit ada5d05

Please sign in to comment.