]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 254287: Some small cleanups to the fixes in r180340:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 6 Nov 2013 21:00:18 +0000 (21:00 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 6 Nov 2013 21:00:18 +0000 (21:00 +0000)
commit2e76bf7d22de8985d4723d272d3cb064004776b3
tree558deb0a79cf63213dd14117f126c0ffa4e42b7b
parenta1e88d16892e022ea6f41db3dd0843eef68de65c
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/8@257764 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/kern_event.c