diff options
author | 2019-02-06 16:13:28 +0100 | |
---|---|---|
committer | 2019-02-06 16:13:28 +0100 | |
commit | f77127f5b10f3b19c4c152b49018b24ff4d3590a (patch) | |
tree | e43681df9f06fdaac233265034cd30a70a375f40 /src/fsec-print | |
parent | strncmp byte count fixes (diff) | |
parent | fix small memleak (diff) | |
download | firejail-f77127f5b10f3b19c4c152b49018b24ff4d3590a.tar.gz firejail-f77127f5b10f3b19c4c152b49018b24ff4d3590a.tar.zst firejail-f77127f5b10f3b19c4c152b49018b24ff4d3590a.zip |
Merge branch 'master' of https://github.com/netblue30/firejail
Diffstat (limited to 'src/fsec-print')
-rw-r--r-- | src/fsec-print/print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fsec-print/print.c b/src/fsec-print/print.c index 1042f0c3e..1756d60dc 100644 --- a/src/fsec-print/print.c +++ b/src/fsec-print/print.c | |||
@@ -206,7 +206,7 @@ static void bpf_decode_args(const struct sock_filter *bpf, unsigned int line) { | |||
206 | printf("data.syscall-number"); | 206 | printf("data.syscall-number"); |
207 | syscall_loaded = 1; | 207 | syscall_loaded = 1; |
208 | } | 208 | } |
209 | else if (bpf->k == offsetof(struct seccomp_data, nr)) | 209 | else if (bpf->k == offsetof(struct seccomp_data, instruction_pointer)) |
210 | printf("data.instruction_pointer"); | 210 | printf("data.instruction_pointer"); |
211 | else { | 211 | else { |
212 | int index = bpf->k - offsetof(struct seccomp_data, args); | 212 | int index = bpf->k - offsetof(struct seccomp_data, args); |