Skip to content

Commit 5cb62b7

Browse files
alejandro-colomarborkmann
authored andcommitted
bpf, docs: Use SPDX license identifier in bpf_doc.py
The Linux man-pages project now uses SPDX tags, instead of the full license text. Signed-off-by: Alejandro Colomar <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://www.kernel.org/doc/man-pages/licenses.html Link: https://spdx.org/licenses/Linux-man-pages-copyleft.html Link: https://lore.kernel.org/bpf/[email protected]
1 parent 339ed90 commit 5cb62b7

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

scripts/bpf_doc.py

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -333,27 +333,7 @@ def print_license(self):
333333
.. Copyright (C) All BPF authors and contributors from 2014 to present.
334334
.. See git log include/uapi/linux/bpf.h in kernel tree for details.
335335
..
336-
.. %%%LICENSE_START(VERBATIM)
337-
.. Permission is granted to make and distribute verbatim copies of this
338-
.. manual provided the copyright notice and this permission notice are
339-
.. preserved on all copies.
340-
..
341-
.. Permission is granted to copy and distribute modified versions of this
342-
.. manual under the conditions for verbatim copying, provided that the
343-
.. entire resulting derived work is distributed under the terms of a
344-
.. permission notice identical to this one.
345-
..
346-
.. Since the Linux kernel and libraries are constantly changing, this
347-
.. manual page may be incorrect or out-of-date. The author(s) assume no
348-
.. responsibility for errors or omissions, or for damages resulting from
349-
.. the use of the information contained herein. The author(s) may not
350-
.. have taken the same level of care in the production of this manual,
351-
.. which is licensed free of charge, as they might when working
352-
.. professionally.
353-
..
354-
.. Formatted or processed versions of this manual, if unaccompanied by
355-
.. the source, must acknowledge the copyright and authors of this work.
356-
.. %%%LICENSE_END
336+
.. SPDX-License-Identifier: Linux-man-pages-copyleft
357337
..
358338
.. Please do not edit this file. It was generated from the documentation
359339
.. located in file include/uapi/linux/bpf.h of the Linux kernel sources

0 commit comments

Comments
 (0)