diff options
author | Paul Moore <pmoore@redhat.com> | 2012-03-21 12:35:30 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2012-03-21 12:35:30 -0400 |
commit | f746d17df9b5782c9e0227e0ad6113104d04bb68 (patch) | |
tree | 5ea331fcc99431f4f732a17f97aa05d0d205596a /src/api.c | |
parent | 417fc228c531a5b8947f3663db29b22ed5971547 (diff) | |
download | libseccomp-f746d17df9b5782c9e0227e0ad6113104d04bb68.tar.gz |
api: allow a 16bit value to be used with SCMP_ACT_TRACE
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'src/api.c')
-rw-r--r-- | src/api.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -59,7 +59,7 @@ static int _seccomp_action_valid(uint32_t action) return 0; else if (action == SCMP_ACT_ERRNO(action & 0x0000ffff)) return 0; - else if (action == SCMP_ACT_TRACE) + else if (action == SCMP_ACT_TRACE(action & 0x0000ffff)) return 0; else if (action == SCMP_ACT_ALLOW) return 0; |