]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC 254287: Some small cleanups to the fixes in r180340:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 6 Nov 2013 20:58:04 +0000 (20:58 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 6 Nov 2013 20:58:04 +0000 (20:58 +0000)
commit72f61e1a909b33618b64c25c88ca6a7706450d3a
tree367bf7b195309425e59650e47d53464f55ea8f21
parentd5430a83c6df98bbf87b5135a67500401880ff5b
MFC 254287: Some small cleanups to the fixes in r180340:
- Set NOTE_TRACKERR before running filt_proc().  If the knote did not
  have NOTE_FORK set in fflags when registered, then the TRACKERR event
  could miss being posted.
- Don't pass the pid in to filt_proc() for NOTE_FORK events.  The special
  handling for pids is done knote_fork() directly and no longer in
  filt_proc().

git-svn-id: svn://svn.freebsd.org/base/stable/9@257763 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/kern_event.c