Browse Source

Add license kind for Linux-syscall-note

Only to be used in contexts confirmed by lawyers where the sycall note applies.

Test: m droid dist
Change-Id: I2fa6859307a471c169273ee70583e0b7331893ca
Bob Badour 1 year ago
parent
commit
801000e9c8
1 changed files with 8 additions and 0 deletions
  1. 8 0
      licenses/Android.bp

+ 8 - 0
licenses/Android.bp

@@ -920,6 +920,14 @@ license_kind {
     url: "https://spdx.org/licenses/LGPLLR.html",
 }
 
+license_kind {
+    name: "SPDX-license-identifier-Linux-syscall-note",
+    // expanding visibility requires approval from an OSPO lawyer or pcounsel
+    visibility: ["//external/libbpf:__subpackages__"],
+    conditions: ["permissive"],
+    url: "https://spdx.org/licenses/Linux-syscall-note.html",
+}
+
 license_kind {
     name: "SPDX-license-identifier-LPL-1.02",
     conditions: ["notice"],