Skip to content

Commit 33dc305

Browse files
d-e-s-odanielocfb
authored andcommitted
Add license information bpf_query, runqslower, and tproxy examples
It's not good style for us to have example code lying around without a license, to the point that it renders the example code completely useless, because it is unlikely to be safely reusable. This change proposes to license bpf_query, runqslower, and tproxy examples under LGPL-2.1 OR BSD-2-Clause, similar to the main library. Signed-off-by: Daniel Müller <deso@posteo.net>
1 parent e9f9be2 commit 33dc305

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

examples/bpf_query/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "bpf_query"
33
version = "0.1.0"
44
authors = ["Daniel Xu <dxu@dxuuu.xyz>"]
5+
license = "LGPL-2.1 OR BSD-2-Clause"
56
edition = "2021"
67

78
[dependencies]

examples/runqslower/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "runqslower"
33
version = "0.1.0"
44
authors = ["Daniel Xu <dxu@dxuuu.xyz>"]
5+
license = "LGPL-2.1 OR BSD-2-Clause"
56
edition = "2021"
67

78
[dependencies]

examples/tproxy/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "tproxy"
33
version = "0.1.0"
44
authors = ["Daniel Xu <dxu@dxuuu.xyz>"]
5+
license = "LGPL-2.1 OR BSD-2-Clause"
56
edition = "2021"
67

78
[[bin]]

0 commit comments

Comments
 (0)