Go to file
LoGin fa4d785eaa
feat(kernel/posix-timer): 实现 POSIX interval timer,修复 gVisor timers_test (#1501)
- 新增 timer_create/timer_settime/timer_gettime/timer_getoverrun/timer_delete 系统调用处理,并接入 syscall table
- 实现进程级 POSIX interval timer:基于 CLOCK_MONOTONIC 的创建/删除/设置/查询、周期性重装与到期调度
- 完整实现 SIGEV_NONE/SIGEV_SIGNAL/SIGEV_THREAD_ID(限制 THREAD_ID 只能指向当前线程)与 SI_TIMER siginfo(含 si_timerid/si_overrun/si_value)
- 修复 overrun 语义与信号合并:按线程 pending 队列合并并累积 overrun,避免重复入队导致进程被信号杀死
- 修复周期性 timer 的 gettime 剩余时间计算与回调窗口返回 0 的问题(PeriodicSilent)
- 修复定时器回调中信号锁/队列访问导致的自锁死(PeriodicGroupDirectedSignal)
- clear_child_tid/robust futex 相关用户内存访问改为异常表保护,并避免在失败时继续 futex 操作

Signed-off-by: longjin <longjin@DragonOS.org>
2025-12-18 20:37:40 +08:00
.devcontainer feat(devcontainer): non-root user as default devcontainer user (#1457) 2025-12-11 20:52:18 +08:00
.github ci: Add checkout step in nightly build workflow (#1477) 2025-12-15 17:39:09 +08:00
.vscode feat(net): 桥接网络支持 (#1287) 2025-10-30 01:55:04 +08:00
build-scripts fix: 更新Makefile指定的Rust工具链为nightly-2025-08-10 (#1328) 2025-11-01 15:39:46 +08:00
config fix(gvisor): 修复自动化开启/关闭 gvisor syscall测例打包的脚本 (#1405) 2025-11-26 00:00:04 +08:00
docs Update translated documentation (#1485) 2025-12-17 00:24:25 +08:00
kernel feat(kernel/posix-timer): 实现 POSIX interval timer,修复 gVisor timers_test (#1501) 2025-12-18 20:37:40 +08:00
tools ci: Refactor nightly build workflow to separate build and publish steps (#1473) 2025-12-15 15:19:42 +08:00
user feat(kernel/posix-timer): 实现 POSIX interval timer,修复 gVisor timers_test (#1501) 2025-12-18 20:37:40 +08:00
.gitignore fix:Fix related issues with kexec (pr # 1303) code (#1339) 2025-11-10 13:31:10 +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
AGENTS.md feat(kernel/posix-timer): 实现 POSIX interval timer,修复 gVisor timers_test (#1501) 2025-12-18 20:37:40 +08:00
LICENSE Create LICENSE 2022-01-16 22:58:21 +08:00
Makefile refactor(wait_queue): 重构等待队列机制,引入Waiter/Waker模式 (#1452) 2025-12-10 14:04:05 +08:00
README.md docs: 更新README和构建文档,添加DragonOS Playground体验方式 (#1484) 2025-12-17 00:20:50 +08:00
README_CN.md docs: 更新README和构建文档,添加DragonOS Playground体验方式 (#1484) 2025-12-17 00:20:50 +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 fix:Fix related issues with kexec (pr # 1303) code (#1339) 2025-11-10 13:31:10 +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.

🌟 Want to quickly experience DragonOS? Visit DragonOS Playground to launch DragonOS in the cloud with zero configuration and experience the latest nightly build!

📰 Community News

  • 2025-12-17: ☁️ DragonOS Playground is now live! Experience DragonOS with zero configuration on CNB platform, with daily nightly build updates! Try it now →
  • 2025-11-20: 🚀 DragonOS 0.3.0 has been released! Now supports running Go programs directly!
  • 2025-11-18: 📊 DragonOS CI Dashboard is now live! Check out DragonOS Linux compatibility data now!

How to Run?

Zero configuration, one-click launch! Experience DragonOS on the CNB cloud-native development platform - the simplest and fastest way, no local dependencies required!

Launch on CNB

Method 2: Local Build

If you prefer to build and run DragonOS locally, you can refer to the following documentation:

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: