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"
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