dholland
6e9e9606f7
typo
2017-07-02 07:02:47 +00:00
nat
1d8c132573
Return early from read if kpause is interrupted by a signal.
2017-07-02 05:59:27 +00:00
christos
6d52cc85b8
don't warn about AF_LINK sockets with sa_len less than the size of the sockaddr
2017-07-02 02:39:18 +00:00
jmcneill
ddb9dd9c9b
Add basic support for Allwinner A31.
2017-07-02 00:14:09 +00:00
nat
cbfe5fc929
Pad is now clones its device, attaching upon open and detaching upon close.
...
This means that only one pad device is required in /dev.
The code contains a compile time limit of 128 units.
Ok christos@.
2017-07-01 23:31:19 +00:00
nat
8c23ba2734
On a forcefull detach wait for spkr to close as the detach has to
...
succeed.
Ok christos@.
2017-07-01 23:27:17 +00:00
joerg
da656e3d1c
Kill enough K&R cruft to build with clang again.
2017-07-01 23:12:08 +00:00
jmcneill
6d7e0c91f1
Fix dmesg
2017-07-01 22:49:09 +00:00
christos
c4aed00fad
fix file descriptor locking (from joerg).
...
fixes kernel crashes by running go
XXX: pullup-7
2017-07-01 20:08:56 +00:00
christos
f36a117b25
Provide EVFILT_WRITE; this is what FreeBSD does and go wants it.
...
Makes go unit tests pass.
2017-07-01 20:07:00 +00:00
christos
7700e78cab
put the code that returns the sizeof the socket by family in one place.
2017-07-01 16:59:12 +00:00
khorben
48aa6b9350
Typo
2017-07-01 16:34:17 +00:00
jmcneill
9432a99a2d
Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
...
later family SoCs.
This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.
2017-07-01 16:25:15 +00:00
macallan
7e92c626e0
do what other SCSI drivers do - ack MSG_IGN_WIDE_RESIDUE messages and move on
...
instead of erroring out and resetting the drive
while there, when rejecting a message print which one it is
now my U2 boots without resetting its disk 3 times
2017-07-01 15:54:08 +00:00
skrll
9be87326e5
Whitespace (align comments)
2017-07-01 15:30:41 +00:00
skrll
7b7b2a2940
Trailing whitespace
2017-07-01 15:28:18 +00:00
skrll
c24c12cd2a
Define __HAVE_CPU_UAREA_ALLOC_IDLELWP
2017-07-01 14:51:59 +00:00
skrll
ed26c9a0e7
Define __HAVE_CPU_UAREA_ALLOC_IDLELWP
2017-07-01 12:52:01 +00:00
jmcneill
055f044508
--disable-nls does not work in gdb subdir, so add am_cv_func_iconv=no to
...
configure env. Fixes build on FreeBSD.
2017-07-01 12:23:09 +00:00
maxv
0d77f0b10f
Remove the osyscall call gate on i386, and emulate it. There is a one-
...
instruction race in it that could panic the kernel.
2017-07-01 10:44:42 +00:00
skrll
75d298ab97
Define __HAVE_CPU_UAREA_ALLOC_IDLELWP
2017-07-01 09:26:51 +00:00
skrll
5b47aec0ca
Report an error if compiled with MULTIPROCESSOR support but without
...
__HAVE_CPU_UAREA_ALLOC_IDLELWP
2017-07-01 09:18:31 +00:00
skrll
6a9b34e4aa
Define __HAVE_CPU_UAREA_ALLOC_IDLELWP to make use of the idlelwp stacks
...
created by arm32_kvminit.c
2017-07-01 09:17:44 +00:00
kre
2ff69d1b74
Make $- list flags in the same order they appear in sh(1)
2017-07-01 06:14:51 +00:00
nat
8304d273aa
sc_audiodev should be defined as a device_t as this is what audio_attach_mi
...
returns.
2017-07-01 05:50:10 +00:00
nat
515bbf34c5
Broadcast all conditional variables if in being deactivated so no readers
...
or writers get stuck.
2017-07-01 05:44:52 +00:00
nat
338b21d06d
Don't keep writing data if an error has occurred.
2017-07-01 05:32:24 +00:00
wiz
ea9a6a6434
Sort options (our default is 0..9AaBbZz).
...
Fix markup problems and a typo.
2017-07-01 05:11:57 +00:00
kre
8d40ff9951
Correct a markup typo (why did I not see this before the prev commit??)
2017-06-30 23:48:50 +00:00
kre
3b0318c107
Omnibus manual update for prompt expansions and new variables. Throw in
...
some random cleanups as a bonus.
2017-06-30 23:07:29 +00:00
kre
dc83385122
Implement a bunch of new shell environment variables. many mostly useful
...
in prompts when expanded at prompt time, but all available for general use.
Many of the new ones are not available in SMALL shells (they work as normal
if assigned, but the shell does not set or use them - and there is no magic
in a SMALL shell (usually for install media.))
2017-06-30 23:05:45 +00:00
kre
1fca9bbf62
Implement PS1, PS2 and PS4 expansions (variable expansions, arithmetic
...
expansions, and if enabled by the promptcmds option, command substitutions.)
2017-06-30 23:02:56 +00:00
kre
3b297678bf
Include redirections in trace output from "set -x"
2017-06-30 23:01:21 +00:00
kre
19986c5f4a
NFC: DEBUG only change - provide an externally visible (to the DEBUG sh
...
internals) interface to one of the internal (private to trace code) functions
2017-06-30 23:00:40 +00:00
christos
285444fdfa
make this standalone.
2017-06-30 21:39:43 +00:00
kre
e3112e6cea
Allow wide characters (properly encoded as byte strings according to LC_CTYPE)
...
to be (perhaps part of) the "invisible" characters in a prompt, or the
required prompt character which follows the literal sequence (this character
must be one with a printing column width >= 1). The literal indicator
character (which is just a marker, and not printed anywhere) (the PSlit
parameter in sh(1)) can also be a wide char (passed to libedit as a wchar_t,
encoded as that by sh(1) or other applications that support this.)
Note: this has currently only been tested with everything ascii (C locale).
2017-06-30 20:26:52 +00:00
christos
5ca98f2167
Avoid DIAGNOSTIC warning with previous fix and simplify it (don't require
...
memory alloc/free).
2017-06-30 18:28:31 +00:00
christos
de046fc365
remove merge conflict part.
2017-06-30 11:55:56 +00:00
christos
fc6bd93fff
new bind.
2017-06-30 11:52:32 +00:00
christos
328d17d7f4
merge conflicts
2017-06-30 11:32:33 +00:00
christos
c168d3a21f
--- 9.10.5-P2 released ---
...
4643. [security] An error in TSIG handling could permit unauthorized
zone transfers or zone updates. (CVE-2017-3142)
(CVE-2017-3143) [RT #45383 ]
4633. [maint] Updated AAAA (2001:500:200::b) for B.ROOT-SERVERS.NET.
2017-06-30 11:21:53 +00:00
christos
b48a2efd04
Revert previous since it causes a double free (p->nc_netid == tmp == tmp2).
...
From Xin Li @ FreeBSD.
XXX: pullup 7
2017-06-30 10:03:34 +00:00
jmcneill
338503a3dd
Use of_match_compatible instead of of_compatible
2017-06-30 09:19:19 +00:00
jmcneill
ce32255016
Add of_search_compatible, which searches an array of compat_data structures
...
for a matching "compatible" entry matching the supplied OFW node. This
allows us to associate data with compatible strings.
2017-06-30 09:17:05 +00:00
ozaki-r
f0a30a5d8f
Restore the original length of a sockaddr for netmask
...
route(8) passes a sockaddr for netmask that is truncated with its
prefixlen. However the kernel basically doesn't expect such format
and may read beyond the data. So restore the original length of the
the data at the beginning of the kernel for the rest components.
Failures of ATF tests such as route_flags_blackhole6 should
be fixed.
2017-06-30 09:11:22 +00:00
jmcneill
17764125e7
Add fdtbus_get_string helper
2017-06-30 09:11:21 +00:00
jmcneill
0c63cbfb9f
Remove unused defines
2017-06-30 09:05:52 +00:00
skrll
d777316d34
KNF. Same code before and after.
2017-06-30 08:10:50 +00:00
skrll
42afdf9bb7
typo in comment
2017-06-30 08:05:22 +00:00
ozaki-r
3cd9889005
Check if ARP/NDP entries are purged when a related route is deleted
2017-06-30 07:57:12 +00:00