summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-13Do the strerror() elimination dance with a log_warnx() -> log_warn().Kenneth R Westerback
2017-02-13Do the strerror() elimination dance with log_warnx() -> log_warn(),Kenneth R Westerback
fatalx() -> fatal() and even a couple of fprintf(stderr) -> log_warn().
2017-02-13Banished to the attic.Kenneth R Westerback
2017-02-13Switch from old errwarn.c logging to shiny new log.[ch].Kenneth R Westerback
ok benno@
2017-02-13Switch from old errwarn.c logging to shiny new log.[ch].Kenneth R Westerback
ok benno@
2017-02-13Fix powerdown with vmmci(4) VMs using a shutdown and no reset.Reyk Floeter
vmm VMs don't support powerdown - no ACPI or power management - so we use a trick to issue a reboot and just don't reset after the triple fault. This worked before but was broken with the previous fix to pvbus_shutdown() - move the trick to vmd instead. OK mlarkin@
2017-02-13Test IPsec with AH the same way it is already done for ESP.Alexander Bluhm
2017-02-13Collected cells may still need to be extended for RGB colours.Nicholas Marriott
2017-02-13Reverse output when installing a patch; it's more logical (first get, thenAntoine Jacoutot
install). While here, match the installer output a bit more: Get/Verify ... Installing ... prodded by a mail exchange with "bytevolcano" discussed with robert@ sthen@ ok robert@
2017-02-13draft-ietf-idr-shutdown extends to support a message on either ofPeter Hessler
"Administrative Shutdown" or "Administrative Reset" patch submitted by Job Snijders, thanks!
2017-02-13fix incoming tls-require regression, introduced with last parse.y cleanupGilles Chehade
causing the flag not to be propagated down to the listener ok eric@
2017-02-13allow negation of authenticated keyword:Gilles Chehade
accept ! authenticated [...] ok sunil@, jung@
2017-02-13whitespace tweak. no functional change.David Gwynne
2017-02-13properly set BGE_HCC_STATS_ADDR_HI by using BGE_HOSTADDR.David Gwynne
this makes it consistent with the rest of the code.
2017-02-12Replace dummy mutex asserts with real ones.Visa Hankala
OK stsp@
2017-02-12Remove dead assignment and now unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok dlg@
2017-02-12syncTheo Buehler
2017-02-12Eliminate most strerror() invocations by using log_warn() and fatal()Kenneth R Westerback
instead of log_warnx() and fatalx(). A few log_info() to log_warn() for the same reason. Suggested by millert@.
2017-02-12Do not access a NULL pointer if a matrix or square root are empty.Ingo Schwarze
Crashes found by tb@ with afl(1).
2017-02-12Adjust lines that are too long.Kenneth R Westerback
2017-02-12Remove now unused file.Kenneth R Westerback
2017-02-12Switch from 'legacy' errwarn.c to standard daemon logging functions.Kenneth R Westerback
No objections heard. Feedback from millert@ guenther@
2017-02-12Remove incorrect if statementMike Belopuhov
Pointed out by jsg@ and Nathanael Rensen, <nathanael at list ! polymorpheus ! com>, thanks!
2017-02-12malloc does not *need* to return page-aligned objects for size >=Otto Moerbeek
a page. This is not required by any standard and other malloc implementation do not document (or implement) this. ok deraadt@
2015-01-01eqn(7) testsIngo Schwarze
2017-02-12install clang-local(1)Jonathan Gray
2017-02-12mention -Wpointer-sign being off by defaultJonathan Gray
2017-02-12Disable -Wpointer-sign warnings per defaultStefan Kempf
base gcc does the same. suggested by and ok jsg@
2017-02-12Add /root/.ssh/authorized_keys to /etc/mtree/special so that security(8)Landry Breuil
checks for the correct mode/ownership. prodded by ajacoutot@
2017-02-12In autoinstall, no need to create /mnt/root/.ssh if the install scriptLandry Breuil
provided an ssh public key, the directory is in the base set now. From tb@, discussed with rpe@ and tb@
2017-02-12sync (add /root/.ssh & /root/.ssh/authorized_keys)Landry Breuil
2017-02-12As it's done in /etc/skel for new regular users, create an emptyLandry Breuil
/root/.ssh/authorized_keys file with correct permissions (0600 for the file, 0700 for /root/.ssh dir). Since we encourage administrators to use public keys only if they want to access root account via ssh, might aswell make it easier, this will be particularly useful in managed/provisioned environments (think ansible & others). Note that administrators might get an e-mail from security(8) if the file suddenly appears after an update - this is of course expected :) ok tb@ sthen@ rpe@ ajacoutot@
2017-02-12Split up fork1():Philip Guenther
- FORK_THREAD handling is a totally separate function, thread_fork(), that is only used by sys___tfork() and which loses the flags, func, arg, and newprocp parameters and gains tcb parameter to guarantee the new thread's TCB is set before the creating thread returns - fork1() loses its stack and tidptr parameters Common bits factor out: - struct proc allocation and initialization moves to thread_new() - maxthread handling moves to fork_check_maxthread() - setting the new thread running moves to fork_thread_start() The MD cpu_fork() function swaps its unused stacksize parameter for a tcb parameter. luna88k testing by aoyama@, alpha testing by dlg@ ok mpi@
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2017-02-12The videocore portion of the raspberry pi which boots the arm cores andJonathan Gray
runs the mailbox interface knows about a MAC address that appears to be derived from a unique serial number along with the raspberry pi foundation oui. It modifies the device tree when booting to store the MAC address in /axi/usb/hub/ethernet/mac-address so fetch and use this value for the integrated smsc(4) Ethernet. A different smsc adapter plugged into one of the USB ports probes later with a different unit number and skips this path.
2017-02-12Fix an uninitialised return value in rtwn_ra_init(). Though nothingJonathan Gray
currently tests the return value. ok stsp@
2017-02-11tweak previous;Jason McIntyre
2017-02-11tweak previous;Jason McIntyre
2017-02-11Do not read one element past the end of the static const termacts array.Ingo Schwarze
Bug found by Sevan Janiyan <venture37 at geeklan dot co dot uk> who ran the OpenBSD mandoc test suite on Ubuntu on POWER8 (sic!) and reported that mdoc/Sh/before.in failed in -Tman mode. If that isn't power testing, i don't know...
2017-02-11Correct handling of requests to delete individual attribute values.Philip Guenther
reported by ZHANG Huangbin (zhb (at) iredmail.org) fix by Robert Klein (roklein (at) roklein.de)
2017-02-11new regression tests for mdoc_macro.c revs. 1.167-1.172Ingo Schwarze
2017-02-11remove a few Mdocdate that snuck inIngo Schwarze
2017-02-11Add a flags argument to falloc() that lets it optionally set thePhilip Guenther
close-on-exec flag on the newly allocated fd. Make falloc()'s return arguments non-optional: assert that they're not NULL. ok mpi@ millert@
2017-02-11Move parse_warning() into parse.c to prepare to replace errwarn.cKenneth R Westerback
with standard daemon log.[ch]. ok mpi@
2017-02-11Never look for broken blocks inside blocks that are already closed.Ingo Schwarze
Fixes the last the of tree corruptions sometimes causing NULL dereference reported by tb@; this one triggered in cases like: .Bl -column .It Pq Ta
2017-02-11Always leave one free slot in the Tx ring to avoid ambiguity with ringVisa Hankala
head and tail in the interrupt handler. This fixes an old bug that causes a Tx stall when Tx ring gets full.
2017-02-11Do not prematurely close .Nd containing a broken child.Ingo Schwarze
Fixes tree corruption leading to NULL dereference in insane cases like .Oo Oo .Nd .Pq Oc .Oc Oc found by tb@ with afl(1).
2017-02-11syncTheo Buehler
2017-02-11Do not prematurely mark intermediate blocks as broken while scanningIngo Schwarze
backwards. Only do so when a block is found that is actually broken. Logic error found while investigating crashes reported by tb@.
2017-02-11Simplify ifq_deq_{begin,rollback,commit} sequence to ifq_dequeue.Visa Hankala