aboutsummaryrefslogtreecommitdiff
path: root/lib/libsys/kqueue.2
Commit message (Collapse)AuthorAgeFilesLines
* kqueue.2: Fix reference to unexisting kevent1()Artem Bunichev2026-01-251-4/+4
| | | | | | | | | | | | kqueue1() was meant. While here, make the wording in the AUTHORS section more clear. PR: 291908 Fixes: 9b1585384d53 ("kqueue.2: Editorial pass") Reviewed by: kib, dab MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D54858
* kqueue.2: document KQUEUE_CPONFORKKonstantin Belousov2025-10-181-1/+28
| | | | | | | Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D52045
* jaildesc: add kevent supportJamie Gritton2025-09-121-1/+14
| | | | | | | | Give jail descriptors the same kevent flags as jails. Also fix the event reporting in jails, where it was including data for events the user didn't ask for. MFC after: 3 days
* jail: simplify EVFILT_JAIL eventsJamie Gritton2025-09-121-26/+15
| | | | | | | | | | | | | Instead of using the EVFILT_PROC model of attempting to automatically register new events when a child jail is created, just give a single event when a child jail is created. As was already done with jail attach events, make a best-effort report of the added jail's id in kn_data. If the are multiple NOTE_JAIL_CHILD and/or NOTE_JAIL_ATTACH events, set the NOTE_JAIL_MULTI flag, and don't report anything in data, indicating that the caller will need to query the system state on their own. MFC after: 3 days
* jail: add kqueue(2) support for jailsJamie Gritton2025-09-041-1/+57
| | | | | | | | | | | Add kqueue tracking to jails, inspired by how it's done with processes. EVFILT_JAIL takes a jail ID, and tracks with NOTE_JAIL_SET, NOTE_JAIL_ATTACH, NOTE_JAIL_REMOVE, and NOTE_JAIL_CHILD. It also uses the NOTE_TRACK mechanism that EVFILT_PROC uses, using the same result flags (NOTE_CHILD and NOTE_TRACKERR). Relnotes: yes Differential Revision: https://reviews.freebsd.org/D51940
* kqueue.2: Editorial passJohn Baldwin2024-12-301-24/+41
| | | | | | | | | | | | | | | | - Use consistent language to describe user values unchanged by the kernel. - Replace passive language with active in a few places. - Add a history note for kqueuex() and kqueue1(). - Add an MLINK and synopsis for kqueue1(). - Various wording and markup tweaks. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D48203
* libsys: relocate implementations and manpagesBrooks Davis2024-02-051-0/+887
Remove core system call implementations and documentation to lib/libsys and lib/libsys/<arch> from lib/libc/sys and lib/libc/<arch>/<sys>. Update paths to allow libc to find them in their new home. Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/908