mirror of
https://github.com/JannisHeydemann/BoredOS.git
synced 2026-05-30 10:26:59 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b04bde3d9e | ||
|
|
d854d0e50f | ||
|
|
5b7940dd04 | ||
|
|
b486bb2ca5 | ||
|
|
7ae1d40e41 |
154
POLICY.md
Normal file
154
POLICY.md
Normal file
@@ -0,0 +1,154 @@
|
||||
# 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*
|
||||
@@ -33,6 +33,7 @@
|
||||
#include "sys/module_manager.h"
|
||||
#include "sys/bootfs_state.h"
|
||||
#include "input/keymap.h"
|
||||
#include "input/keyboard.h"
|
||||
|
||||
extern void sysfs_init_subsystems(void);
|
||||
|
||||
@@ -234,6 +235,48 @@ static void fat32_mkdir_recursive(const char *path) {
|
||||
}
|
||||
}
|
||||
|
||||
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();
|
||||
vfs_init();
|
||||
@@ -445,6 +488,11 @@ void kmain(void) {
|
||||
smp_init(NULL);
|
||||
}
|
||||
|
||||
if (!usage_policy_prompt()) {
|
||||
log_fail("Usage policy not accepted, halting");
|
||||
hcf();
|
||||
}
|
||||
|
||||
wm_init();
|
||||
|
||||
asm volatile("sti");
|
||||
|
||||
@@ -13,10 +13,10 @@ void get_os_info(os_info_t *info) {
|
||||
for (size_t i = 0; i < sizeof(os_info_t); i++) p[i] = 0;
|
||||
|
||||
const char *os_name = "BoredOS";
|
||||
const char *os_version = "26.5-dev";
|
||||
const char *os_version = "26.5.1-stable";
|
||||
const char *os_codename = "Genesis";
|
||||
const char *kernel_name = "Boredkernel";
|
||||
const char *kernel_version = "4.2.0-dev";
|
||||
const char *kernel_version = "4.2.1-stable";
|
||||
const char *build_date = __DATE__;
|
||||
const char *build_time = __TIME__;
|
||||
const char *build_arch = "x86_64";
|
||||
|
||||
Reference in New Issue
Block a user