diff options
author | Paul Moore <pmoore@redhat.com> | 2012-03-19 12:42:33 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2012-03-19 12:42:33 -0400 |
commit | a0b96b54918e4b66fa7bae57d8a2fe12f41b68bb (patch) | |
tree | abe284958c9942cb9410db84fd21df9224712938 /tools | |
parent | 648d0544aff247d8f0e76d81ac857f7bd1fa699a (diff) | |
download | libseccomp-a0b96b54918e4b66fa7bae57d8a2fe12f41b68bb.tar.gz |
api: add the missing trace action
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/bpf_disasm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/bpf_disasm.c b/tools/bpf_disasm.c index 62c634f..8dc4d1b 100644 --- a/tools/bpf_disasm.c +++ b/tools/bpf_disasm.c @@ -218,6 +218,8 @@ static void bpf_decode_args(const struct bpf_instr *bpf, unsigned int line) else if ((bpf->k & 0xffff0000) == 0x00030000) printf("ERRNO(%u)", (bpf->k & 0x0000ffff)); + else if (bpf->k == 0x7ff00000) + printf("TRACE"); else if (bpf->k == 0x7fff0000) printf("ALLOW"); else |