aboutcode-org / aboutcode-org/scancode-toolkit

Detect BPF tags for license

オープン
#3,902 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
5

説明

See https://github.com/projectcalico/calico/blob/4ac717de1f4032ddce7112f74d2becc4062c9c49/felix/bpf-apache/filter.c#L102

We are detecting OK... but we could do even better, like handling these as special tags or as packages:

> char ____license[] __attribute__((section("license"))) = "Apache-2.0";

See also:
- https://ebpf.io/blog/ebpf-licensing-guide/
- https://www.kernel.org/doc/html/latest/bpf/bpf_licensing.html
- https://github.com/nyrahul/ebpf-guide/blob/4359bfba59c72b26843c29d0dda0426832a95782/docs/gpl_license_ebpf.rst

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。