summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Chagin <dchagin@FreeBSD.org>2019-03-24 15:08:30 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2019-03-24 15:08:30 +0000
commit803fff9065e5e634cd3224b44379e3613c6ffddf (patch)
tree1ea146a1efb42b0b16fd7c6d889563cc90aa0a5b
parent1f66cb51549ebd3802291e3dee61a5ce50897507 (diff)
Notes
-rw-r--r--sys/compat/linux/linux_fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_fork.c b/sys/compat/linux/linux_fork.c
index c11c0a6a4159..2024e4b2ca9b 100644
--- a/sys/compat/linux/linux_fork.c
+++ b/sys/compat/linux/linux_fork.c
@@ -353,7 +353,7 @@ linux_clone_thread(struct thread *td, struct linux_clone_args *args)
thread_unlock(td);
if (P_SHOULDSTOP(p))
newtd->td_flags |= TDF_ASTPENDING | TDF_NEEDSUSPCHK;
-
+
if (p->p_ptevents & PTRACE_LWP)
newtd->td_dbgflags |= TDB_BORN;
PROC_UNLOCK(p);