# License for KernelLLM-2 Dataset This dataset is a compilation of publicly available open-source code, mailing list archives, and git histories. ## Mixed Licensing The content within this dataset is subject to various open-source licenses based on its point of origin. All original licenses remain in full effect for the individual files and snippets included. These include, but are not limited to: * **GNU General Public License (GPL) v2/v3** (Linux, seL4, Xen, QEMU, coreboot, GRUB, U-Boot, ReactOS) * **Common Development and Distribution License (CDDL)** (illumos) * **BSD 2-Clause / 3-Clause / 4-Clause & ISC** (FreeBSD, NetBSD, OpenBSD, SerenityOS, Limine) * **MIT License** (Redox, Haiku, musl) * **Apache License 2.0** (Zephyr) * **Mozilla Public License (MPL) 2.0** (Asterinas) * **BSD-2-Clause-Patent** (EDK2) ## Metadata and Attribution To facilitate compliance with the attribution requirements of various licenses (such as BSD and MIT) each entry in the dataset includes: - `source`: The source repository or mailing list (e.g. "linux", "freebsd", "asterinas"). - `author`: The original author of the code or post (where available). - `filepath`: The path to the original file (where applicable). ## Safe-Clipping Policy We preserve `SPDX-License-Identifier` and `Copyright` lines in source code headers while removing generic licensing boilerplate to maximize the density of logic for model training. ## Usage and Disclaimer This dataset is provided "as is" for research, educational, and machine learning training purposes. Users of this dataset are responsible for ensuring that their specific use case (including any derivative models) complies with the original licenses of the source data. ## Opt-out Policy We respect the rights of open-source maintainers. If you are a primary maintainer of a project included in this dataset and wish to have your project's data removed from future versions, please contact us or open an issue on the dataset repository.