From 77744464e354d5162a475d155b061744ba520ed8 Mon Sep 17 00:00:00 2001 From: boreddevnl Date: Sun, 10 May 2026 20:15:53 +0200 Subject: [PATCH] legal: Remove redundant usage policy and boot prompt --- POLICY.md | 154 ----------------------------- docs/installation/install_guide.md | 1 - limine.conf | 2 +- src/core/main.c | 53 ---------- src/userland/cli/boredos_install.c | 4 +- 5 files changed, 3 insertions(+), 211 deletions(-) delete mode 100644 POLICY.md diff --git a/POLICY.md b/POLICY.md deleted file mode 100644 index e656792..0000000 --- a/POLICY.md +++ /dev/null @@ -1,154 +0,0 @@ -# BoredOS — Usage Policy & Legal Notice - -Version 2.0 | Last updated: May 2026 - ---- - -## 1. Purpose of This Document - -This document provides additional context about the intended use of BoredOS and outlines important legal and practical considerations. - -**It is not a software license.** -BoredOS is licensed exclusively under the GNU General Public License v3.0 (GPLv3), which governs your rights to use, modify, and distribute the software. - -In the event of any conflict, the GPLv3 takes full precedence. - ---- - -## 2. License - -BoredOS is free software released under the **GNU General Public License v3.0 (GPLv3)**. - -You are free to: -- Use the software for any purpose -- Study and modify the source code -- Redistribute original or modified versions - -A copy of the GPLv3 is provided in the [`LICENSE`](./LICENSE) file. - ---- - -## 3. No Age Verification or Regulatory Features - -BoredOS is designed as a **local operating system** and: - -- Does not implement **age verification** -- Does not implement **age-gating** -- Does not perform **identity checks** -- Does not collect or process **personal data** - -There are currently no plans to introduce such features. - ---- - -## 4. Responsibility for Legal Compliance - -Laws and regulations vary between jurisdictions and may apply differently depending on how software is used or distributed. - -**You are solely responsible for ensuring that your use, distribution, or deployment of BoredOS complies with applicable laws and regulations in your jurisdiction.** - -This includes, but is not limited to, laws relating to: - -- Child safety and age-appropriate design -- Data protection and privacy -- Software distribution and platform obligations - -If your use case requires features that BoredOS does not provide (such as age verification), you are responsible for implementing those features yourself or choosing alternative software. - ---- - -## 5. No Representation of Legal Compliance - -The author makes **no representation or warranty** that BoredOS complies with any specific legal or regulatory framework, including but not limited to: - -- The California Age-Appropriate Design Code Act (AB 2273) -- The Children’s Online Privacy Protection Act (COPPA) -- The UK Age Appropriate Design Code (Children’s Code) -- Any similar laws in other jurisdictions - -BoredOS is general-purpose software and is not designed or certified for compliance with regulatory regimes. - ---- - -## 6. No Monitoring or Enforcement - -BoredOS: - -- Does not track users -- Does not verify location or identity -- Does not enforce jurisdiction-specific restrictions - -The author has no technical ability to monitor or control how the software is used. - ---- - -## 7. Privacy - -**BoredOS collects no data.** - -- No telemetry -- No analytics -- No crash reporting -- No accounts -- No background network communication - -All operation is local to the user’s device. - -The source code is hosted on GitHub, which is operated by GitHub, Inc. Their data practices are governed by their own privacy policy. - ---- - -## 8. Disclaimer of Warranty - -BoredOS is provided **"as is"**, without warranty of any kind, express or implied, including: - -- Merchantability -- Fitness for a particular purpose -- Non-infringement - -The author does not guarantee that: - -- The software is free of bugs or vulnerabilities -- The software will work on any specific hardware -- The software is suitable for any particular use case - ---- - -## 9. Limitation of Liability - -To the maximum extent permitted by applicable law, the author shall not be liable for: - -- Data loss -- Hardware damage -- Loss of profits -- Business interruption -- Any indirect or consequential damages - -Nothing in this section excludes liability where such exclusion is not permitted by law. - ---- - -## 10. Trademarks and Attribution - -"BoredOS" and associated branding may not be used to endorse or promote derived products without prior permission. - -This does not limit your rights under the GPLv3, but applies to branding and representation. - ---- - -## 11. Changes to This Document - -This document may be updated to reflect changes in legal context or project direction. - -The latest version will always be available in the repository. -Previous versions will remain accessible via version history. - ---- - -## 12. Contact - -For questions or concerns, open an issue on the GitHub repository or contact the author via email at chris@boreddev.nl. - ---- - -*BoredOS Usage Policy v2.0 — May 2026* \ No newline at end of file diff --git a/docs/installation/install_guide.md b/docs/installation/install_guide.md index 39efe5b..4a8439d 100644 --- a/docs/installation/install_guide.md +++ b/docs/installation/install_guide.md @@ -13,7 +13,6 @@ **Root selection** uses `root=/dev/` in `cmdline:` to choose the writable root partition (for example `root=/dev/sda2`). -**TOS acceptance** uses `--accept-tos` in `cmdline:` when you want to bypass the prompt. **Live vs disk override** supports `--live` and `--disk` in `cmdline:`. Use `--live` for ISO/USB live boots and `--disk` for installed systems. diff --git a/limine.conf b/limine.conf index 9f5964d..00a92a2 100644 --- a/limine.conf +++ b/limine.conf @@ -13,4 +13,4 @@ backdrop: 000000 /BoredOS protocol: limine path: boot():/boredos.elf - cmdline: -v --accept-tos + cmdline: -v diff --git a/src/core/main.c b/src/core/main.c index 8e99afd..225e0ca 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -297,47 +297,6 @@ static void boot_parse_cmdline(const char *cmdline, uint32_t media_type) { } } -static bool usage_policy_prompt(void) { - kconsole_set_active(true); - serial_write("BoredOS - Please read the Usage Policy provided with this software before continuing.\n"); - serial_write("Do you agree to the terms? [y/N]\n"); - - while (1) { - if ((inb(0x64) & 1) == 0) { - asm volatile("pause"); - continue; - } - - uint8_t scancode = inb(0x60); - keyboard_event_t ev; - if (!keyboard_handle_set1_scancode(scancode, &ev)) { - continue; - } - - if (!ev.pressed) { - continue; - } - - if (ev.keycode == KEY_ENTER || ev.keycode == KEY_KP_ENTER) { - serial_write("\n"); - return false; - } - - if (!ev.is_text) { - continue; - } - - if (ev.codepoint == 'y' || ev.codepoint == 'Y') { - serial_write("\n"); - return true; - } - - if (ev.codepoint == 'n' || ev.codepoint == 'N') { - serial_write("\n"); - return false; - } - } -} void kmain(void) { init_serial(); @@ -544,18 +503,6 @@ void kmain(void) { smp_init(NULL); } - bool bypass_tos = false; - if (kernel_file_request.response != NULL && kernel_file_request.response->kernel_file != NULL) { - const char *cmdline = kernel_file_request.response->kernel_file->cmdline; - if (cmdline != NULL && k_strstr(cmdline, "--accept-tos") != NULL) { - bypass_tos = true; - } - } - - if (!bypass_tos && !usage_policy_prompt()) { - log_fail("Usage policy not accepted, halting"); - hcf(); - } wm_init(); diff --git a/src/userland/cli/boredos_install.c b/src/userland/cli/boredos_install.c index d843923..42bf178 100644 --- a/src/userland/cli/boredos_install.c +++ b/src/userland/cli/boredos_install.c @@ -393,7 +393,7 @@ int main(int argc, char **argv) { "/BoredOS\n" " protocol: limine\n" " path: boot():/boredos.elf\n" - " cmdline: -v root=/dev/%s --disk --accept-tos\n" + " cmdline: -v root=/dev/%s --disk\n" " module_path: boot():/initrd.tar\n", root_dev); if (len > 0) sys_write_fs(fd, cfg, len); @@ -413,7 +413,7 @@ int main(int argc, char **argv) { " protocol: limine\n" " root: boot()\n" " path: /boredos.elf\n" - " cmdline: -v root=/dev/%s --disk --accept-tos\n" + " cmdline: -v root=/dev/%s --disk\n" " module_path: /initrd.tar\n", root_dev); if (len > 0) sys_write_fs(fd, cfg, len);