artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc3692b
)
Remove code after exit1() and NOTREACHED comment. Nothing will ever get there.
author
claudio
<claudio@openbsd.org>
Mon, 30 Sep 2024 11:49:44 +0000
(11:49 +0000)
committer
claudio
<claudio@openbsd.org>
Mon, 30 Sep 2024 11:49:44 +0000
(11:49 +0000)
OK mpi@
sys/kern/kern_exec.c
patch
|
blob
|
history
diff --git
a/sys/kern/kern_exec.c
b/sys/kern/kern_exec.c
index
76f4e70
..
5234fd6
100644
(file)
--- a/
sys/kern/kern_exec.c
+++ b/
sys/kern/kern_exec.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kern_exec.c,v 1.25
8 2024/08/21 03:07:45 deraadt
Exp $ */
+/* $OpenBSD: kern_exec.c,v 1.25
9 2024/09/30 11:49:44 claudio
Exp $ */
/* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */
/*-
@@
-796,11
+796,7
@@
exec_abort:
free_pack_abort:
free(pack.ep_hdr, M_EXEC, pack.ep_hdrlen);
exit1(p, 0, SIGABRT, EXIT_NORMAL);
-
/* NOTREACHED */
- atomic_clearbits_int(&pr->ps_flags, PS_INEXEC);
-
- return (0);
}