Searched refs:CLONE_FS (Results 1 – 5 of 5) sorted by relevance
/DragonOS-0.1.5/kernel/src/process/ |
D | proc-types.h | 36 #define CLONE_FS (1UL << 0) // 在进程间共享打开的文件 macro
|
D | kthread.c | 193 pid_t pid = kernel_thread(kthread, create, CLONE_FS | CLONE_SIGNAL); in __create_kthread() 316 kernel_thread(kthreadd, NULL, CLONE_FS | CLONE_SIGNAL); in kthread_mechanism_init()
|
D | process.rs | 12 process_control_block, CLONE_FS, EBADF, EFAULT, ENFILE, EPERM, PROC_RUNNING, PROC_STOPPED, 138 if clone_flags & CLONE_FS as u64 != 0 { in copy_files()
|
D | process.c | 718 kernel_thread(initial_kernel_thread, 10, CLONE_FS | CLONE_SIGNAL); // 初始化内核线程 in process_init()
|
/DragonOS-0.1.5/kernel/src/syscall/ |
D | syscall.c | 175 return do_fork(regs, CLONE_VM | CLONE_FS | CLONE_SIGNAL, regs->rsp, 0); in sys_vfork()
|