summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-14add usb id for TP-LINK TL-WN722N v2Sebastian Benoit
ok deraadt@ phessler@ kettenis@
2017-12-14Change bcopy to memcpy in the i386 version of the VIA PadLock driver.Frederic Cambus
It was done a while ago in the amd64 version. OK mlarkin@, deraadt@, dlg@
2017-12-14zap trailing whitespace;Jason McIntyre
2017-12-14Repair flushcache/standby operations to not convert AT_WAIT operationsTheo de Raadt
to AT_POLL, which some chip driver underneath cannot handle. tested by bluhm also
2017-12-14fcntl(F_SETFL) invokes the FIONBIO and FIOASYNC ioctls internally, soPhilip Guenther
the memory devices (/dev/null, /dev/zero, etc) need to permit them. problem noted, tweak, and testing by jeremy@ ok deraadt@
2017-12-14i forgot to convert timeout_proc_barrier to cond_signalDavid Gwynne
2017-12-14i forgot to convert ifq_barrier_task to cond_signal.David Gwynne
2017-12-14replace the bare sleep state handling in barriers with wait cond codeDavid Gwynne
2017-12-14add code to provide simple wait condition handling.David Gwynne
this will be used to replace the bare sleep_state handling in a bunch of places, starting with the barriers.
2017-12-13Fix whitespace botch that snuck in.Kenneth R Westerback
2017-12-13Simplifiy parser by not worrying about nesting 'interface <if> {}'Kenneth R Westerback
statements. They are silly but harmless and work fine.
2017-12-13Fix a softdep bug exposed by our recent changes to make reboot drop to read-onlyBob Beck
The deadlock happens when softdep gets the same buffer in the BMSAFEMAP case that it already called getdirtybuf() on and made busy at the top of the loop. when this is the case, skip the BMSAFEMAP case and simply write the buffer out at the bottom of the loop as always. This avoids calling getdirtybuf() a second time on the same buffer we already took for exclusive use ourself and have not yet written out. While I'm in here add a KASSERT for the similar case above, which I don't think can happen but we would deadlock in the same way if it does. testing by and ok bluhm@
2017-12-13Fix array index by signed char; from martijn@Todd C. Miller
2017-12-13Fix sign compare warnings; OK martijn@Todd C. Miller
2017-12-13Enable compiler warnings; OK martijn@Todd C. Miller
2017-12-13Add support for the -d (-o debug) option to libfuse. Currently works for FUSEhelg
file systems that call fuse_parse_cmdline(3), fuse_main(3) or fuse_setup(3). ok mpi@, jca@
2017-12-13If the list of templates 'o' passed to fuse_opt_parse(3) is NULL thenhelg
the processing function should be called in the same way as if no match was found. ok mpi@
2017-12-13Fix stray return; hopefully this makes the internal PHY actually work now.Mark Kettenis
2017-12-13Spacing from kshe59@zoho.eu.Martin Pieuchot
2017-12-13Sizes for free in route_output().Martin Pieuchot
From kshe59@zoho.eu.
2017-12-13Add 'bt' an alias for 'trace'.Martin Pieuchot
ok pirofti@
2017-12-13getsockname(2) needs to be passed the length of the input struct.Patrick Wildt
ok jca@
2017-12-13report Oracle as the vendor is the produce starts with ORCL,David Gwynne
makes it consistent with reporting Sun or Fujitsu based on produce prefixes. ok kettenis@
2017-12-12Add more Allwinner A80 clocks.Mark Kettenis
2017-12-12Fix pfloadanchors tests when running with obj directory.Alexander Bluhm
Remove unused file.
2017-12-12Use bn_checkp() always; from ksheOtto Moerbeek
2017-12-12Minor cleanup from ksheOtto Moerbeek
2017-12-12optimize add, sub and mul; from kshe; ok tom@Otto Moerbeek
2017-12-12Consistently use .Va for "errno";Ingo Schwarze
patch from Jan Stary <hans at stare dot cz>; "I think it makes sense to speak about errno as a variable (.Va)" jca@.
2017-12-12Only trigger background scans while we are in RUN state, and do not updateStefan Sperling
a node's RSSI info while we are still in INIT state. ok phessler@
2017-12-12Make ieee80211_chan2ieee() panic if a bogus channel pointer is detected.Stefan Sperling
ok patrick@
2017-12-12Make IEEE80211_CHAN_ANYC be a NULL pointer instead of a pointer to 0xffff.Stefan Sperling
Should speed up debugging. ok phessler patrick
2017-12-12ld.so's syscall _dl_* API/ABI doesn't reurn errno, but -errno.Theo de Raadt
Reviewing behaviour artifacts with pledge, I discover a close(-ENOSYS).. ok guenther
2017-12-12Create a persistent umac128.c source file: #define the output size andChristian Weisgerber
the name of the entry points for UMAC-128 before including umac.c. Idea from FreeBSD. ok dtucker@
2017-12-12Don't dereference IEEE80211_CHAN_ANYC pointer in ieee80211_node_checkrssi().Stefan Sperling
Problem reported by Gregoire Jadi on bugs@
2017-12-12Allow interfaces that aren't SCANNALLBAND drivers to benefit from thePeter Hessler
strongest received signal. OK stsp@
2017-12-12Fix 2 bugs introduced by previous.Martijn van Duren
Pointed out by kshe59 <at> zoho <dot> eu OK millert@
2017-12-12Nuke some forward-only struct's and functions and functions therebyKenneth R Westerback
made empty. Found by new ctfconv(1) feature and validated by clang. ok mpi@
2017-12-12Document change in the default shell prompts.Theo Buehler
Discussed with and ok jmc
2017-12-12Remove unused variable defined with an unexisting type.Martin Pieuchot
Found with ctfconv(1). ok jsg@, dlg@
2017-12-12space required between macro arg and punctuation;Jason McIntyre
2017-12-12Fix typo. Unbreaks building a kernel on arm64/clang.Mark Kettenis
2017-12-12Avoid undefined behaviour in rorate_left() macro. From NetBSD via FreeBSD.Mark Kettenis
Makes gas work when compiled with clang. ok patrick@, millert@
2017-12-12stray , snuck inTheo de Raadt
2017-12-12spacingTheo de Raadt
2017-12-12syncTheo de Raadt
2017-12-12pledge()'s 2nd argument becomes char *execpromises, which becomes theTheo de Raadt
pledge for a new execve image immediately upon start. Also introduces "error" which makes violations return -1 ENOSYS instead of killing the program ("error" may not be handed to a setuid/setgid program, which may be missing/ignoring syscall return values and would continue with inconsistant state) Discussion with many florian has used this to improve the strictness of a daemon
2017-12-12Fix the behavior of preferring weaker-but-still-good 5Ghz APs overJoshua Stein
2Ghz APs because the 5Ghz band is generally less saturated. The previous implementation was dependent upon the order of walking APs. ok stsp
2017-12-12Include hostname in shell prompts by defaultTheo Buehler
With tmux, ssh and vmd, we tend to open shells on many different hosts simultaneously and the default prompts '$ ' and '# ' for {,k}sh as well as '% ' and '# ' for csh become dangerous: it's very easy to issue a command on the wrong host. This can easily be avoided by displaying the hostname in the prompt. Everything beyond "hostname{$,#,%} " is going to be a matter of taste, so we left it at that. If you use an FQDN, only the first part (the output of 'hostname -s') will be printed. requested by and ok deraadt; mostly positive feedback many ok anton, brynet, bcallah and others
2017-12-11The code can be simplified by using clock_gettime(2)'s CLOCK_REALTIMETheo Buehler
instead of gettimeofday(2). From Scott Cheloha, ok jca