Opened 13 years ago

Last modified 13 years ago

#35 closed defect

Fix EVFILT_PROC inconsistencies — at Version 7

Reported by: john Owned by: john
Priority: major Component: kernel
Version: Keywords:
Cc: Blocked By:
Blocking: Parent Tickets:
P4 Branch: GIT Branch:
FreeBSD PR: Due Date:

Description (last modified by john)

Need to write a test cases to be sure. Known issues:

1) NOTE_EXEC clears fflags?
2) NOTE_TRACK does not trigger NOTE_TRACK events.
3) Modifying NOTE_EXIT to NOTE_FORK of a running child triggers a

spurious event.

4) NOTE_TRACKERR is set after KNOTE_ACTIVATE(), possible regression

Change History (8)

Changed 13 years ago by john

Test case

comment:1 Changed 13 years ago by john

  • Status changed from new to accepted

comment:2 Changed 13 years ago by john

  • Status changed from accepted to started

comment:3 Changed 13 years ago by john

  • Description modified (diff)

comment:4 Changed 13 years ago by john

1) is confirmed if NOTE_EXIT is not being monitored.

comment:5 Changed 13 years ago by john

1) actually ended up being exec() failing, so not a bug.

2) is covered by updates to kqueue(2) in r253656

3) ended up being that process exit always generates an EV_EOF event, even it NOTE_EXIT is not being monitored. I've started a thread on arch@ about that behavior.

comment:6 Changed 13 years ago by john

For 3), I've committed the change in r254072

comment:7 Changed 13 years ago by john

  • Description modified (diff)
Note: See TracTickets for help on using tickets.