summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-10-12Don't return 1 if the syspatch release directory does not exist; it justAntoine Jacoutot
means that no patch is available yet.
2017-10-12some style fixes from ross l richardson;Jason McIntyre
checked by/ok bluhm
2017-10-12Replace fgetln(3) with getline(3) which is portable and less error prone.Florian Obser
From Scott Cheloha (scottcheloha AT gmail), thanks! OK bcallah
2017-10-12Stop leaks of SSID strings. Whitespace fix.Kenneth R Westerback
2017-10-12Make parse_string() toe the new line by returningKenneth R Westerback
0 for failure, 1 for success, emitting a single error message ("expecting string.") and handling ';' better. Don't leak memory when encountering pathological config or lease files containing repeated instances of an option or command with string data.
2017-10-12Apparently one of the main concepts in the SDMMC I/O subsystem is thatPatrick Wildt
the driver attached to an SDIO card always holds the lock and only releases it once it detaches. Now with that in mind, some time ago sdmmc_io_function_disable() and sdmmc_io_function_ready() were changed to only assert the write lock and not take it, but not all of the tree was converted. Change sdmmc_io_function_enable() as well, and remove the enter/exit dance in the interrupt code. Apparently there is no SDIO driver yet/anymore which would trigger those issues. ok kettenis@
2017-10-12Show exit status and time in the remain-on-exit pane text, mostly fromNicholas Marriott
Timo Boettcher in GitHub issue 1103.
2017-10-12add -G to usage();Jason McIntyre
2017-10-12Use a temporary variable in rw_status() to dereference only once theMartin Pieuchot
volatile member of the struct. Not forcing a memory read on every access, 3 in this function, might reduce cache traffic in some cases. Micro-optimization and diff provided by Mateusz Guzik. ok visa@
2017-10-12Move sysctl_mq() where it can safely mess with mbuf queue internals.Martin Pieuchot
ok visa@, bluhm@, deraadt@
2017-10-12Fix a singed vs unsigned comparison resulting in an overflow of theMartin Pieuchot
routing socket. When clang became the default compiler, `if_flags' from `struct ifnet' was changed from "short" to "unsigned short", to silence a warning. Sadly the copy of these flags on the stack was still a "short" which made the flags comparison always true, which in turn made ifioctl() generates a RTM_INFO message for many ioctl(2). Since my last commit, the flag comparison is done for every ioctl(2). This made the kernel generate at least one routing message per ioctl, resulting in a lot of RTM_DESYNC. RTM_DESYNC problem reported by krw@ thanks to dhclient(8)'s noisiness! ok krw@, patrick@
2017-10-12Add Section Attirbute flag defines, some default values for n_typeMartin Pieuchot
and a couple of missing EM_* required to build devel/libdwarf and devel/valgrind. ok deraadt@, jasper@
2017-10-12Add missing size to free(); ok deraadt@ mpi@anton
2017-10-11Works better when both files in a diff areKenneth R Westerback
committed.
2017-10-11syncTheo de Raadt
2017-10-11Eliminate unneeded intermediate variable. FixKenneth R Westerback
some 'return;'s that should be 'break;'s.
2017-10-11Allow GREY entries to be removed by IP address. OK beck@Todd C. Miller
2017-10-11missing prototype for db_ctf_pprintJasper Lievisse Adriaanse
ok mpi@
2017-10-11Update regress now that ssl_cipher_list_to_bytes() takes a CBB.Joel Sing
Based on a diff from doug@
2017-10-11Convert ssl3_client_hello() to CBB.Joel Sing
As part of this, change ssl_cipher_list_to_bytes() to take a CBB argument, rather than a pointer/length. Some additional clean up/renames while here. Based on a diff from doug@
2017-10-11input files should not be .o; from Scott ChelohaTheo de Raadt
2017-10-11Generate a router advertisement with scapy and check that slaacdFlorian Obser
receives it by parsing slacctl show interface. This is a first stab, more things should be checked.
2017-10-11regenPatrick Wildt
2017-10-11Add bwfm(4), a driver for Broadcom FullMAC WiFi controllers. ThePatrick Wildt
FullMAC, in comparison to SoftMAC, does most WiFi handling in the firmware that's running on the controller. This means we have to work around the net80211 stack while still implementing all the WiFi interfaces to userland. This driver is still in early development. So far it can connect to open WiFis over the USB bus. SDIO and PCIe support, for devices like the Raspberry Pi 3 or the Macbooks, is not yet implemented. Also mbufs on the transmit path leak and are not yet freed. ok stsp@
2017-10-11don't create pyc filesFlorian Obser
2017-10-11Fully convert ssl3_send_server_hello() to CBB.Joel Sing
Based on a diff from doug@
2017-10-11Tweak parse_date() again, this time to factorKenneth R Westerback
code in the same way as the other parse_*() functions. Whitespace fix in comment while passing. Also conform to idiom that original data is not changed in the error path.
2017-10-11Try to make CPU cache size values more correct, especially on OCTEON IIVisa Hankala
and III. The logic does not look nice, but the parameters do not follow the standard config register layout anyway. Remove unnecessary default values, and assume that the Config1 and Config2 registers are available on every CPU. Tested on CN5020, CN6120, CN7130 and CN7360.
2017-10-11Remove lie talking about splsoftclock().Martin Pieuchot
2017-10-11Box around label in preview.Nicholas Marriott
2017-10-11Add missing file.Mark Kettenis
ok patrick@
2017-10-11Link vmd regress to build on amd64 and i386.Alexander Bluhm
2017-10-11Add regression tests for vmd(8) config parsing.Alexander Bluhm
from Carlos Cardenas; OK mlarkin@
2017-10-11Clear to end of line properly with UTF-8 present.Nicholas Marriott
2017-10-11Tweak parse_decimal() and its invocations to emit aKenneth R Westerback
single error message ("expecting integer between x and y") and to properly handle ';' in error cases.
2017-10-11If $MODE.site fails, store random.seed and error out. Based on a diffTheo Buehler
for auto$MODE by rpe in response to a question by mpi. ok rpe mpi
2017-10-11Make the tc alpha blinkenlichten start by default.Martin Pieuchot
Restores the balance of serenity and peace of mind of the last real alpha user, to some extent. From miod@
2017-10-11Fix debug printf, from Dave Voutila.Martin Pieuchot
2017-10-11Add C-n and C-p keys for tree mode, and choose the right initial lineNicholas Marriott
when no panes.
2017-10-11Move `kq_count' increase/decrease close to the corresponding TAILQ_*Martin Pieuchot
insert/remove operation. No functionnal change for the moment. However this helps to make this code mp-safe. Note that markers are still not, and wont be, counted. ok visa@, jsing@, bluhm@
2017-10-11Move kq_kev from struct kqueue to the stack.Martin Pieuchot
It turns this set of events per-thread without having to lock anything. From Dragonfly 10f6680a4f6684751aaae0965abfe140f19e9231 ok kettenis@, visa@, bluhm@
2017-10-11ifioctl() cleanups.Martin Pieuchot
Only one semantic chance for SIOCSIFXFLAGS, rtm_ifchg() is now only called when the flags changed, not always. ok bluhm@, visa@
2017-10-11Ensure that the tag and line number are always separated by at least a singleanton
space. ok deraadt@
2017-10-11add em7345; from christoph r. murauerJason McIntyre
2017-10-11Add "machine gop" command to support changing graphic output mode.YASUOKA Masahiko
The selected mode is used by efifb(4). original diff from Klemens Nanni, tested by Andrew Daugherity
2017-10-11Repair printing of classless-static-routes to leasesKenneth R Westerback
file. Broken due to incorrect translation from a netmask to the count of leading 1's. Use brute force counting until something better is found. Issue discovered and diffs tested by Anthony Coulter via bugs@. Thanks!
2017-10-10hidmt: send input mode set report as 2 bytes, matches linuxJoshua Stein
tested by a few
2017-10-10hidmt: add support for hybrid packet mode used by some touchpadsJoshua Stein
2017-10-10hidmt: rename internal hidmt_input struct to hidmt_data, avoid clashJoshua Stein
with hidmt_input function
2017-10-10Move comment line and spacing.Robert Peichaer