From ffca392593d211fd9adea0db5d94cbdff41af3b6 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Tue, 12 Dec 2023 17:21:38 +0900 Subject: [PATCH 1/2] agent: Clarify copyright and license This makes it explicit that BPF program sources (agent/src/bpf/*) are licensed under GPL-2.0-or-later instead of GPL-2.0-only. It also makes sure that the build scripts (agent/build.rs and agent/tests/agenttest/build.rs) are covered by GPL-3.0-or-later. Signed-off-by: Daiki Ueno --- agent/build.rs | 3 ++- agent/src/bpf/audit.bpf.c | 3 ++- agent/tests/agenttest/build.rs | 3 ++- agent/tests/agenttest/src/bpf/agent.bpf.c | 3 ++- crypto-auditing/src/bpf/audit.h | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/agent/build.rs b/agent/build.rs index 166bd28..2d24572 100644 --- a/agent/build.rs +++ b/agent/build.rs @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2023 The crypto-auditing developers. use libbpf_cargo::SkeletonBuilder; use std::{ diff --git a/agent/src/bpf/audit.bpf.c b/agent/src/bpf/audit.bpf.c index a0e568e..a6b12b9 100644 --- a/agent/src/bpf/audit.bpf.c +++ b/agent/src/bpf/audit.bpf.c @@ -1,4 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* Copyright (C) 2022-2023 The crypto-auditing developers. */ #include "vmlinux.h" #include diff --git a/agent/tests/agenttest/build.rs b/agent/tests/agenttest/build.rs index b1caf7a..7eec26c 100644 --- a/agent/tests/agenttest/build.rs +++ b/agent/tests/agenttest/build.rs @@ -1,4 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: GPL-3.0-or-later +// Copyright (C) 2023 The crypto-auditing developers. use libbpf_cargo::SkeletonBuilder; use std::{ diff --git a/agent/tests/agenttest/src/bpf/agent.bpf.c b/agent/tests/agenttest/src/bpf/agent.bpf.c index 23580e0..bf0d833 100644 --- a/agent/tests/agenttest/src/bpf/agent.bpf.c +++ b/agent/tests/agenttest/src/bpf/agent.bpf.c @@ -1,4 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* Copyright (C) 2023 The crypto-auditing developers. */ #include "vmlinux.h" #include diff --git a/crypto-auditing/src/bpf/audit.h b/crypto-auditing/src/bpf/audit.h index 84432bc..3ae0c59 100644 --- a/crypto-auditing/src/bpf/audit.h +++ b/crypto-auditing/src/bpf/audit.h @@ -1,4 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* Copyright (C) 2023 The crypto-auditing developers. */ /* This file should be self-contained and do not rely on any system * headers, because it is used by both the BPF program (audit.bpf.c) From 575b8cdd11d921ed412efe6909c8d6dca04bb074 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Tue, 12 Dec 2023 17:24:16 +0900 Subject: [PATCH 2/2] crypto-auditing: Clarify copyright and licensing Signed-off-by: Daiki Ueno --- crypto-auditing/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto-auditing/build.rs b/crypto-auditing/build.rs index d23bccb..4519735 100644 --- a/crypto-auditing/build.rs +++ b/crypto-auditing/build.rs @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2023 The crypto-auditing developers. use std::{env, path::PathBuf};