mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-27 16:13:23 +00:00
Feat(process): 增加ProcessGroup以及Session机制 (#1115)
* 添加make run-nographic * 添加session和processgroup结构体 * 添加一些有关进程组的syscall * 在fork中加入set_group * 修改broadcast未实现的信息 * 添加对kill缺失的进程组的逻辑的补充
This commit is contained in:
20
user/apps/test-processgroup/Makefile
Normal file
20
user/apps/test-processgroup/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
ifeq ($(ARCH), x86_64)
|
||||
CROSS_COMPILE=x86_64-linux-musl-
|
||||
else ifeq ($(ARCH), riscv64)
|
||||
CROSS_COMPILE=riscv64-linux-musl-
|
||||
endif
|
||||
|
||||
CC=$(CROSS_COMPILE)gcc
|
||||
|
||||
|
||||
all: main.c
|
||||
$(CC) -static -o test-processgroup main.c
|
||||
|
||||
.PHONY: install clean
|
||||
install: all
|
||||
mv test-processgroup $(DADK_CURRENT_BUILD_DIR)/test-processgroup
|
||||
|
||||
clean:
|
||||
rm test-processgroup *.o
|
||||
|
||||
fmt:
|
Reference in New Issue
Block a user