# Kerla - Rust로 만든 Monolithic 커널

> Clean Markdown view of GeekNews topic #5260. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=5260](https://news.hada.io/topic?id=5260)
- GeekNews Markdown: [https://news.hada.io/topic/5260.md](https://news.hada.io/topic/5260.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2021-10-26T10:33:01+09:00
- Updated: 2021-10-26T10:33:01+09:00
- Original source: [github.com](https://github.com/nuta/kerla)
- Points: 11
- Comments: 1

## Topic Body

- Linux ABI 호환성을 목표(바이너리를 수정없이 실행)

- 밑바닥부터 Rust로 작성

- *NIX 프로세스 컨셉 구현 : 컨텍스트 스위칭, signal, fork(2), execve(2), wait4(2)..

- 공통 시스템 콜 지원 : write(2), stat(2), mmap(2), pipe(2), poll(2), ..

- 현재는 디스크 지원 없음. initramfs 를 루트파일시스템으로 마운트

- 슈도 파일 시스템 : tmpfs 와 devfs

- smoltcp 기반 TCP/IP 지원

ㅤ→ Rust로 작성된 스탠드얼론 / 이벤트드리븐 TCP/IP 스택

- tty 및 pty 구현

- QEMU 와 Firecracker 지원

- x86_64 지원

- Docker 기반의 initramfs 빌드 시스템

## Comments



### Comment 7363

- Author: xguru
- Created: 2021-10-26T10:34:01+09:00
- Points: 2

Linux 커널 대체를 위해서 만드는 것은 아니고 그냥 재미 목적이라고 합니다.

https://seiya.me/writing-linux-clone-in-rust
