C Kernel

Open-source C projects categorized as Kernel | Edit details

Top 23 C Kernel Projects

  • GitHub repo raspberry-pi-os

    Learning operating system development using Linux kernel and Raspberry Pi

    Project mention: Show HN: CheesecakeOS for Raspberry Pi Volume 0: Booting, Processes, and VM | news.ycombinator.com | 2021-08-08

    CheesecakeOS for Raspberry Pi Volume 0: Booting, Processes, and Virtual Memory is the first in what I hope is a series of github markdown tutorials or volumes on bare-metal from-scratch operating system development.

    I have dreamed of contributing to the Linux Kernel, but have yet to find the courage to jump in and do so. I started by attempting to read Understanding the Linux Kernel by Daniel Bovet and Marco Cesati, but found it was too advanced for me at the time. I found another text I credit with advancing my understanding, Computer Systems: A Programmer's Perspective by Randall Bryant and David O'Hallaron. I worked on the self-study labs from their book website, and found them to be a superb educational tool.

    Further, then becoming interested in what creating an operating system actually means, I stumbled upon Sergey Matyukevich's Rasberry-Pi-OS github repo (https://github.com/s-matyukevich/raspberry-pi-os). I wanted to expand on his tutorial, for my own education, and, in the best case, for the benefit of others.

    There are many ideas taken from Linux in the implementation, as when I didn't know how to proceed, that is the source I would consult. Though, I attempt to simplify and explain the details in the text. The implementation stops short of implementing or supporting a file system, the subject of the next volume.

  • GitHub repo reactos

    A free Windows-compatible Operating System

    Project mention: Programming a better shutdown for Windows 10? | reddit.com/r/Windows10 | 2021-09-20

    If you love the old days that much, ReactOS is a Microsoft-acknowledged, open source re-implementation of Windows 2002 that removes the "highly protective" aspect of things. In practice there's only a handle of people who use it, but you seem to know your stuff so you could be one of them.

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo rt-thread

    RT-Thread is an open source IoT operating system.

    Project mention: Rust for Embedded Development | dev.to | 2021-08-17

    Now, let's get it on the Open Source RT-Thread operating system to demonstrate how rust can be used for embedded development.

  • GitHub repo winfsp

    Windows File System Proxy - FUSE for Windows

    Project mention: WinFsp – Windows File System Proxy | reddit.com/r/patient_hackernews | 2021-08-22
  • GitHub repo toaruos

    A completely-from-scratch hobby operating system: bootloader, kernel, drivers, C library, and userspace including a composited graphical UI, dynamic linker, syntax-highlighting text editor, network stack, etc.

    Project mention: OS inspired by ToAru called ToAruOS. It's an OS written from scratch with references to the ToAru universe in it, even including a Kernel (the OS core) called 'Misaka' and a Python dialect called 'Kuroko'. Very interesting and fun stuff | reddit.com/r/toarumajutsunoindex | 2021-09-10
  • GitHub repo zen-kernel

    Zen Patched Kernel Sources

    Project mention: `bustd` is a really lightweight process killer daemon for out-of-memory scenarios on Linux | reddit.com/r/rust | 2021-07-31

    Along similar lines, multi-generational LRU. I don't know how close either of these are to making it into mainline, or whether the developers of multi-gen LRU were aware of the older efforts from 2010, but multi-gen LRU is available in zen-kernel.

  • GitHub repo h-encore

    Fully chained kernel exploit for the PS Vita on firmwares 3.65-3.68

    Project mention: Error 0x80871007 and can't update h-encore | reddit.com/r/VitaPiracy | 2021-05-04

    Follow https://github.com/TheOfficialFloW/h-encore/releases to update.

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo winix

    A UNIX-style Operating System for the Waikato RISC Architecture Microprocessor (WRAMP)

    Project mention: Hacker News top posts: Jun 27, 2021 | reddit.com/r/hackerdigest | 2021-06-27

    I spent 5 years writing my own operating system\ (116 comments)

  • GitHub repo tilck

    A Tiny Linux-Compatible Kernel

    Project mention: Tilck: A Tiny Linux-Compatible Kernel | reddit.com/r/suckless | 2021-08-10
  • GitHub repo embox

    Modular and configurable OS for embedded applications

    Project mention: STM32 lwip not accepting more than 2 clients? | reddit.com/r/embedded | 2021-09-22

    Look at Embox (https://github.com/embox/embox). It has its own TCP/IP stack and the support of STM32 boards including H7. The TCP stack has even more rich features than lwIP (see about design web-sites in the article (https://anton-bondarev.medium.com/design-web-site-on-linux-and-running-on-a-stm32-mcu-1e8298d33772)

  • GitHub repo elks

    Embeddable Linux Kernel Subset

    Project mention: You can only take 1 terabyte of data into a total societal collapse. What do you save? | reddit.com/r/DataHoarder | 2021-08-07

    From https://github.com/jbruchon/elks

  • GitHub repo input-wacom

    Linux kernel driver for Wacom devices

    Project mention: Does wacom one tablet (no display) support mypaint on Linux? | reddit.com/r/mypaint | 2021-08-12

    You can see the supported device here.

  • GitHub repo ghost

    Ghost, a micro-kernel based hobby operating system for the x86 architecture. (by maxdev1)

    Project mention: Ghost Kernel | news.ycombinator.com | 2021-03-17

    https://ghostkernel.org/about

    >"Ghost is a hobby operating system for the Intel x86 platform. The project is licensed as GPLv3. It was started as a research project to learn more about low-level software programming and computer internals. The sources are available on GitHub (https://github.com/maxdev1/ghost).

    Features

    The kernel and the userspace applications are written from scratch in C++ and Assembly (and some C). It is not based on any existing kernel.

    There is a POSIX.1 compatibility layer to simplify porting some software to the system.

    o Micro-kernel

    o Symmetric multi-processing

    o Patched GCC (OS specific toolchain)

    o IPC (pipes, signals, messages, shared memory)

    o ELF executable & shared library support

    o libc, self-made

    o libghostapi, kernel API library

    o libghostuser, simplified file I/O, creating UIs etc.

    o libstdc++ port

    o VESA video driver

    o Window server (GUI with homemade toolkit)

    o PS/2 keyboard & mouse driver

    o Userspace filesystem driver support

    o Serial COM1 debug interface

    o Virtual 8086 for BIOS calls

    o Copy-on-write implementation, fork()

  • GitHub repo unikraft

    Unikraft is an automated system for building specialized OSes known as unikernels. Unikraft can be configured to be POSIX-compliant. (Core repository)

    Project mention: I spent 5 years writing my own operating system | news.ycombinator.com | 2021-06-26
  • GitHub repo OpenJailbreak

    GeoSn0w's OpenJailbreak Project, an open-source iOS 11 to iOS 13 Jailbreak project & vault.

    Project mention: [Discussion] How to write jailbreaks | reddit.com/r/jailbreak | 2021-02-18

    https://github.com/GeoSn0w/OpenJailbreak This may help you

  • GitHub repo emerald

    An operating system written in C

    Project mention: This is my hobby 64 bits OS! | reddit.com/r/osdev | 2021-01-13

    P.S: Github repo

  • GitHub repo h-encore-2

    Fully chained kernel exploit for the PS Vita on firmwares 3.65-3.73

    Project mention: Hencore2 crapped out? | reddit.com/r/VitaPiracy | 2021-09-16

    How about reading the exploit FAQ on github? https://github.com/TheOfficialFloW/h-encore-2 Since you are already on 3.65 just install Enso.

  • GitHub repo wiser

    :racehorse: Extremely minimal vmm for linux written in C. Hopefully someday will spin linux-vm for you.

    Project mention: Wiser – minimal hypervisor boots Linux VM. Written in C | news.ycombinator.com | 2021-07-22
  • GitHub repo opuntiaOS

    opuntiaOS - an operating system targeting x86 and ARMv7

    Project mention: oneOS: Progress | reddit.com/r/osdev | 2021-05-03

    Link: https://github.com/oneOS-Project/oneOS

  • GitHub repo linux

    Linux kernel stable tree mirror (by gregkh)

    Project mention: Tux wants to ask something | reddit.com/r/linuxmemes | 2021-09-08

    yes!!! but not lfs, let’s do this git clone --depth=1 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git cd linux cp /boot/uname -r-config ./.config # todo: correct? make bzImage ln -s arch/x86/boot/bzImage ../bzImage_x86 wget https://busybox.net/downloads/busybox-1.33.1.tar.bz2 tar xjvf busybox-1.33.1.tar.bz2 cd busybox-1.33.1/ make allnoconfig make menuconfig # set OS name to BusyBox/Linux cause we don’t use GNU make make install mv _install ../fs cd ../filesystem mkdir -pv {dev,proc,etc/init.d,sys,tmp} sudo mknod dev/console c 5 1 sudo mknod dev/null c 1 3 cat >> etc/motd << EOF I am a fat nerd anyway welcome to my distro EOF cat >> etc/inittab << EOF ::sysinit:/etc/init.d/rc ::askfirst:/bin/sh ::restart:/sbin/init ::ctrlaltdel:/sbin/reboot ::shutdown:/bin/umount -a -r EOF cat >> etc/init.d/rc << EOF #!/bin/sh mount -t proc none /proc mount -t sysfs none /sys clear cat /etc/motd /bin/sh EOF chmod +x etc/init.d/rc sudo chown -R root:root . find . | cpio -H newc -o | gzip -9 > ../rootfs.cpio.gz cd .. qemu-system-i386 -kernel bzImage_x86 -initrd rootfs.cpio.gz done

  • GitHub repo Vulnerable-Kext

    A WIP "Vulnerable by Design" kext for iOS/macOS to play & learn *OS kernel exploitation

    Project mention: GitHub - ant4g0nist/Vulnerable-Kext: A WIP "Vulnerable by Design" kext for iOS/macOS to play &amp; learn *OS kernel exploitation | reddit.com/r/bag_o_news | 2020-12-29
  • GitHub repo linux

    Linux kernel source tree (by ClangBuiltLinux)

    Project mention: Intel C/C++ compilers complete adoption of LLVM | news.ycombinator.com | 2021-08-12

    There's an semi-official github[0] for this.

    AFAICT from the issue, Clang and binutils/LLVM tools work fine with no patches for the mainstream archs and when not trying to be super-fancy with custom flags. The more non-mainstream one goes with arch or flags the more likely one will run into something.

    [0] https://github.com/ClangBuiltLinux/linux/issues

  • GitHub repo brutal

    🏢 An operating system inspired by brutalist design that combines the ideals of UNIX from the 1970s with modern technology and engineering

    Project mention: What project can I do in the C programming language to get better at using pointers? | reddit.com/r/C_Programming | 2021-09-08
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-09-22.

Index

What are some of the best open-source Kernel projects in C? This list will help you:

Project Stars
1 raspberry-pi-os 10,732
2 reactos 9,867
3 rt-thread 6,214
4 winfsp 3,778
5 toaruos 3,698
6 zen-kernel 1,016
7 h-encore 981
8 winix 892
9 tilck 880
10 embox 656
11 elks 454
12 input-wacom 378
13 ghost 377
14 unikraft 363
15 OpenJailbreak 293
16 emerald 250
17 h-encore-2 250
18 wiser 230
19 opuntiaOS 228
20 linux 218
21 Vulnerable-Kext 207
22 linux 203
23 brutal 191
Find remote jobs at our new job board 99remotejobs.com. There are 25 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com