Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

cvs commit: src/sys/kern kern_exec.c

1 view
Skip to first unread message

Julian Elischer

unread,
Sep 21, 2004, 5:06:00 PM9/21/04
to
julian 2004-09-21 21:05:13 UTC

FreeBSD src repository

Modified files:
sys/kern kern_exec.c
Log:
In a threaded process, don't kill off all the other threads until we have a
reasonable chance that the eceve() is going to succeeed. I.e.
wait until we've done the permission checks etc.

MFC after: 1 week

Revision Changes Path
1.251 +17 -11 src/sys/kern/kern_exec.c
_______________________________________________
cvs...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-u...@freebsd.org"

Julian Elischer

unread,
Sep 21, 2004, 9:30:45 PM9/21/04
to
julian 2004-09-22 01:30:23 UTC

FreeBSD src repository

Modified files:
sys/kern kern_exec.c
Log:

Revert the last change..
Better to kill all other threads than to panic the system if 2 threads call
execve() at the same time. A better fix will be committed later.

Note that this only affects the case where the execve fails.

Revision Changes Path
1.252 +11 -17 src/sys/kern/kern_exec.c

0 new messages