From 8a1d90f39007040657d9dff88eda75ea01f784aa Mon Sep 17 00:00:00 2001 From: Daniel Hammer Date: Wed, 18 Feb 2026 15:31:26 +0100 Subject: [PATCH] feat: add license & legal/copyright manpage --- LICENSE | 14 ++------------ programs/man/legal.7 | 7 +++++++ programs/src/man/main.cpp | 2 +- 3 files changed, 10 insertions(+), 13 deletions(-) create mode 100644 programs/man/legal.7 diff --git a/LICENSE b/LICENSE index 295294b..83411e2 100644 --- a/LICENSE +++ b/LICENSE @@ -1,12 +1,2 @@ -Copyright (C) 2023-2025 mintsuki and contributors. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. +Copyright (c) 2025-2026 Daniel Hammer, et al. + (including contributors to other projects, i.e. The Limine Bootloader. Please refer to any other project's own license.) \ No newline at end of file diff --git a/programs/man/legal.7 b/programs/man/legal.7 new file mode 100644 index 0000000..4e2484e --- /dev/null +++ b/programs/man/legal.7 @@ -0,0 +1,7 @@ +.TH LEGAL 7 +.SH NAME + ZenithOS legal/copyright information + +.SH DESCRIPTION + Copyright (c) 2025-2026 Daniel Hammer, et al. + (including contributors to other projects, i.e. The Limine Bootloader. Please refer to any other project's own license.) \ No newline at end of file diff --git a/programs/src/man/main.cpp b/programs/src/man/main.cpp index c935e2b..70e8316 100644 --- a/programs/src/man/main.cpp +++ b/programs/src/man/main.cpp @@ -174,7 +174,7 @@ extern "C" void _start() { handle = zenith::open(path); if (handle >= 0) foundSection = section; } else { - for (int s = 1; s <= 3; s++) { + for (int s = 1; s <= 9; s++) { const char* prefix = "0:/man/"; int p = 0; while (prefix[p]) { path[p] = prefix[p]; p++; }