[PATCH] Modify hardcode 2 to SECCOMP_MODE_FILTER

2020-12-17 Thread Zhuling
From: zhuling Signed-off-by: zhuling --- samples/bpf/tracex5_user.c | 2 +- samples/seccomp/dropper.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/bpf/tracex5_user.c b/samples/bpf/tracex5_user.c index c17d3fb..417753f 100644 --- a/samples/bpf/tracex5_user.c

[PATCH] Modify hardcode to SECCOMP_MODE_FILTER

2020-12-17 Thread Zhuling
From: zhuling bpf/seccomp: modify hardcode 2 to SECCOMP_MODE_FILTER while the hardcode 2 has been define in seccomp_bpf.c, we should use the definitions(SECCOMP_MODE_FILTER) instead of hardcode 2. Signed-off-by: zhuling --- samples/bpf/tracex5_user.c | 2 +- samples/seccomp/dropper.c