summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-11-02Switch DEC 3000 (TURBOchannel) alpha serial code to MI z8530 code.Martin Pieuchot
ttyB* minor numbers change; be sure to rerun MAKEDEV if you do not upgrade with bsd.rd Adapted from NetBSD by miod@
2017-11-02's' should include 'f'; from Jacqueline JolicoeurOtto Moerbeek
2017-11-02Move PRU_DETACH out of pr_usrreq into per proto pr_detachFlorian Obser
functions to pave way for more fine grained locking. Suggested by, comments & OK mpi
2017-11-02Check if the arguments are NULL instead of dereferencing them blindly.Martin Pieuchot
Delete incorrect "unused" keyword and remove redundant variables due to missing NULL checks. From Helg Bredow.
2017-11-02Update libexpat to 2.2.5. Changes for OpenBSD include a few bugAlexander Bluhm
fixes, no library bump needed. OK deraadt@
2017-11-02Over 17 years is probably 'a while...'Florian Obser
Also it does not change behaviour. OK jca
2017-11-02Use emalloc, like in the rest of makefsJeremie Courreges-Anglas
From Michael W. Bombardieri
2017-11-02Straightforward conversion to strtonum. Slight change of behavior in thatTheo Buehler
trailing whitespace is no longer permitted when invoked from stdin. From Scott Cheloha. ok jca
2017-11-02Replace ps | grep with pgrep and use && instead of if-then-fi.Theo Buehler
From Raf Czlonka. ok halex
2017-11-02Kill bogus use of LC_TIMEJeremie Courreges-Anglas
Diff from Jan Stary, ok kettenis@
2017-11-02Switch calloc(3) back to malloc(3). The call to calloc was introducedTheo Buehler
by the plaintext history diff, but the code that may have depended on this was since removed from history.c. None of the code introduced between the plaintext history commit and now depends on calloc(3). This way we can again use malloc.conf(5)'s J option to recognize use of uninitialized memory. ok jca
2017-11-02openssl s_time -connect host:port needs dns promise for pledge(2) otherwise itRicardo Mestre
will SIGABRT Bug found by Scott Cheloha <scottcheloha at gmail.com> OK deraadt@
2017-11-01don't look directly at PKG_CACHE, but ask the state, so that onlyMarc Espie
pkg_add actually looks at the env variable, and it doesn't affect other tools. buglet noticed by Lari Rasku
2017-11-01Extra space in previousJeremie Courreges-Anglas
2017-11-01Remove forward declaration hack now that ctfconv(1) merge them correctly.Martin Pieuchot
ok jasper@
2017-11-01Disable relocation until it is shown to be necessary. This codeMartin Pieuchot
is present here because ctfconv(1) needs it. Prevent an access violation since the file is mmap(2)'d without write permission. Triggered by jsg@ with afl(1).
2017-11-01Add readiness to utilize LMTDMA operations.Visa Hankala
2017-11-01Fix the addressing of CVMSEG. The base address already points toVisa Hankala
the correct address space for direct referencing. Previous code has worked because the address conversion has only set bits that are already on.
2017-11-01Make ip-transparent option work by using SO_BINDANY.Florian Obser
OK jca, benno jca also points out that Delan Azabani (delan _AT_ azabani.com) wrote exactly the same diff in 2016. It was OK bluhm but apparently never commited.
2017-11-01Make ip-transparent option work by using SO_BINDANY.Florian Obser
OK jca, benno
2017-11-01add missing El, though i'm sort of guessing as to its position;Jason McIntyre
2017-11-01Update ruby-module.5 for default ruby version switch from 2.3 to 2.4Jeremy Evans
Also remove ruby 1.8, 2.1, and 2.2 information, as that support was removed. Additionally, extconf CONFIGURE_STYLE support was removed, so remove mention of that as well.
2017-11-01shrink the generated PostScript by more than 50% by actually using PostScriptMarc Espie
- define each font setup. - package moveto/show as one command. - extra shorthand when y doesn't change, reuse the current pos. okay schwarze@
2017-11-01update currency exchange rates;Jason McIntyre
2017-11-01Fix typo in previous resulting in a NULL dereference.Martin Pieuchot
2017-11-01fix broken stdout in ControlPersist mode, introduced by me in r1.467Damien Miller
and reported by Alf Schlichting
2017-10-31- add one more softnet taskqAlexandr Nedvedicky
NOTE: code still runs with single softnet task. change definition of SOFTNET_TASKS in net/if.c, if you want to have more than one softnet task OK mpi@, OK phessler@
2017-10-31Replace usage of WSMUX_{ADD,REMOVE}_DEVICE compat macros.anton
ok deraadt@, mpi@
2017-10-31Make -zdefs and --no-undefined no-ops for now, to unblock ports devs at p2k17.Philip Guenther
We don't link libc into shared-libraries by default to avoid binding libraries to specific libc majors, so those options have always suffered false positives for us, but with the move of functions from libpthread to libc the problem has gotten even worse. A version-agnostic binding to libc would solve this better but it's on back-order behind the pony I requested. tweak and ok deraadt@
2017-10-31syncTheo de Raadt
2017-10-31Argh: put back some linker-supplied symbols to avoid triggering a bugPhilip Guenther
in binutils that results in uninitialized .dynsym entries in shared objects in the samba port. problem reported by naddy@ ok jca@ kettenis@
2017-10-31Add platform-id for EFI.YASUOKA Masahiko
seem fine deraadt
2017-10-31Fix a bug which made the boot entries' order reverse, introduced at 1.8 onYASUOKA Masahiko
NetBSD. seem fine deraadt
2017-10-31Initialize boot_catalog_entry's entry_type properly. This had beenYASUOKA Masahiko
missing but the type was used in cd9660_setup_boot(). seem fine deraadt
2017-10-31Merge type forward declarations with real ones as soon as they are found.Martin Pieuchot
2017-10-30- fine tuning PF_LOCK in pfioctl()Alexandr Nedvedicky
(extra thanks to Hrvoje for testing) OK mpi@
2017-10-30whitespace at EOLDamien Miller
2017-10-30whitespace at EOLDamien Miller
2017-10-30syncTheo de Raadt
2017-10-30Fix '-L' file handling. Mixing idioms in previous cleanups ended upKenneth R Westerback
fopen()'ing the the file with a mode of "a" (so watchers don't detect changes until the file is re-written as part of interface configuration) but using rewind() to start writing from the beginning of the file. Use ftruncate() and overwrite the date as intended, rather than appending new data. Problem reported and diffs tested by Mike via tech@. Thanks!
2017-10-30List bwfm(4) in usb(4).Patrick Wildt
Prompted by and ok jmc@
2017-10-30Fix grammar mistake I was supposed to fix before committing.Patrick Wildt
2017-10-30Add bwfm(4) manpage.Patrick Wildt
ok stsp@
2017-10-30Let witness(4) differentiate between taskq mutexes to avoidVisa Hankala
reporting an error in a scenario like the following: 1. mtx_enter(&tqa->tq_mtx); 2. IRQ 3. mtx_enter(&tqb->tq_mtx); Found by Hrvoje Popovski, OK mpi@
2017-10-30Document {mtx,rw,rrw}_init_flags() and MUTEX_INITIALIZER_FLAGS().Visa Hankala
Input and OK jmc@, OK mpi@
2017-10-30Kill <net/slip.h>.Martin Pieuchot
The ioctl(2) it defines is not supported since a long time and most of its defines are already present in tcpdump(8). ok jca@
2017-10-30Exit printing an error message if SIOCSIFMEDIA fails.Martin Pieuchot
from Jesper Wallin.
2017-10-30In the subjectAltName comparison, the bzero before the while-loop wasPatrick Wildt
lost while applying the diff. This is means sanid could be passed uninitialized to ca_x509_subjectaltname_cmp(), where ibuf_release() could try to release a pointer which is essentially stack garbage. While there I realized that the bzero() in the loop is essentially fatal, since every mismatch leads to a silent leak of ibufs. Since ca_x509_subjectaltname_cmp() releases and initializes the passed iked_id, we can safely call it multiple times after initializing sanid once before the loop. ok markus@
2017-10-30fix oob read; form llvm via Vlad Tsyrklevich; ok millert@Otto Moerbeek
2017-10-30add regress tests for new vmd bridge handling codeMike Larkin
from Carlos Cardenas, thanks