Commit Graph

246809 Commits

Author SHA1 Message Date
kamil
4067ec816b Remove outdated note in the PT_DUMPCORE call of the ptrace(2) man-page
Currently the PT_DUMPCORE call requires process to be stopped, therefore it
no longer need to warn about stoped tracee to generate consistent data.

Sponsored by <The NetBSD Foundation>
2016-12-10 20:02:07 +00:00
martin
9043cf767a glint_drv.so.1.debug is not obsolete with XOrg server 1.18 any more 2016-12-10 19:28:19 +00:00
christos
431fde0e65 update for v18 conn list; more error checks 2016-12-10 19:07:22 +00:00
christos
9543d3ecd6 Welcome to version 18:
- Connection state keys are not stored and loaded using the logical key
  contents.
- connection finder key is stored in a map that contains the key and the
  direction.
2016-12-10 19:05:45 +00:00
christos
8feed355cb Add missing extcalls array. This is currently a no-op, but this is what
userland does too. Allows npfctl save; npfctl load to work again.
2016-12-10 19:02:18 +00:00
maya
44e7baede1 Be explicit about precedence of operators
Appeases clang when building an ALL kernel
2016-12-10 17:41:44 +00:00
martin
26f0ee9df1 Avoid crashes in calcwater when audioattach did not fully complete 2016-12-10 17:31:33 +00:00
maya
4080f99a72 fix AUDIO_DEBUG build (it builds, it boots, it plays music)
typos (vhan to vchan), sc->sc_mode[n] to vc->sc_mode, etc.
2016-12-10 17:01:08 +00:00
maya
c307f0df3c remove redundant null check
allocating with KM_SLEEP can't fail
2016-12-10 16:08:04 +00:00
rin
7edfde5134 Fix typo; ".Lx" should be ".Nx" 2016-12-10 14:13:29 +00:00
rin
585993030e Fix comment. We do not use the a.out format anymore... 2016-12-10 14:06:44 +00:00
rin
01217f1a0c Clear STRIPFLAG after include bsd.own.mk; it can be modified by mk.conf via
bsd.own.mk.
2016-12-10 14:03:34 +00:00
rin
a3ee12347a s/LIButil/LIBUTIL/ in DPADD 2016-12-10 13:55:55 +00:00
rin
a1a710f899 PR bin/50123 (myself): less and lesskey do not depend on libcurses and
libterminfo, respectively.
2016-12-10 13:44:51 +00:00
mrg
cccf376f77 note crash for sparc 2016-12-10 10:43:28 +00:00
mrg
20888c6f10 enable sparc crash(8) builds.
it's not very stable yet but it's not 100% useless.
2016-12-10 10:42:43 +00:00
mrg
3f687061b6 rearrange slightly to enable crash(8) to build. 2016-12-10 10:41:07 +00:00
mlelstv
722016fe51 Refactored sd and cd to use common disk subroutines. 2016-12-10 10:26:38 +00:00
mrg
d141926363 move struct cpu_info and xpmsg into <machine/cpu.h> from
<sparc/sparc/cpuvar.h>.  this enables them for crash(8)
and this seems more natural to me anyway.
2016-12-10 09:51:43 +00:00
mlelstv
6e90174755 Add d_label and add a few words to minphys and strategy.
Update disk man page for other users of the disk driver switch and
add reference to dksubr(9).
2016-12-10 09:49:00 +00:00
mrg
5f63d1b28b revert the previous. sparc has no spkr. 2016-12-10 09:44:06 +00:00
kre
27d85bae08 Remove what looks like remnant (partly removed already) debug code,
which could not possibly compile as it was.
2016-12-10 09:26:16 +00:00
kre
c0121372b2 Remove what was probably a left over remnant of a debugging printf
which was incompletely deleted.   Hopefully fix the build.
2016-12-10 08:48:11 +00:00
christos
b525cd90e0 add npf support. 2016-12-10 05:43:11 +00:00
christos
0ce32297f1 add functionality to lookup a nat entry from the connection list. 2016-12-10 05:41:10 +00:00
christos
6f9ed89369 bump libnpf. 2016-12-10 05:39:13 +00:00
christos
3d5a430c2b add npf_nat_lookup() 2016-12-10 05:37:55 +00:00
nat
c885b4911a Need to include audiobell.c 2016-12-10 05:09:10 +00:00
macallan
f9497ee986 now we have pm2_exa.c 2016-12-10 01:58:36 +00:00
pgoyette
d77ef3c058 Ooopss, missed the Makefile 2016-12-10 00:40:27 +00:00
pgoyette
21a19d30ca Create a new module for the synthesized speaker(4).
XXX Device module autoload (invoked when the /dev/speaker is opened, and
XXX no driver exists) will not find this module.  On i386 and amd64, the
XXX autoload will find the spkr module (spkr0 at pcppi0) and that module
XXX will be autoloaded.  For other architectures, either include the
XXX "spkr0 at audio0" in your config file, or manually load this new
XXX spkr_synth module using modload(8).
2016-12-10 00:39:40 +00:00
sjg
f65fa017b9 Avoid coredump for
(FOO) = fu

reported by Ori Bernstein
2016-12-09 22:56:21 +00:00
nat
14bff6ac28 No audio speaker on emips. Fixes build. 2016-12-09 22:50:10 +00:00
nat
f1631e52a4 Add functions to access device flags. This restores simultaneous audio
open/close.

OK hannken@ christos@
2016-12-09 19:13:47 +00:00
maxv
1311bb81d9 On amd64 we try to guarantee that VA = PA + KERNBASE in the bootstrap
memory. But we have a problem with the ISA I/O MEM, because its va is
located above the kernel and its pa below it, so it does not respect
the rule.

To compensate for that we make the map look like the ISA stuff is above
the kernel by applying an offset on the pa. The issue with this design is
that we systematically lose 96 pages of physical memory.

Fix this by applying the offset on the va instead. Now these 96 pages are
internalized into uvm, and the rule is respected until kern_end.
2016-12-09 17:57:24 +00:00
christos
c035549e68 Factor our model printing code; use aprint; eliminate alloca. 2016-12-09 17:18:35 +00:00
christos
e084f4b0b4 don't use alloca 2016-12-09 16:22:09 +00:00
christos
efb3a6b68d audiobell now only needs the unit. 2016-12-09 13:26:47 +00:00
christos
86703f4f21 restore audiobell api 2016-12-09 13:26:11 +00:00
christos
37817cca55 minor cleanups (no functional change) 2016-12-09 13:16:22 +00:00
roy
89a9eb7b34 When loading a kernel, test if it's already loaded before authorizing.
This allows us to return EEXIST instead of EPERM for higher secure levels.

My use case was to stop npfctl complaining that it could not load bpfjit
on ERLITE when it was compiled into the kernel.
It then went on to complain that NPF performance would be de-graded,
but this is clearly not the case.
2016-12-09 13:06:41 +00:00
martin
3a4e285d27 paddr_t might be a different size then a pointer, so cast viauintptr_t
to avoid compiler warnings.
2016-12-09 13:06:02 +00:00
roy
bf6fb5bd46 Include sljit on octeon so we can use OPTIONS BPFJIT to speed up NPF on ERLITE. 2016-12-09 10:30:48 +00:00
kamil
f6271ea6ad Restrict atf_tc_expect_fail(PR port-amd64/51700) only for amd64 (x86_64)
Other ports than amd64 have their own issues, mostly keeping this call as
unimplemented.

While there cast sig_atomic_t to int in the printf(3)-like call -- pointed
out by <martin>

Sponsored by <The NetBSD Foundation>
2016-12-09 08:34:37 +00:00
kamil
56cbf6fa65 Add check in t_exect_null to verify that SIGTRAP was emitted only once
Currently this test fails on amd64.

PR port-amd64/51700
    exect(NULL,NULL,NULL) generates 15859 times SIGTRAP on amd64

On FreeBSD/amd64 this tests passes correctly.

Sponsored by <The NetBSD Foundation>
2016-12-09 06:47:48 +00:00
christos
bbe824547d sync with latest. this should either be called spkr_pcppi or made to work
with both busses.
2016-12-09 06:12:03 +00:00
kamil
5e8d31ff24 Attach t_exect to ATF tests and distribution
Add missing SIGTRAP handler. Assert there that the signal is SIGTRAP as
expected and si_code TRAP_TRACE.

This test will break on some ports that have dummy or incomplete
implementation of exect(2).

This test works on amd64 correctly.

Sponsored by <The NetBSD Foundation>
2016-12-09 06:12:02 +00:00
christos
b5e1bd240f put back the isa/spkrio.h for compat 2016-12-09 06:05:25 +00:00
christos
2721c61205 put back spkrio.h for compat 2016-12-09 06:04:06 +00:00
christos
c53de4b74f include <sys/module.h for now so that things compile. 2016-12-09 05:45:20 +00:00