Home
last modified time | relevance | path

Searched refs:CLONE_FS (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.2/kernel/src/process/
Dproc-types.h35 #define CLONE_FS (1UL << 0) // 在进程间共享打开的文件 macro
Dkthread.c193 pid_t pid = kernel_thread(kthread, create, CLONE_FS | CLONE_SIGNAL); in __create_kthread()
310 kernel_thread(kthreadd, NULL, CLONE_FS | CLONE_SIGNAL); in kthread_mechanism_init()
Dfork.c188 if (clone_flags & CLONE_FS) in process_copy_files()
Dprocess.c633 kernel_thread(initial_kernel_thread, 10, CLONE_FS | CLONE_SIGNAL); // 初始化内核线程 in process_init()
/DragonOS-0.1.2/kernel/src/syscall/
Dsyscall.c260 return do_fork(regs, CLONE_VM | CLONE_FS | CLONE_SIGNAL, regs->rsp, 0); in sys_vfork()