使用Rust从0自研内核,具有Linux兼容性的操作系统,面向云计算Serverless场景而设计。DragonOS is an operating system developed from scratch using Rust, with Linux compatibility. It is designed for **Serverless** scenarios.
Go to file
LoGin afc09a460b
feat(process): 新增进程资源限制(rlimit)管理功能及相关系统调用 (#1300)
-
为ProcessControlBlock添加rlimits字段,存储进程资源限制,默认初始化典型值(如nofi
le软限制1024、硬限制65536)
- 实现进程rlimit的获取、设置及继承机制(inherit_rlimits_from)
- 在dup2、fcntl等函数中添加RLIMIT_NOFILE检查,确保文件描述符不超过软限制
- 实现sys_prlimit64和sys_setrlimit系统调用,支持查询和设置进程资源限制
- 调整测试用例,添加dup_test到gvisor白名单,忽略未支持的测试

Signed-off-by: longjin <longjin@DragonOS.org>
2025-09-27 22:01:34 +08:00
.github feat(build, kernel): 添加内核版本信息生成与显示功能 (#1269) 2025-08-28 13:16:31 +08:00
.vscode Feat(tty): Supplement process group logic (#1139) 2025-05-08 15:05:02 +08:00
build-scripts feat(build, kernel): 添加内核版本信息生成与显示功能 (#1269) 2025-08-28 13:16:31 +08:00
config feat: add gvisor syscall test (#1271) 2025-09-24 16:26:06 +08:00
docs Update translated documentation (#1294) 2025-09-25 17:35:15 +08:00
kernel feat(process): 新增进程资源限制(rlimit)管理功能及相关系统调用 (#1300) 2025-09-27 22:01:34 +08:00
tools chore: add freebsd support to tools/bootstrap.sh (#1278) 2025-09-12 00:41:16 +08:00
user feat(process): 新增进程资源限制(rlimit)管理功能及相关系统调用 (#1300) 2025-09-27 22:01:34 +08:00
.gitignore feat: basic support build kernel rust codes with nix (#1213) 2025-07-28 23:18:01 +08:00
.gitmodules 使用submodule引入DragonStub (#462) 2023-12-03 17:16:03 +08:00
.readthedocs.yaml 添加read the docs yml文件 (#427) 2023-11-08 20:01:51 +08:00
LICENSE Create LICENSE 2022-01-16 22:58:21 +08:00
Makefile refactor(kernel): 增加内核栈大小从0x4000到0x8000 (#1230) 2025-07-08 00:28:21 +08:00
README.md docs: 添加腾讯云EdgeOne作为CDN赞助商 (#1292) 2025-09-25 11:59:00 +08:00
README_CN.md docs: 添加腾讯云EdgeOne作为CDN赞助商 (#1292) 2025-09-25 11:59:00 +08:00
SUPPORTERS.md docs: 更新README文件并添加README_CN.md和SUPPORTERS.md (#1170) 2025-05-22 12:32:23 +08:00
dadk-manifest.toml feat: add gvisor syscall test (#1271) 2025-09-24 16:26:06 +08:00
env.mk feat: la64 boot (#1132) 2025-04-20 18:51:45 +08:00
triagebot.toml feat: Update rbpf to mainline (#1209) 2025-06-20 10:49:59 +08:00

README.md

dragonos-logo

Lightweight Cloud-Native Kernel

官网 bbs

DragonOS

Languages 中文|English  

DragonOS is a 64-bit operating system with a completely independent kernel, designed for lightweight cloud computing scenarios, offering Linux binary compatibility. It aims to provide lightweight, high-performance solutions for containerized workloads. Developed using Rust for enhanced reliability.

The DragonOS open-source community was established in July 2022 and is entirely commercially neutral. We warmly welcome interested developers and enthusiasts to join us!

DragonOS features excellent and comprehensive architectural design. Compared to other systems of similar scale, DragonOS supports eBPF and virtualization. Currently, we are actively advancing container support, cloud platform compatibility, RISC-V support, as well as porting compilers and application software. Our goal is to achieve large-scale production environment deployment within five years.

DragonOS is rapidly evolving under community-driven development. Currently, DragonOS has implemented approximately 1/4 of Linux interfaces. In the future, we will provide 100% Linux compatibility along with new features.

How to Run?

Running DragonOS is straightforward. You can refer to the following resources to get DragonOS up and running in as little as 15 minutes!

Want to Contribute?

Read the DragonOS Community Introduction Document carefully to understand how the community operates and how you can contribute!

If you'd like to join us, check out the issues and participate in discussions or share your ideas. You can also visit the DragonOS forum to stay updated on development progress and tasks: https://bbs.dragonos.org.cn

You can also bring your creativity and ideas to discuss with the community and contribute new features to DragonOS.

Sites

How to Connect with the Community?

Please read the Contributor Guide~

  • You can find contact details for members of various committees in the Community Management Team section.
  • You can also locate the contact information for leaders of specific community groups via the SIGs and WGs pages.

Contributor List

Contributors to DragonOS-Community/DragonOS · GitHub

Sponsorship

Sponsor this project

DragonOS is a non-profit open-source project, and its development relies on financial support. All sponsors will be publicly acknowledged. Every contribution you make will help advance DragonOS!

Where Will Sponsorship Funds Be Used?

We guarantee that all sponsorship funds and items will be used for:

  • Event organization, cloud service expenses, and any other purposes beneficial to the development and growth of the DragonOS community.

🌟 Sponsor List

Special thanks to these generous financial supporters (in reverse chronological order):

CDN Sponsor

This project's CDN acceleration and security protection are sponsored by Tencent EdgeOne.

腾讯EdgeOne CDN

Individual Sponsors List

See Supporters.md

Open Source License Notice

This project is open-sourced under the GPLv2 license. You are welcome to use the code in compliance with the open-source license!

If you encounter any violations of the open-source license, we encourage you to email pmc@dragonos.org to report them. Let's work together to build a trustworthy open-source community.


👩💻 Contributors

"Open source shines because of you!"

Thanks to all developers who submitted code, fixed issues, or reviewed PRs: