Skip to content

Commit 9767554

Browse files
committed
Always link to latest kernel docs
1 parent 4c52f6f commit 9767554

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/seccomp/seccomp_trap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ int user_trap_syscall(int nr, unsigned int flags)
7474
{
7575
struct sock_filter filter[] = {
7676
// Check that architecture matches
77-
// https://www.kernel.org/doc/html/v5.0/userspace-api/seccomp_filter.html#pitfalls
77+
// https://www.kernel.org/doc/html/latest/userspace-api/seccomp_filter.html#pitfalls
7878
BPF_STMT(BPF_LD+BPF_W+BPF_ABS, (offsetof(struct seccomp_data, arch))),
7979
BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, AUDIT_ARCH_X86_64, 0, 2),
8080
BPF_STMT(BPF_LD+BPF_W+BPF_ABS, (offsetof(struct seccomp_data, nr))),

0 commit comments

Comments
 (0)