From f350a42b6b57160eaa3c4454a14f6331baa380a6 Mon Sep 17 00:00:00 2001 From: Leonardo Grasso Date: Wed, 4 Oct 2023 18:35:56 +0200 Subject: [PATCH] docs: add license header and SPDX identifier Signed-off-by: Leonardo Grasso --- .github/install-deps.sh | 18 +++++++++++------- CMakeLists.txt | 5 +++-- CMakeListsGtestInclude.cmake | 3 ++- test/libscap/CMakeLists.txt | 1 + .../engines/gvisor/gvisor_parsers.cpp | 1 + .../test_suites/userspace/common_strl.cpp | 1 + .../userspace/linux/scap_cgroup.cpp | 1 + .../test_suites/userspace/scap_event.cpp | 1 + .../test_suites/userspace/scap_ppm_sc.cpp | 1 + .../test_suites/userspace/syscall_table.cpp | 1 + 10 files changed, 23 insertions(+), 10 deletions(-) diff --git a/.github/install-deps.sh b/.github/install-deps.sh index 7520adef48..1dba90a323 100755 --- a/.github/install-deps.sh +++ b/.github/install-deps.sh @@ -1,15 +1,19 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2022 The Falco Authors. +# Copyright (C) 2023 The Falco Authors. # -# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the -# specific language governing permissions and limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. # set -e diff --git a/CMakeLists.txt b/CMakeLists.txt index e6da655742..1e9fd4aa02 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,11 +1,12 @@ +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2022 The Falco Authors. +# Copyright (C) 2023 The Falco Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/CMakeListsGtestInclude.cmake b/CMakeListsGtestInclude.cmake index 1ea9e7f316..01f6e5ed26 100644 --- a/CMakeListsGtestInclude.cmake +++ b/CMakeListsGtestInclude.cmake @@ -1,5 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 # -# Copyright (C) 2021 The Falco Authors. +# Copyright (C) 2023 The Falco Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/test/libscap/CMakeLists.txt b/test/libscap/CMakeLists.txt index 9b3d470dc2..b718508848 100644 --- a/test/libscap/CMakeLists.txt +++ b/test/libscap/CMakeLists.txt @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: Apache-2.0 # # Copyright (C) 2023 The Falco Authors. # diff --git a/test/libscap/test_suites/engines/gvisor/gvisor_parsers.cpp b/test/libscap/test_suites/engines/gvisor/gvisor_parsers.cpp index 64bdb44af4..e2382e2670 100644 --- a/test/libscap/test_suites/engines/gvisor/gvisor_parsers.cpp +++ b/test/libscap/test_suites/engines/gvisor/gvisor_parsers.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/test/libscap/test_suites/userspace/common_strl.cpp b/test/libscap/test_suites/userspace/common_strl.cpp index 604f7f5fb9..e224c44b6d 100644 --- a/test/libscap/test_suites/userspace/common_strl.cpp +++ b/test/libscap/test_suites/userspace/common_strl.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/test/libscap/test_suites/userspace/linux/scap_cgroup.cpp b/test/libscap/test_suites/userspace/linux/scap_cgroup.cpp index d0f136708c..106b8b2331 100644 --- a/test/libscap/test_suites/userspace/linux/scap_cgroup.cpp +++ b/test/libscap/test_suites/userspace/linux/scap_cgroup.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/test/libscap/test_suites/userspace/scap_event.cpp b/test/libscap/test_suites/userspace/scap_event.cpp index afbcb1f234..182f09a121 100644 --- a/test/libscap/test_suites/userspace/scap_event.cpp +++ b/test/libscap/test_suites/userspace/scap_event.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/test/libscap/test_suites/userspace/scap_ppm_sc.cpp b/test/libscap/test_suites/userspace/scap_ppm_sc.cpp index 7dc3efa6c1..9da689b654 100644 --- a/test/libscap/test_suites/userspace/scap_ppm_sc.cpp +++ b/test/libscap/test_suites/userspace/scap_ppm_sc.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors. diff --git a/test/libscap/test_suites/userspace/syscall_table.cpp b/test/libscap/test_suites/userspace/syscall_table.cpp index 294075d733..135344f5a8 100644 --- a/test/libscap/test_suites/userspace/syscall_table.cpp +++ b/test/libscap/test_suites/userspace/syscall_table.cpp @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: Apache-2.0 /* Copyright (C) 2023 The Falco Authors.