The Serenity Operating System 🐞
Find a file
Timothy Flynn 026b5e53eb LibCrypto: Protect the SignedBigInteger ctor against integer overflow
In particular, if given a value of -2147483648, we would invoke signed
integer overflow (which is UB).

(cherry picked from commit edd3b14ddf049048e5d6bd952677133237adb652)
2024-12-21 14:58:20 -05:00
.devcontainer DevContainer: Add a SSH server into a container 2024-11-15 13:20:10 -05:00
.github CI: Check filesystem consistency after running tests 2024-11-29 10:59:24 -05:00
AK AK: Make Function a little bit constexpr 2024-12-20 12:05:06 -05:00
Base LibGfx: Add "Redmond Glass" window theme 2024-12-17 19:04:58 -05:00
Documentation Documentation: Fix typos in SmartPointers.md 2024-12-19 19:14:47 -05:00
Kernel Kernel/aarch64: Implement Processor::read_cycle_count 2024-12-19 12:53:52 -05:00
Ladybird UI/Qt: Fix hover_label hiding URLs 2024-12-21 14:58:20 -05:00
Meta Meta: Update GN files after #25537 2024-12-21 14:58:20 -05:00
Ports Ports: Update vim to 8.2.5056 2024-12-19 15:58:17 -05:00
Tests LibCrypto: Protect the SignedBigInteger ctor against integer overflow 2024-12-21 14:58:20 -05:00
Toolchain Meta+Toolchain: Move the jakt runtime files into the Toolchain build dir 2024-11-10 19:22:14 +01:00
Userland LibCrypto: Protect the SignedBigInteger ctor against integer overflow 2024-12-21 14:58:20 -05:00
.clang-format
.clang-tidy
.editorconfig
.gitattributes
.gitignore
.gn
.mailmap Meta: Update mailmap to use my ladybird.org email address 2024-10-10 10:08:59 -04:00
.pre-commit-config.yaml Meta: Migrate deprecated pre-commit stage names 2024-10-26 21:38:48 -04:00
.prettierignore Meta: Ignore auto-generated and incompatible files in prettier 2024-10-04 10:46:42 -04:00
.prettierrc
.ycm_extra_conf.py
CMakeLists.txt Toolchain: Update LLVM to 19.1.0 2024-10-02 21:42:33 -04:00
CONTRIBUTING.md Meta: Add Sönke Holz to the maintainers list :^) 2024-11-07 22:15:27 +01:00
flake.lock Toolchain/nix: Update flake inputs 2024-09-22 09:06:02 -04:00
flake.nix Toolchain/nix: Set the default formatter for the flake 2024-09-22 09:06:02 -04:00
LICENSE
README.md Everywhere: Format Markdown with prettier 2024-10-04 10:46:42 -04:00
SECURITY.md Documentation: Remove reference to closed bug bounty program 2024-11-06 19:28:30 -05:00

SerenityOS

Graphical Unix-like operating system for x86-64 computers.

GitHub Actions Status Fuzzing Status Discord

FAQ | Documentation | Build Instructions

About

SerenityOS is a love letter to '90s user interfaces with a custom Unix-like core. It flatters with sincerity by stealing beautiful ideas from various other systems.

Roughly speaking, the goal is a marriage between the aesthetic of late-1990s productivity software and the power-user accessibility of late-2000s *nix. This is a system by us, for us, based on the things we like.

You can watch videos of the system being developed on YouTube:

Screenshot

Screenshot as of c03b788.png

Features

  • Modern x86 64-bit kernel with pre-emptive multi-threading
  • Browser with JavaScript, WebAssembly, and more (check the spec compliance for JS, CSS, and Wasm)
  • Security features (hardware protections, limited userland capabilities, W^X memory, pledge & unveil, (K)ASLR, OOM-resistance, web-content isolation, state-of-the-art TLS algorithms, ...)
  • System services (WindowServer, LoginServer, AudioServer, WebServer, RequestServer, CrashServer, ...) and modern IPC
  • Good POSIX compatibility (LibC, Shell, syscalls, signals, pseudoterminals, filesystem notifications, standard Unix utilities, ...)
  • POSIX-like virtual file systems (/proc, /dev, /sys, /tmp, ...) and ext2 file system
  • Network stack and applications with support for IPv4, TCP, UDP; DNS, HTTP, Gemini, IMAP, NTP
  • Profiling, debugging and other development tools (Kernel-supported profiling, CrashReporter, interactive GUI playground, HexEditor, HackStudio IDE for C++ and more)
  • Libraries for everything from cryptography to OpenGL, audio, JavaScript, GUI, playing chess, ...
  • Support for many common and uncommon file formats (PNG, JPEG, GIF, MP3, WAV, FLAC, ZIP, TAR, PDF, QOI, Gemini, ...)
  • Unified style and design philosophy, flexible theming system, custom (bitmap and vector) fonts
  • Games (Solitaire, Minesweeper, 2048, chess, Conway's Game of Life, ...) and demos (CatDog, Starfield, Eyes, mandelbrot set, WidgetGallery, ...)
  • Every-day GUI programs and utilities (Spreadsheet with JavaScript, TextEditor, Terminal, PixelPaint, various multimedia viewers and players, Mail, Assistant, Calculator, ...)

... and all of the above are right in this repository, no extra dependencies, built from-scratch by us :^)

Additionally, there are over three hundred ports of popular open-source software, including games, compilers, Unix tools, multimedia apps and more.

How do I read the documentation?

Man pages are available online at man.serenityos.org. These pages are generated from the Markdown source files in Base/usr/share/man and updated automatically.

When running SerenityOS you can use man for the terminal interface, or help for the GUI.

Code-related documentation can be found in the documentation folder.

How do I build and run this?

See the SerenityOS build instructions or the Ladybird build instructions.

The build system supports a cross-compilation build of SerenityOS from Linux, macOS, Windows (with WSL2) and many other *Nixes. The default build system commands will launch a QEMU instance running the OS with hardware or software virtualization enabled as supported.

Ladybird runs on the same platforms that can be the host for a cross build of SerenityOS and on SerenityOS itself.

Get in touch and participate!

Join our Discord server: SerenityOS Discord

Before opening an issue, please see the issue policy.

A general guide for contributing can be found in CONTRIBUTING.md.

Authors

And many more! See here for a full contributor list. The people listed above have landed more than 100 commits in the project. :^)

License

SerenityOS is licensed under a 2-clause BSD license.