Find a file
Gunnar Beutner d7978a3317 Toolchain: Enable -fexceptions and build a separate libstdc++ for the kernel
This enables building usermode programs with exception handling. It also
builds a libstdc++ without exception support for the kernel.

This is necessary because the libstdc++ that gets built is different
when exceptions are enabled. Using the same library binary would
require extensive stubs for exception-related functionality in the
kernel.
2021-04-18 10:55:25 +02:00
.github Everywhere: Fix a bunch of typos 2021-04-18 10:30:03 +02:00
AK Everywhere: Fix a bunch of typos 2021-04-18 10:30:03 +02:00
Base Everywhere: Fix a bunch of typos 2021-04-18 10:30:03 +02:00
Documentation Everywhere: Fix a bunch of typos 2021-04-18 10:30:03 +02:00
Kernel Toolchain: Enable -fexceptions and build a separate libstdc++ for the kernel 2021-04-18 10:55:25 +02:00
Meta Meta: Remove stray newline from serenity.sh help text 2021-04-17 19:16:19 +02:00
Ports Ports: Enable building ports with ccache 2021-04-18 10:42:41 +02:00
Toolchain Toolchain: Enable -fexceptions and build a separate libstdc++ for the kernel 2021-04-18 10:55:25 +02:00
Userland LibC: Make atexit handlers thread-safe 2021-04-18 10:52:05 +02:00
.clang-format
.gitattributes
.gitignore Meta: Add .vim directory to .gitignore 2021-04-12 18:04:13 +02:00
.pre-commit-config.yaml Meta: Update lint-{clang-format,shell-scripts}.sh to take a list of files 2020-12-27 21:25:27 +01:00
.prettierignore Meta: Add lint-prettier.sh 2020-12-27 21:25:27 +01:00
.prettierrc Meta: Move prettier config files to the root of the repository 2020-08-24 18:21:33 +02:00
CMakeLists.txt Everywhere: Add -Wdouble-promotion warning 2021-04-16 19:01:54 +02:00
CONTRIBUTING.md Meta: Add link to Discord in CONTRIBUTING.md 2021-04-13 18:27:36 +02:00
LICENSE Meta: Update project copyright dates (2018-2021) :^) 2021-01-01 01:14:16 +01:00
README.md Meta: Add Idan Horowitz to the contributors list :^) 2021-04-17 11:25:22 +02:00

SerenityOS

Graphical Unix-like operating system for x86 computers.

Build status Fuzzing Status

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.

I (Andreas) regularly post raw hacking sessions and demos on my YouTube channel.

Sometimes I write about the system on my github.io blog.

I'm also on Patreon and GitHub Sponsors if you would like to show some support that way.

Screenshot

Screenshot as of 0f85753.png

Kernel features

  • x86 (32-bit) kernel with pre-emptive multi-threading
  • Hardware protections (SMEP, SMAP, UMIP, NX, WP, TSD, ...)
  • IPv4 stack with ARP, TCP, UDP and ICMP protocols
  • ext2 filesystem
  • POSIX signals
  • Purgeable memory
  • /proc filesystem
  • Pseudoterminals (with /dev/pts filesystem)
  • Filesystem notifications
  • CPU and memory profiling
  • SoundBlaster 16 driver
  • VMWare/QEMU mouse integration

System services

  • Launch/session daemon (SystemServer)
  • Compositing window server (WindowServer)
  • Text console manager (TTYServer)
  • DNS client (LookupServer)
  • Network protocols server (ProtocolServer)
  • Software-mixing sound daemon (AudioServer)
  • Desktop notifications (NotificationServer)
  • HTTP server (WebServer)
  • Telnet server (TelnetServer)
  • DHCP client (DHCPClient)

Libraries

  • C++ templates and containers (AK)
  • Event loop and utilities (LibCore)
  • 2D graphics library (LibGfx)
  • GUI toolkit (LibGUI)
  • Cross-process communication library (LibIPC)
  • HTML/CSS engine (LibWeb)
  • JavaScript engine (LibJS)
  • Markdown (LibMarkdown)
  • Audio (LibAudio)
  • PCI database (LibPCIDB)
  • Terminal emulation (LibVT)
  • Out-of-process network protocol I/O (LibProtocol)
  • Mathematical functions (LibM)
  • ELF file handling (LibELF)
  • POSIX threading (LibPthread)
  • Higher-level threading (LibThread)
  • Transport Layer Security (LibTLS)
  • HTTP and HTTPS (LibHTTP)

Userland features

  • Unix-like libc and userland
  • Shell with pipes and I/O redirection
  • On-line help system (both terminal and GUI variants)
  • Web browser (Browser)
  • C++ IDE (HackStudio)
  • IRC client
  • Desktop synthesizer (Piano)
  • Various desktop apps & games
  • Color themes

How do I read the documentation?

Man pages are browsable outside of SerenityOS under Base/usr/share/man.

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

How do I build and run this?

See the SerenityOS build instructions

Before opening an issue

Please see the issue policy.

Get in touch

IRC: #serenityos on the Freenode IRC network.

Discord: SerenityOS Discord

Author

Contributors

(And many more!) The people listed above have landed more than 100 commits in the project. :^)

License

SerenityOS is licensed under a 2-clause BSD license.