plan9fox/sys
cinap_lenrek 1a02a45883 kernel: nil check, exited procs handling in postnote()
make sure not to dereference Proc* nil pointer. this can potentially
happen from devip which has code like:

	if(er->read4p)
		postnote(er->read4p, 1, "unbind", 0);

the process it is about to kill can zero er->read4p at any time,
so there is the possibility of the condition to be true and then
er->read4p becoming nil.

check if the process has already exited (p->pid == 0) in postnote()
under p->debug qlock.
2014-01-01 07:39:17 +01:00
..
doc /sys/doc: permissions for cleanps, mkdirlist, mkfilelist 2012-10-20 19:09:54 +02:00
games/lib fortunes: That's a video card, Blake. 2013-12-26 16:11:05 -05:00
include ape: move strdup() from libbsd to libap (from sources) 2013-12-28 05:14:10 +01:00
lib acid leak: remove arena pointer a < 0xff000000 check 2013-12-25 15:00:39 +01:00
man proc(3): the args file is writable, not read only (thanks qrstuv) 2014-01-01 06:44:48 +01:00
src kernel: nil check, exited procs handling in postnote() 2014-01-01 07:39:17 +01:00