module SleepyPenguin::Note
Data/hint flags/masks for EVFILT_USER and friends in Kqueue
On input, the top two bits of fflags specifies how the lower twenty four bits should be applied to the stored value of fflags.
On output, the top two bits will always be set to Note::FFNOP and the remaining twenty four bits will contain the stored fflags value.
Constants
- ATTRIB
vnode attributes changes
- CHILD
am a child process
- DELETE
vnode was removed
- EXEC
process exec'd
- EXIT
process exited
- EXTEND
vnode size increased
- FFAND
bitwise AND fflags
- FFCOPY
copy fflags
- FFCTRLMASK
control mask for fflags
- FFLAGSMASK
user-defined flag mask for fflags
- FFNOP
ignore input fflags
- FFOR
bitwise OR fflags
- FORK
process forked
- LINK
vnode link count changed
- LINKDOWN
link is down
- LINKINV
link state is valid
- LINKUP
link is up
- LOWAT
data/hint flags for EVFILT_{READ|WRITE}, shared with userspace Not supported by libkqueue in Linux
- PCTRLMASK
mask for hint bits
- PDATAMASK
mask for pid
- RENAME
vnode was renamed
- REVOKE
vnode access was revoked, not supported on Linux
- TRACK
follow across forks
- TRACKERR
could not track child
- TRIGGER
Cause the event to be triggered for output
- WRITE
vnode data contents changed