Konstantin Belousov 8b4a2800de Do the pargs_hold() on the copy of the pointer to the p_args of the
child process immediately after bulk bcopy() without dropping the
process lock.

Since process is not single-threaded when forking, dropping and
reacquiring the lock allows an other thread to change the process title
of the parent in between, and results in hold being done on the invalid
pointer. The problem manifested itself as the double free of the old
p_args.

Reported by:	kris
Reviewed by:	jhb
MFC after:	1 week
2008-07-23 08:45:25 +00:00
..
2008-07-18 07:07:57 +00:00
2008-07-07 20:53:49 +00:00
2008-03-07 15:27:08 +00:00
2008-05-12 06:42:06 +00:00
2008-04-29 05:48:05 +00:00
2008-07-11 01:10:40 +00:00
2008-05-23 04:06:49 +00:00
2007-12-14 21:30:51 +00:00
2008-07-13 17:15:05 +00:00
2008-07-18 07:10:33 +00:00
2008-03-19 07:33:16 +00:00
2008-04-08 09:45:49 +00:00