summaryrefslogtreecommitdiff
path: root/src/arch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch.c')
-rw-r--r--src/arch.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/arch.c b/src/arch.c
index 994b4fb..47a539d 100644
--- a/src/arch.c
+++ b/src/arch.c
@@ -25,6 +25,7 @@
#include <string.h>
#include <asm/bitsperlong.h>
#include <linux/audit.h>
+#include <stdbool.h>
#include <seccomp.h>
@@ -252,8 +253,7 @@ int arch_syscall_translate(const struct arch_def *arch, int *syscall)
* failure.
*
*/
-int arch_syscall_rewrite(const struct arch_def *arch, unsigned int strict,
- int *syscall)
+int arch_syscall_rewrite(const struct arch_def *arch, bool strict, int *syscall)
{
int sys = *syscall;
@@ -295,8 +295,7 @@ int arch_syscall_rewrite(const struct arch_def *arch, unsigned int strict,
*
*/
int arch_filter_rewrite(const struct arch_def *arch,
- unsigned int strict,
- int *syscall, struct db_api_arg *chain)
+ bool strict, int *syscall, struct db_api_arg *chain)
{
int sys = *syscall;