in6m_refcount of an in6m can be incremented if the in6m is on the list
(if_multiaddrs) in in6_addmulti or mld_input. So we must avoid such an
increment when we try to destroy an in6m. To this end we must make
an in6m_refcount decrement and a removal of an in6m from if_multiaddrs
atomic.
merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD,
and this version is based on FreeBSD svn r315983.
in addition to the 10 years of improvements from upstream,
this version also has these NetBSD-specific enhancements:
- dtrace FBT probes can now be placed in kernel modules.
- ZFS now supports mmap().
new accessor functions and changes to module_hold() and module_rele(),
and fixes the prototype of each module's xxx_modcmd() function.
We still need updates related to the "specificdata" and callback
changes:
specificdata_key_t module_specific_key_create(specificdata_key_t *,
specificdata_dtor_t);
void module_specific_key_delete(specificdata_key_t);
void *module_getspecific(module_t *, specificdata_key_t);
void module_setspecific(module_t *, specificdata_key_t, void *);
void *module_register_callbacks(void (*)(struct module *),
void (*)(struct module *));
void module_unregister_callbacks(void *);
XXX The various functions listed in the man page should grouped into a
XXX few logical sub-sets.
- uao_create()'s size is now 64-bit
- new genfs op to let a file system constrain the range of pages
passed to GOP_WRITE()
- various module interface changes
- changes to various MD hooks for the new dtrace
this changes the upstream vendor from OpenSolaris to FreeBSD,
and this version is based on FreeBSD svn r315983.
in addition to the 10 years of improvements from upstream,
this version also has these NetBSD-specific enhancements:
- dtrace FBT probes can now be placed in kernel modules.
- ZFS now supports mmap().
Stop resetting signal masks for crash signals under a debugger.
If we set a trap (either software or hardware one) in the code, we don't
want to see reset of signal handlers in a traced child as a knock-on effect
in the original code.
Maintain the vfork(2) + ptrace(2) special case functional.
No regressions are observed in ATF ptrace(2) and kernel/t_trapsignal tests.
Sponsored by <The NetBSD Foundation>
This functionality now works.
Correct the code path in this test.
Add additional sanity check with PT_GET_SIGINFO and validating si_code.
Sponsored by <The NetBSD Foundation>
Switch from kpsignal(9) to sigswitch() as it allows to bypass signal
masking rules of a crash signal.
There are no regressions in existing tests.
Sponsored by <The NetBSD Foundation>