Skip to content

Commit

Permalink
Merge pull request containers#865 from TeknoVenus/seccomp-compilation
Browse files Browse the repository at this point in the history
Fix compilation error with seccomp
  • Loading branch information
giuseppe authored Feb 8, 2022
2 parents 71aa683 + 9854c71 commit c673abb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
# define SECCOMP_SET_MODE_FILTER 1
# endif

#ifndef __NR_seccomp
# define __NR_seccomp 0xffff // seccomp syscall number unknown for this architecture
#endif

#endif

#ifdef HAVE_ERROR_H
Expand Down

0 comments on commit c673abb

Please sign in to comment.