aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_syscall.c
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2021-04-28 20:55:03 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2021-10-10 18:24:29 +0000
commita0558fe90d3bebdf8583888cc96b4c170eab8cfb (patch)
tree1dcf184ddb779cb7f28a35a7cdae38e92b5187dc /sys/kern/subr_syscall.c
parent880aec7361eab106b62dea28f3dedd457b3abb47 (diff)
downloadsrc-a0558fe90d3bebdf8583888cc96b4c170eab8cfb.tar.gz
src-a0558fe90d3bebdf8583888cc96b4c170eab8cfb.zip
Diffstat (limited to 'sys/kern/subr_syscall.c')
-rw-r--r--sys/kern/subr_syscall.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/subr_syscall.c b/sys/kern/subr_syscall.c
index 2304e3e7f3f9..ada2053bc87c 100644
--- a/sys/kern/subr_syscall.c
+++ b/sys/kern/subr_syscall.c
@@ -215,8 +215,6 @@ syscallret(struct thread *td)
ksiginfo_t ksi;
int traced;
- KASSERT((td->td_pflags & TDP_FORKING) == 0,
- ("fork() did not clear TDP_FORKING upon completion"));
KASSERT(td->td_errno != ERELOOKUP,
("ERELOOKUP not consumed syscall %d", td->td_sa.code));