HomeFreeBSD

kqueue: Add EV_KEEPUDATA flag

Description

kqueue: Add EV_KEEPUDATA flag

When this flag is set, operations that update an existing kevent will
not change the udata field. This can be used to NOTE_TRIGGER or
EV_{EN,DIS}ABLE events without overwriting the stashed pointer.

Reviewed by: Domagoj Stolfa <domagoj.stolfa@gmail.com>
Obtained from: CheriBSD
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D30286

Details

Provenance
nfilardo_microsoft.comAuthored on Sep 24 2021, 12:31 AM
jhbCommitted on Sep 24 2021, 12:31 AM
Differential Revision
D30286: kqueue: add EV_KEEPUDATA flag
Parents
rG701a99939fbf: libsysdecode: Permit _ in VM_PROT_(.*) names.
Branches
Unknown
Tags
Unknown

Event Timeline

jhb committed rG0321a7990b27: kqueue: Add EV_KEEPUDATA flag (authored by Nathaniel Wesley Filardo <nfilardo@microsoft.com>).Sep 24 2021, 12:31 AM