diff options
Diffstat (limited to 'samples/seccomp')
-rw-r--r-- | samples/seccomp/Makefile | 1 | ||||
-rw-r--r-- | samples/seccomp/bpf-direct.c | 1 | ||||
-rw-r--r-- | samples/seccomp/bpf-fancy.c | 1 | ||||
-rw-r--r-- | samples/seccomp/bpf-helper.c | 1 | ||||
-rw-r--r-- | samples/seccomp/bpf-helper.h | 1 | ||||
-rw-r--r-- | samples/seccomp/dropper.c | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/samples/seccomp/Makefile b/samples/seccomp/Makefile index bf7cc6b0dc19..19a870eed82b 100644 --- a/samples/seccomp/Makefile +++ b/samples/seccomp/Makefile | |||
@@ -1,3 +1,4 @@ | |||
1 | # SPDX-License-Identifier: GPL-2.0 | ||
1 | # kbuild trick to avoid linker error. Can be omitted if a module is built. | 2 | # kbuild trick to avoid linker error. Can be omitted if a module is built. |
2 | obj- := dummy.o | 3 | obj- := dummy.o |
3 | 4 | ||
diff --git a/samples/seccomp/bpf-direct.c b/samples/seccomp/bpf-direct.c index 151ec3f52189..c09e4a17ac1a 100644 --- a/samples/seccomp/bpf-direct.c +++ b/samples/seccomp/bpf-direct.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * Seccomp filter example for x86 (32-bit and 64-bit) with BPF macros | 3 | * Seccomp filter example for x86 (32-bit and 64-bit) with BPF macros |
3 | * | 4 | * |
diff --git a/samples/seccomp/bpf-fancy.c b/samples/seccomp/bpf-fancy.c index e8b24f443709..1ccb435025b6 100644 --- a/samples/seccomp/bpf-fancy.c +++ b/samples/seccomp/bpf-fancy.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * Seccomp BPF example using a macro-based generator. | 3 | * Seccomp BPF example using a macro-based generator. |
3 | * | 4 | * |
diff --git a/samples/seccomp/bpf-helper.c b/samples/seccomp/bpf-helper.c index 1ef0f4d72898..ae260d77a868 100644 --- a/samples/seccomp/bpf-helper.c +++ b/samples/seccomp/bpf-helper.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * Seccomp BPF helper functions | 3 | * Seccomp BPF helper functions |
3 | * | 4 | * |
diff --git a/samples/seccomp/bpf-helper.h b/samples/seccomp/bpf-helper.h index 1d8de9edd858..0cc9816fe8e8 100644 --- a/samples/seccomp/bpf-helper.h +++ b/samples/seccomp/bpf-helper.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
1 | /* | 2 | /* |
2 | * Example wrapper around BPF macros. | 3 | * Example wrapper around BPF macros. |
3 | * | 4 | * |
diff --git a/samples/seccomp/dropper.c b/samples/seccomp/dropper.c index 68325ca5e71c..cc0648eb389e 100644 --- a/samples/seccomp/dropper.c +++ b/samples/seccomp/dropper.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * Naive system call dropper built on seccomp_filter. | 3 | * Naive system call dropper built on seccomp_filter. |
3 | * | 4 | * |