#
984815da |
| 26-Sep-2021 |
thorpej <thorpej@NetBSD.org> |
Change the kqueue filterops::f_isfd field to filterops::f_flags, and define a flag FILTEROP_ISFD that has the meaning of the prior f_isfd. Field and flag name aligned with OpenBSD.
This does not con
Change the kqueue filterops::f_isfd field to filterops::f_flags, and define a flag FILTEROP_ISFD that has the meaning of the prior f_isfd. Field and flag name aligned with OpenBSD.
This does not constitute a functional or ABI change, as the field location and size, and the value placed in that field, are the same as the previous code, but we're bumping __NetBSD_Version__ so 3rd-party module source code can adapt, as needed.
NetBSD 9.99.89
show more ...
|
#
d4c0b446 |
| 18-Dec-2020 |
thorpej <thorpej@NetBSD.org> |
Use sel{record,remove}_knote().
|
#
14b4bbb2 |
| 23-May-2020 |
ad <ad@NetBSD.org> |
Move proc_lock into the data segment. It was dynamically allocated because at the time we had mutex_obj_alloc() but not __cacheline_aligned.
|
#
665adb5d |
| 04-Apr-2020 |
pgoyette <pgoyette@NetBSD.org> |
KNF (Format block comment)
NFCI
|
#
980da7ed |
| 04-Apr-2020 |
mlelstv <mlelstv@NetBSD.org> |
Make default protocol version used by wscons selectable and default to the current version.
Fixes PR 55103.
|
#
1a480a4c |
| 01-Mar-2019 |
pgoyette <pgoyette@NetBSD.org> |
Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly discussed on irc.
NFCI intended.
Ride the earlier kernel bump - it;s getting crowded.
|
#
314d436d |
| 29-Jan-2019 |
pgoyette <pgoyette@NetBSD.org> |
Normalize all the compat hooks' names to the form
<subsystem>_<function>_<version>_hook
NFCI
XXX Note that although this introduces a change in the kernel-to- XXX module interface, we are NOT bum
Normalize all the compat hooks' names to the form
<subsystem>_<function>_<version>_hook
NFCI
XXX Note that although this introduces a change in the kernel-to- XXX module interface, we are NOT bumping the kernel version number. XXX We will bump the version number once the interface stabilizes.
show more ...
|
#
cc17ee2e |
| 27-Jan-2019 |
pgoyette <pgoyette@NetBSD.org> |
Merge the [pgoyette-compat] branch
|
#
4f5b69e1 |
| 14-Jun-2018 |
uwe <uwe@NetBSD.org> |
timespec_to_timespec50 - don't leak kernel memory in struct padding.
On 64-bit machines struct timespec50 has padding between 32-bit tv_sec and long tv_nsec that is not affected by normal assignment
timespec_to_timespec50 - don't leak kernel memory in struct padding.
On 64-bit machines struct timespec50 has padding between 32-bit tv_sec and long tv_nsec that is not affected by normal assignment. Scrub it. The result is most likely about to be passed to the user space by the caller, so do it here to take care of them all.
show more ...
|
#
7330f46b |
| 13-Jun-2018 |
uwe <uwe@NetBSD.org> |
wsevent_copyout_events50 - don't leak garbage from the kernel stack.
On 64-bit machines struct timespec50 has padding between 32-bit tv_sec and long tv_nsec that is not affected by normal assignment
wsevent_copyout_events50 - don't leak garbage from the kernel stack.
On 64-bit machines struct timespec50 has padding between 32-bit tv_sec and long tv_nsec that is not affected by normal assignment. Scrub it before we uiomove struct owscons_event.
show more ...
|
#
4aa34cd6 |
| 25-Oct-2017 |
maya <maya@NetBSD.org> |
Use C99 initializer for filterops
Mostly done with spatch with touchups for indentation
@@ expression a; identifier b,c,d; identifier p; @@ const struct filterops p = - { a, b, c, d + { + .f_isf
Use C99 initializer for filterops
Mostly done with spatch with touchups for indentation
@@ expression a; identifier b,c,d; identifier p; @@ const struct filterops p = - { a, b, c, d + { + .f_isfd = a, + .f_attach = b, + .f_detach = c, + .f_event = d, };
show more ...
|
#
6342a8dc |
| 24-Aug-2015 |
pooka <pooka@NetBSD.org> |
to garnish, dust with _KERNEL_OPT
|
#
60681e46 |
| 24-May-2012 |
abs <abs@NetBSD.org> |
Add the following above the version = 0 line, just to provide a hint... /* For binary compat. New code must call WSxxxIO_SETVERSION */
|
#
74ccc189 |
| 18-Feb-2009 |
yamt <yamt@NetBSD.org> |
wsevent_copyout_events50: fix a bogus panic.
|
#
0cc72e51 |
| 13-Feb-2009 |
apb <apb@NetBSD.org> |
Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h" in all kernel sources that use the MODULAR option. Proposed in tech-kern on 18 Jan 2009.
|
#
cf5a92c1 |
| 16-Jan-2009 |
yamt <yamt@NetBSD.org> |
always use the new version of wscons_event for in-kernel.
|
#
350f838f |
| 16-Jan-2009 |
yamt <yamt@NetBSD.org> |
wsevent_init: always initialize version. pointed out by christos.
|
#
0915dfac |
| 15-Jan-2009 |
yamt <yamt@NetBSD.org> |
- reduce the number of #ifdefs. - build compat glues if MODULAR.
|
#
4c7a9837 |
| 14-Jan-2009 |
christos <christos@NetBSD.org> |
Allocate the max size needed so that we don't need to realloc in setversion. Problem pointed out by yamt.
|
#
8945a0f4 |
| 13-Jan-2009 |
christos <christos@NetBSD.org> |
provide wscons_event compatibility with 5.0.
|
#
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
#
6d70f903 |
| 24-Apr-2008 |
ad <ad@NetBSD.org> |
Network protocol interrupts can now block on locks, so merge the globals proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock). Implications:
- Inspecting process state requires
Network protocol interrupts can now block on locks, so merge the globals proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock). Implications:
- Inspecting process state requires thread context, so signals can no longer be sent from a hardware interrupt handler. Signal activity must be deferred to a soft interrupt or kthread.
- As the proc state locking is simplified, it's now safe to take exit() and wait() out from under kernel_lock.
- The system spends less time at IPL_SCHED, and there is less lock activity.
show more ...
|
#
c6186fac |
| 01-Mar-2008 |
rmind <rmind@NetBSD.org> |
Welcome to 4.99.55:
- Add a lot of missing selinit() and seldestroy() calls.
- Merge selwakeup() and selnotify() calls into a single selnotify().
- Add an additional 'events' argument to selnotify
Welcome to 4.99.55:
- Add a lot of missing selinit() and seldestroy() calls.
- Merge selwakeup() and selnotify() calls into a single selnotify().
- Add an additional 'events' argument to selnotify() call. It will indicate which event (POLL_IN, POLL_OUT, etc) happen. If unknown, zero may be used.
Note: please pass appropriate value of 'events' where possible. Proposed on: <tech-kern>
show more ...
|
#
4e38160d |
| 05-Dec-2007 |
pooka <pooka@NetBSD.org> |
Do not "return 1" from kqfilter for errors. That value is passed directly to the userland caller and results in a mysterious EPERM. Instead, return EINVAL or something else sensible depending on the
Do not "return 1" from kqfilter for errors. That value is passed directly to the userland caller and results in a mysterious EPERM. Instead, return EINVAL or something else sensible depending on the case.
show more ...
|
#
b07ec3fc |
| 09-Feb-2007 |
ad <ad@NetBSD.org> |
Merge newlock2 to head.
|