Skip to content

Commit

Permalink
agent: Clarify copyright and license
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ueno committed Dec 12, 2023
1 parent 3a821b1 commit 4a10431
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion agent/build.rs
Original file line number Diff line number Diff line change
@@ -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::{
Expand Down
3 changes: 2 additions & 1 deletion agent/src/bpf/audit.bpf.c
Original file line number Diff line number Diff line change
@@ -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 <bpf/bpf_core_read.h>
Expand Down
3 changes: 2 additions & 1 deletion agent/tests/agenttest/build.rs
Original file line number Diff line number Diff line change
@@ -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::{
Expand Down
3 changes: 2 additions & 1 deletion agent/tests/agenttest/src/bpf/agent.bpf.c
Original file line number Diff line number Diff line change
@@ -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 <bpf/usdt.bpf.h>
Expand Down
3 changes: 2 additions & 1 deletion crypto-auditing/src/bpf/audit.h
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 4a10431

Please sign in to comment.