Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/process/
Dproc-types.h36 #define CLONE_FS (1UL << 0) // 在进程间共享打开的文件 macro
Dkthread.c193 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()
Dprocess.rs12 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()
Dprocess.c718 kernel_thread(initial_kernel_thread, 10, CLONE_FS | CLONE_SIGNAL); // 初始化内核线程 in process_init()
/DragonOS-0.1.5/kernel/src/syscall/
Dsyscall.c175 return do_fork(regs, CLONE_VM | CLONE_FS | CLONE_SIGNAL, regs->rsp, 0); in sys_vfork()