259119 Commits

Author SHA1 Message Date
kamil
954aa6d69d After Todd C. Miller[0] - cal(1) first appeared in Version 1 AT&T UNIX[1][2].
[0] http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/cal/cal.1?rev=1.28&content-type=text/x-cvsweb-markup
[1] https://www.bell-labs.com/usr/dmr/www/1stEdman.html
[2] https://www.bell-labs.com/usr/dmr/www/man61.pdf

Patch submitted by @rjc via https://github.com/NetBSD/src/pull/3
2018-05-29 06:07:26 +00:00
knakahara
223e9d0020 Reviewd by ohishi@IIJ. Sorry, I jumped the gun and committed.
Fix the following two issues.
    - remove extra padding of sizeof(xisr) when adding ipsec policy
    - add padding for xpl when adding discard policy
2018-05-29 04:45:50 +00:00
ozaki-r
2980d4c808 Avoid double LIST_REMOVE which corrupts lists 2018-05-29 04:39:26 +00:00
ozaki-r
d39540d653 Move LIST_REMOVE
mld_stoptimer releases in6_multilock temporarily, so we must LIST_REMOVE first.
2018-05-29 04:38:59 +00:00
ozaki-r
5e90b86ba2 Make a deletion of in6m in nd6_rtrequest atomic 2018-05-29 04:38:29 +00:00
ozaki-r
60862c9462 Make a refcount decrement and a removal from a list of an item atomic
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.
2018-05-29 04:37:58 +00:00
ozaki-r
8e177fee51 Avoid NULL pointer dereference on imm->i6mm_maddr 2018-05-29 04:37:16 +00:00
ozaki-r
0c65aee4df Improve atomicity of in6_leavegroup and in6_delmulti 2018-05-29 04:36:47 +00:00
ozaki-r
b0a3f08ae7 Release in6_multilock on callout_halt of mld_timeo to avoid a deadlock 2018-05-29 04:36:15 +00:00
ozaki-r
121af2983a Don't hold softnet_lock in mld_timeo
Then we can get rid of remaining abuses of mutex_owned(softnet_lock).
2018-05-29 04:35:28 +00:00
knakahara
3fb44db7d4 Fix panic when ipsecif(4) adds discard policy. Pointed out by ohishi@IIJ, thanks. 2018-05-29 03:38:24 +00:00
ginsbach
7ec241a482 Add ABRT, AER, BERT, CMC, COS, CPE, CPER, CRUD, EDAC, EINJ, ERST, ESB,
GHES, GIC, HATEOAS, HECI, HEST, IPMB, IPMI, ITP, JSON, KCS, MD-SAL,
    MQTT, (another) MSR, OAM, PCE, (another) SAL, SAX, SDEI, SEA, SLAAC,
    SMB, SNIA, SVI, TSDB, (another) VID, WAMP, YANG
2018-05-29 02:53:24 +00:00
ginsbach
56689d70f8 Fix spelling/typos 2018-05-29 02:42:34 +00:00
kre
12c661f52d Build fix attempt, use TOOL_AWK (with fallback to "awk") rather than "nawk". 2018-05-29 01:09:49 +00:00
chs
710a39faba add some new files missed by my script:
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().
2018-05-28 23:47:39 +00:00
pgoyette
c565efa5f0 Add new module(9) links to the sets lists 2018-05-28 22:28:56 +00:00
pgoyette
a214efc127 Add man-page links for new module_* accessor functions 2018-05-28 22:25:12 +00:00
pgoyette
4351800068 Partial update for new module interfaces. This update addresses the
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.
2018-05-28 22:22:54 +00:00
chs
239071d590 welcome to 8.99.13:
- 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
2018-05-28 21:05:16 +00:00
chs
ba2539a980 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().
2018-05-28 21:04:59 +00:00
chs
5131193704 add copyin_pid(), to copyin from a different user address space. 2018-05-28 21:04:41 +00:00
chs
d5abe492a8 add more accessor functions for various struct module fields.
add a mechanism for registering callbacks to be called upon module load/unload.
2018-05-28 21:04:40 +00:00
chs
e406c140eb add a genfs method to allow a file system to limit the range of pages
that are given to a single GOP_WRITE() call.  needed by ZFS.
2018-05-28 21:04:37 +00:00
chs
0656708806 allow tmpfs files to be larger than 4GB. 2018-05-28 21:04:35 +00:00
chs
3227e6cf66 import new CDDL dtrace and ZFS code from FreeBSD svn r315983. 2018-05-28 20:52:50 +00:00
maxv
9cc33dc2c2 drop __P, suggested by sevan 2018-05-28 20:45:38 +00:00
maxv
02ed4ce0ae drop __P, suggested by sevan 2018-05-28 20:34:45 +00:00
maxv
f5813daa27 Mmh, don't automatically set enabled=1 for SpectreV4, the actual mitigation
is not yet applied by default. Just so people can test.
2018-05-28 20:18:58 +00:00
maxv
d5ded68d11 fix -Wold-style-definition 2018-05-28 19:52:18 +00:00
maxv
a8c2f61e83 Remove ipsec_bindump, there is no prototype, so the function can't be used. 2018-05-28 19:39:21 +00:00
maxv
ff1d84b094 fix -Wdiscarded-qualifiers 2018-05-28 19:36:42 +00:00
maxv
abcef802a2 fix -Wunused and -Wold-style-definition 2018-05-28 19:22:40 +00:00
wiz
f7cc37edce Add signal numbers in overview table.
They are already in the text, but this way they're easier to find.
2018-05-28 15:48:23 +00:00
kamil
616431328e Revert previous
There is a regression not covered by tests.
2018-05-28 14:07:37 +00:00
christos
876aad0800 add bsd.hostinit.mk 2018-05-28 13:22:34 +00:00
christos
1320cca746 install bsd.hostinit.mk 2018-05-28 13:21:50 +00:00
kamil
e30cee8d3c Enhance the signal routing of a trapsignal under a debugger
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>
2018-05-28 13:12:54 +00:00
wiz
f99a590c77 Sort options in usage. 2018-05-28 12:42:45 +00:00
wiz
5d25ef3799 Document -l, -r, and -w, based on input by jmcneill@
Bump date.
2018-05-28 12:42:02 +00:00
kamil
52922ac661 Correct the t_ptrace_wait*:signal5 ATF test case
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>
2018-05-28 11:35:50 +00:00
kamil
91c86a0a28 Correct reporting SIGTRAP TRAP_EXEC when SIGTRAP is masked
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>
2018-05-28 11:32:20 +00:00
kamil
ccd167ce5f Drop trailing white space 2018-05-28 11:15:48 +00:00
wiz
b787339b42 File system police. 2018-05-28 08:36:36 +00:00
martin
6ad8477b8b PR port-amd64/53316: two int don't make a long (when passed to
a C variadic function)
2018-05-28 07:55:56 +00:00
macallan
8457308c68 enable SMP, remove some ADB-only comments 2018-05-28 05:27:51 +00:00
macallan
d463fee1b0 add config for SMP G5 kernels 2018-05-28 05:25:06 +00:00
macallan
91bcbf4f57 smusat attaches to iic now 2018-05-28 05:21:53 +00:00
msaitoh
f42cd05a6d Regen. 2018-05-28 02:28:05 +00:00
msaitoh
8a0513cff3 Add some Intel 4 series chipset devices. 2018-05-28 02:27:32 +00:00
nat
bdb5abbfba Move the audio specification to section 9 under audio_system.
Ok wiz@
2018-05-28 00:18:05 +00:00