火花 bc9bb9607f
Feat(tty): Supplement process group logic (#1139)
* 添加busybox的编译

* 完善tty job control的逻辑

* 修改copy_sighand的逻辑,符合Linux语义

* 以busybox作为启动shell去运行

* 修改setsid的逻辑

* 解决前台进程组无法处理信号的问题

* 移除ProcessBasicInfo其中的pgid和sid信息

* 修改setsid

* 新增get_pcb_info

* 在etc目录下新增必要的文件

* 改用busybox init作为引导程序

* 恢复dragonreach文件

* 修改busybox编译选项,能够读取环境变量

* 先让SYS_RT_SIGTIMEDWAIT返回Ok(0),能够正常进入系统

* 一些小更改

* 删除get_pcb_info

* 增加对默认termios的判断

* 完成backspace的修复

* 更改inittab,在shell启动之后更改termios

* 增加executable_path信息

* 补充proc下的exe链接文件以及读取逻辑

* 更改PosixTermios,使用stty完成erase的设置

* 用busybox作为引导程序

* 修改波特率的获取

* 修改函数方法

* 在baud_rate方法中添加对于cbaud的与操作

* 为rv64下的SigSet实现From<Signal>

* refactor(driver): 移除`#[derive(Debug)]`并手动实现`Debug` trait

移除`VirtIOBlkDevice`、`VirtIOConsoleDevice`和`VirtIONetDevice`的`#[derive(Debug)]`,并手动实现`Debug` trait以提供更详细的调试信息。

Co-authored-by: longjin <longjin@DragonOS.org>
2025-05-08 15:05:02 +08:00
2025-04-22 01:35:30 +08:00
2024-11-27 01:30:31 +08:00
2025-04-20 18:51:45 +08:00
2025-04-20 18:51:45 +08:00
2022-01-16 22:58:21 +08:00
2024-07-17 13:43:54 +08:00
2024-07-17 13:43:54 +08:00

dragonos-logo

打造完全自主可控的数字化未来!

官网 bbs


DragonOS

Languages 中文|English

 

DragonOS is a 64-bit operating system designed for lightweight cloud computing scenarios, featuring a fully independent kernel and offering Linux binary compatibility. Developed using the Rust programming language, it aims to provide improved reliability. In the Rust operating system domain, DragonOS consistently ranks among the top three on GitHub nationally.

The DragonOS open-source community was established in July 2022 and is entirely business-neutral. Our goal is to build a fully independent, open-source, high-performance, and highly reliable server operating system, fostering a digitally autonomous and controllable future!

DragonOS boasts an excellent and comprehensive architecture design. Compared to other systems of similar scale, DragonOS supports virtualization and has certain advantages in terms of device model and调度子系统 (scheduler subsystem).Currently, significant efforts are being made to promote cloud platform support, RISC-V compatibility, and the porting of compilers and application software. The aim is to achieve large-scale application in production environments within five years.

Driven by the community, DragonOS is currently evolving rapidly. DragonOS has already implemented about 1/4 of Linux interfaces, and in the future, we will strive to provide 100% compatibility with Linux, along with new features.

Get Involved in Development?

Carefully read the DragonOS Community Introduction Document to understand how the community operates and how you can contribute!

  • To stay updated on development news and tasks, visit the DragonOS Community Forum: https://bbs.dragonos.org.cn
  • You can also learn about the development progress by checking the project's issues.

If you're interested in joining us, you can check out the issues and post your discussions or ideas under them, or visit the DragonOS forum to learn about development updates and tasks: https://bbs.dragonos.org.cn

You're also welcome to bring your creative ideas and discuss them with the community members, working together to create new features for DragonOS.

Website

How to Run?

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

How to Connect with the Community?

Please read the Contributor Guide~

  • You can establish contact with the members of various committees through the Community Management Team information.
  • Additionally, you can find the contact information of the respective community group leaders via the SIGs and WGs pages.

Reward

DragonOS is an open source public welfare project, but its development cannot be separated from the support of funds. If you want, you can visit Sponsor - DragonOS , so as to promote the development of this project. The list of all sponsors will be published. Every bit of your sponsorship will contribute to the development of DragonOS!

Where will the sponsorship funds be used?

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

  • Subsidies or equipment support for active community developers
  • Cloud service expenditure of DragonOS
  • Equipment purchase
  • Any use conducive to the development and construction of DragonOS

Sponsor List

Not yet

  • China YaCloud Ya'an Digital Economy Operations Co., Ltd. provides cloud server support for DragonOS.

Individual Sponsor List

Open source statement

This project adopts GPLv2 LICENSE for open source. You are welcome to use the code of this project on the basis of abiding by the open source license!

What we support: using this project to create greater value and contribute code to this project under the condition of abiding by the agreement.

What we condemn: any non-compliance with the open source license. Including but not limited to: plagiarizing the code of the project as your graduation project and other academic misconduct, as well as commercial closed source use without payment.

If you find any violation of the open source license, we welcome you to send email feedback! Let's build an honest open source community together!

Description
DragonOS is an operating system developed from scratch using Rust, with Linux compatibility. It is designed for **Serverless** scenarios. 使用Rust从0自研内核,具有Linux兼容性的操作系统,面向云计算Serverless场景而设计。
https://dragonos.org/ Readme GPL-2.0 168 MiB
Languages
Rust 95.5%
C 1.6%
Shell 1%
Makefile 0.9%
Assembly 0.7%
Other 0.3%