summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-09-07Minimal man page.Antoine Jacoutot
2016-09-07Don't fetch all patches at once but instead fetch+verify+patch one by one.Antoine Jacoutot
2016-09-07Don't put bsd.mp twice in the GENERIC.MP rollback tarball.Antoine Jacoutot
2016-09-07dump some extra vcpu state if failure to launch is detectedMike Larkin
2016-09-07revert part of 1.18 which caused a regression with at least one ikbdJoshua Stein
device reported by Callum R. Davies
2016-09-07fix a wrong printf in a dump/debug functionMike Larkin
2016-09-07syspatch goal is not to act as a package manager but to sync the system to theAntoine Jacoutot
corresponding stable. So prevent rollbacking a specific binpatch but instead always rollback the latest one. It's the only way we can know the system is consistent. discussed with halex@ jasper@ robert@
2016-09-07Validate service names with _rc_check_name() from rc.subr.Antoine Jacoutot
ok sthen@ robert@
2016-09-07Introduce an _rc_check_name() function to check the input script name so thatAntoine Jacoutot
we don't end up with cryptic error messages. Regex help from rpe@ Issue reported by Anthony Coulter in rcctl(8), but better fix the root cause. Also clarify the mage page that rc.d script name must follow ksh(1) variable naming. ok robert@ sthen@
2016-09-07Source Joachim Nilsson:Mark Lumsden
Found by Coverity Scan. The popbuf() function iterated over a list to find a wp pointer, then sent it to showbuffer() which immediately went ahead and dereferenced it. This patch simply adds a NULL pointer check before calling showbuffer(), if NULL then just return NULL to callee. ok awolk@ millert@
2016-09-07restore commenting scheme:Ingo Schwarze
before descending, after ascending, but not around single-subdir dirs
2016-09-07Rename rtable_mpath_next() into rtable_iterate() and make it do a properMartin Pieuchot
reference count. rtable_iterate() frees the passed ``rt'' and returns the next one on the multipath list or NULL if there's none. ok dlg@
2016-09-07Do not check for NULL after calling an allocator with WAITOK.Martin Pieuchot
All allocations are done during ioctl() so it is safe to sleep. ok claudio@, phessler@
2016-09-07Use C99 types.Martin Pieuchot
ok claudio@, phessler@
2016-09-07Only free the old cached next hop route if the new one is valid.Martin Pieuchot
Leaving a NULL pointer on a RTF_GATEWAY is no longer supported, and a KASSERT() triggers. Found the hardway by and ok sthen@
2016-09-07Backport https://reviews.llvm.org/rL279449 from upstreamStefan Kempf
ok pascal@ Original commit message: [SSP] Do not set __guard_local to hidden for OpenBSD SSP guard_local is defined as long on OpenBSD. If the source file contains a definition of guard_local, it mismatches with the int8 pointer type used in LLVM. In that case, Module::getOrInsertGlobal() returns a cast operation instead of a GlobalVariable. Trying to set the visibility on the cast operation leads to random segfaults (seen when compiling the OpenBSD kernel, which also runs with stack protection). In the kernel, the hidden attribute does not matter. For userspace code, guard_local is defined as hidden in the startup code. If a program re-defines guard_local, the definition from the startup code will either win or the linker complains about multiple definitions (depending on whether the re-defined __guard_local is placed in the common segment or not). It also matches what gcc on OpenBSD does.
2016-09-07Fix about the default value of pptp-hostname. It's an empty string.YASUOKA Masahiko
Reported by Joe Holden.
2016-09-07Tweak wording on previousPhilip Guenther
2016-09-07Clarify what it means when PT_OPENBSD_RANDOMIZE and PT_GNU_RELRO segmentsPhilip Guenther
overlap
2016-09-07install switch.4YASUOKA Masahiko
2016-09-07Describe the PT_GNU_{EH_FRAME,RELRO} and PT_OPENBSD_{RANDOMIZE,WXNEEDED}Philip Guenther
segment types. Tighten up the description of the PT_PHDR type and elaborate the descriptions of the PT_DYNAMIC and PT_TLS types.
2016-09-07Add missing wordPhilip Guenther
from Tim Kuijsten (info (at) netsend.nl)
2016-09-07remove unused variable 'last'David Coppa
ok nicm@
2016-09-06Make sure attributes are applied to function declarations before they'rePhilip Guenther
used or defined, as clang isn't as forgiving as gcc. Also, declare __flt_rounds() so that libc can build it despire clang providing its own <float.h> ok stefan@ kettenis@
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2016-09-06zap bha, hiding outside dev/ treeTed Unangst
2016-09-06Implement dl_iterate_phdr() for static PIE executables using info extractedPhilip Guenther
from the aux vector. ok patrick@ kettenis@
2016-09-06Remove branch prediction hints from conditional branch instructions. TheseMark Kettenis
hints are not recognized by clang's builtin assembler and the opcode prefixes they generate have been no-ops for all CPUs after the Pentium 4. ok guenther@
2016-09-06use closefrom() before reexec to make sure the new process only getsEric Faurot
the imsg socket. ok gilles@ sunil@
2016-09-06If you have a paragraph:Mark Lumsden
123 456 With the cursor on either the 4, 5 or 6 and no newline after the '6', and then execute forward-paragraph (M-}), the cursor sits still and does not move to the end of the second line (after the 6), which is in effect the end of parapraph. This diff fixes that behaviour.
2016-09-06syncStuart Henderson
2016-09-06Update documentation to reflect change in default ruby versionJeremy Evans
2016-09-06Link to -lcompiler_rt instead of -lgcc.Pascal Stumpf
looks good to stefan@
2016-09-06Drop useless variable and check.Antoine Jacoutot
2016-09-06Greatly simplify patch type detection and make things more generic.Antoine Jacoutot
2016-09-06Backport unbound r3830/3831 from upstreadm, fixing an issue where it canStuart Henderson
become unresponsive and need to be restarted following a connectivity outage. From Brad, ok florian@ r3831 | wouter | 2016-08-23 04:49:01 -0400 (Tue, 23 Aug 2016) | 3 lines - Fix #804: lower num_target_queries for iterator also for failed lookups. r3830 | wouter | 2016-08-23 04:30:12 -0400 (Tue, 23 Aug 2016) | 3 lines - Fix #804: unbound stops responding after outage. Fixes queries that attempt to wait for an empty list of subqueries.
2016-09-06Sort and set readonly global vars.Antoine Jacoutot
2016-09-06Define PTE_* macros in one place. Use the lwu instruction for 32-bit PTEVisa Hankala
loads on all systems as the TLB code does not need sign extension.
2016-09-06heck, have new signatures be -Dnewsign until we flip the switchMarc Espie
2016-09-06Mention PAGER behavior when undefined/empty.Antoine Jacoutot
from Michael Reed ok jmc@
2016-09-06document /etc/acme/Jason McIntyre
ok florian
2016-09-06must close our fd unconditionally and not just in the !TLS case; tls_closeHenning Brauer
doesn't do that for us. found, analyzed and patch supplied by Martin Proyer <martin at proyer dot net>, many thanks! ok bcook funny since I just discussed a somewhat mysterious spamd-TLS issue with bob and brent over breakfast yesterday in cambridge - not sure it is this one, if it is I've been intensively digging in the wrong corner, almost "missing the obvious"
2016-09-06remove code that allows pkg_create to signMarc Espie
2016-09-06These tests didn't work without setting READLINE because we don'tIngo Schwarze
install <editline/readline.h> by default; make them work by using the copy from the source tree. Issue reported by otto@.
2016-09-06byebye SIGNING_PARAMETERSMarc Espie
2016-09-06ssh_set_newkeys: print correct block counters on rekeying; ok djm@Markus Friedl
2016-09-06update ext_info_c every time we receive a kexinit msg; fixes sending ofMarkus Friedl
ext_info if privsep is disabled; report Aris Adamantiadis & Mancha; ok djm@
2016-09-06remove the Xr macro to syspatch (since it doesn;t get installed yet)Jason McIntyre
but leave the syspatch entry (since the directory does exist); discussed with ajacoutot;
2016-09-06it's not wrong, but it's not clear what the verauth check is for.Ted Unangst
add a comment to this effect, and explain the intention.
2016-09-06store the offset of an rb_entry in a struct as an unsigned int.David Gwynne
this means users of the api dont need to know about size_t. found by jmc@