mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-25 18:23:22 +00:00
Feat(process): 增加ProcessGroup以及Session机制 (#1115)
* 添加make run-nographic * 添加session和processgroup结构体 * 添加一些有关进程组的syscall * 在fork中加入set_group * 修改broadcast未实现的信息 * 添加对kill缺失的进程组的逻辑的补充
This commit is contained in:
47
user/dadk/config/test_processgroup_0_1_0.toml
Normal file
47
user/dadk/config/test_processgroup_0_1_0.toml
Normal file
@ -0,0 +1,47 @@
|
||||
# 用户程序名称
|
||||
name = "test-processgroup"
|
||||
|
||||
# 版本号
|
||||
version = "0.1.0"
|
||||
|
||||
# 用户程序描述信息
|
||||
description = "测试进程组的系统调用"
|
||||
|
||||
# 是否只构建一次
|
||||
build-once = false
|
||||
|
||||
# 是否只安装一次
|
||||
install-once = false
|
||||
|
||||
# 目标架构
|
||||
target-arch = ["x86_64"]
|
||||
|
||||
# 任务源
|
||||
[task-source]
|
||||
# 构建类型
|
||||
type = "build-from-source"
|
||||
# 构建来源
|
||||
source = "local"
|
||||
# 路径或URL
|
||||
source-path = "user/apps/test-processgroup"
|
||||
|
||||
# 构建相关信息
|
||||
[build]
|
||||
# 构建命令
|
||||
build-command = "make install -j $(nproc)"
|
||||
|
||||
# 安装相关信息
|
||||
[install]
|
||||
# 安装到DragonOS的路径
|
||||
in-dragonos-path = "/bin"
|
||||
|
||||
# 清除相关信息
|
||||
[clean]
|
||||
# 清除命令
|
||||
clean-command = "make clean"
|
||||
|
||||
# 依赖项
|
||||
# 注意:因为没有依赖项,所以这里不包含[[depends]]部分
|
||||
|
||||
# 环境变量
|
||||
# 注意:因为没有环境变量,所以这里不包含[[envs]]部分
|
47
user/dadk/config/test_session_0_1_0.toml
Normal file
47
user/dadk/config/test_session_0_1_0.toml
Normal file
@ -0,0 +1,47 @@
|
||||
# 用户程序名称
|
||||
name = "test-session"
|
||||
|
||||
# 版本号
|
||||
version = "0.1.0"
|
||||
|
||||
# 用户程序描述信息
|
||||
description = "测试会话的系统调用"
|
||||
|
||||
# 是否只构建一次
|
||||
build-once = false
|
||||
|
||||
# 是否只安装一次
|
||||
install-once = false
|
||||
|
||||
# 目标架构
|
||||
target-arch = ["x86_64"]
|
||||
|
||||
# 任务源
|
||||
[task-source]
|
||||
# 构建类型
|
||||
type = "build-from-source"
|
||||
# 构建来源
|
||||
source = "local"
|
||||
# 路径或URL
|
||||
source-path = "user/apps/test-session"
|
||||
|
||||
# 构建相关信息
|
||||
[build]
|
||||
# 构建命令
|
||||
build-command = "make install -j $(nproc)"
|
||||
|
||||
# 安装相关信息
|
||||
[install]
|
||||
# 安装到DragonOS的路径
|
||||
in-dragonos-path = "/bin"
|
||||
|
||||
# 清除相关信息
|
||||
[clean]
|
||||
# 清除命令
|
||||
clean-command = "make clean"
|
||||
|
||||
# 依赖项
|
||||
# 注意:因为没有依赖项,所以这里不包含[[depends]]部分
|
||||
|
||||
# 环境变量
|
||||
# 注意:因为没有环境变量,所以这里不包含[[envs]]部分
|
Reference in New Issue
Block a user