fork.c (c13aca79ff3c4af5fd31a5b2743a90eba6e36a26) | fork.c (d7822b1e24f2df5df98c76f0e94a5416349ff759) |
---|---|
1/* 2 * linux/kernel/fork.c 3 * 4 * Copyright (C) 1991, 1992 Linus Torvalds 5 */ 6 7/* 8 * 'fork.c' contains the help-routines for the 'fork' system call --- 1885 unchanged lines hidden (view full) --- 1894 spin_lock(¤t->sighand->siglock); 1895 1896 /* 1897 * Copy seccomp details explicitly here, in case they were changed 1898 * before holding sighand lock. 1899 */ 1900 copy_seccomp(p); 1901 | 1/* 2 * linux/kernel/fork.c 3 * 4 * Copyright (C) 1991, 1992 Linus Torvalds 5 */ 6 7/* 8 * 'fork.c' contains the help-routines for the 'fork' system call --- 1885 unchanged lines hidden (view full) --- 1894 spin_lock(¤t->sighand->siglock); 1895 1896 /* 1897 * Copy seccomp details explicitly here, in case they were changed 1898 * before holding sighand lock. 1899 */ 1900 copy_seccomp(p); 1901 |
1902 rseq_fork(p, clone_flags); 1903 |
|
1902 /* 1903 * Process group and session signals need to be delivered to just the 1904 * parent before the fork or both the parent and the child after the 1905 * fork. Restart if a signal comes in before we add the new process to 1906 * it's process group. 1907 * A fatal signal pending means that current will exit, so the new 1908 * thread can't slip out of an OOM kill (or normal SIGKILL). 1909 */ --- 615 unchanged lines hidden --- | 1904 /* 1905 * Process group and session signals need to be delivered to just the 1906 * parent before the fork or both the parent and the child after the 1907 * fork. Restart if a signal comes in before we add the new process to 1908 * it's process group. 1909 * A fatal signal pending means that current will exit, so the new 1910 * thread can't slip out of an OOM kill (or normal SIGKILL). 1911 */ --- 615 unchanged lines hidden --- |