summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-10-25Remove Multicast and Broadcast flags from the encapsulated packet inMartin Pieuchot
vxlan(4) like it is done by other tunnelling pseudo-interfaces. While here sync the comment between multiple interfaces. Bug report and original diff from Pierre LALET.
2017-10-25tweak the uri text, specifically removing some markup to make it aJason McIntyre
bit more readable; issue reported by - and diff ok - millert
2017-10-25simplify macros in previous, and some minor tweaks;Jason McIntyre
2017-10-25uninitialised variable in PermitTunnel printing codeDamien Miller
2017-10-25transfer ownership of stdout to the session channel by dup2'ingDamien Miller
/dev/null to fd 1. This allows propagation of remote stdout close to the local side; reported by David Newall, ok markus@
2017-10-25add a "rdomain" criteria for the sshd_config Match keyword to allowDamien Miller
conditional configuration that depends on which rdomain(4) a connection was recevied on. ok markus@
2017-10-25add sshd_config RDomain keyword to place sshd and the subsequentDamien Miller
user session (including the shell and any TCP/IP forwardings) into the specified rdomain(4) ok markus@
2017-10-25Add optional rdomain qualifier to sshd_config's ListenAddress optionDamien Miller
to allow listening on a different rdomain(4), e.g. ListenAddress 0.0.0.0 rdomain 4
2017-10-24R_AARCH64_NONE should be zero, not 256. The latter was a deprecatedPhilip Guenther
assignment and isn't used by clang/lld. ok jsg@
2017-10-24In ld scripts, an output section with no input sections is always markedPhilip Guenther
writable, so the stub gap.o has .rodata flagged as RW. Instead of letting that propagate to the final :rodata PT_LOAD section, force the flags on the section to 4 (==PF_R) in the PHDRS block. problem noted by mortimer@ ok deraadt@ kettenis@
2017-10-24Kill dead store and some spaces vs. tabs indent in parse_user_host_path().Todd C. Miller
Noticed by markus@
2017-10-24Add tests for URI parsing. OK markus@Todd C. Miller
2017-10-24Use a smaller buffer size too peek the receive data. The contentAlexander Bluhm
is discarded anyway, the plen variable is a leftover from the -j jumbo option. reported by Nan Xiao; OK deraadt@
2017-10-24Use "static inline" instead of "extern inline" for compatibility withMark Kettenis
proper C99 compilers. ok deraadt@, visa@, mpi@
2017-10-24Attach syscon(4) early. Also attach psci(4) early such that cpuresetfnMark Kettenis
and powerdowfn are initialized in the same way as before. ok patrick@, jsg@
2017-10-24Refactor handling of partial TCP acknowledgementsMike Belopuhov
With input from Klemens Nanni, OK visa, mpi, bluhm
2017-10-24When dd(1) fails because it receives an INT signal,Ingo Schwarze
exit with a non-zero EXIT STATUS, as required by POSIX, consistent with what other operating systems do, consistent with how other OpenBSD programs behave, and making wait(2) consistent with what happens when dd(1) dies from other signals. Patch from <ScottCheloha at gmail dot com>. OK florian@ tb@.
2017-10-24remove defines for ioctls the kernel doesn't recogniseJonathan Gray
ok mpi@
2017-10-24Remove some more tests checking for a non-NULL `ifp->if_ioctl'.Martin Pieuchot
if_attach() enforces it is properly defined.
2017-10-24Add more sanity checks to prevent a segfault and a NULL-dereferenceMartin Pieuchot
when manipulating callers probided pointers. From Helg Bredow.
2017-10-24Remove support for never used ioctls originating from KAME.Martin Pieuchot
ok florian@, claudio@, bluhm@
2017-10-24Use membar_enter_after_atomic(9) amd membar_exit_before_atomic(9).Martin Pieuchot
Micro-optimization useful to x86 archs where the cmpxchg{q,l} instruction used by rw_enter(9) and rw_exit(9) already include an implicit memory barrier. From Mateusz Guzik, ok visa@, mikeb@, kettenis@
2017-10-24Remove terminate_vm/vm_remove logic from vmm_dispatch_parent. ThisMike Larkin
logic is present in vmm_sighdlr when a VM process has signaled SIGCHLD for proper cleanup. From: Carlos Cardenas, thanks!
2017-10-24The VMD parent process didn't handle the case of a VM exitingMike Larkin
with a non 0 return properly (i.e. EIO). From: Carlos Cardenas, thanks!
2017-10-24tweak previous; ok djmJason McIntyre
2017-10-24kbind(2) for the win: we can always put .got.plt in RELROPhilip Guenther
ok kettenis@ deraadt@
2017-10-24syncTheo de Raadt
2017-01-14Import LLVM 3.9.1 including clang and lld.Patrick Wildt
2017-10-23Avoid clang format warning.Mark Kettenis
ok deraadt@
2017-10-23Test file system full behavior of syslogd(8). This is done byAlexander Bluhm
creating a vnd(4) disk image that is filled up during logging.
2017-10-23Replace imxocotp(4) with a regmap-based approach.Mark Kettenis
ok patrick@
2017-10-23Pa -> Lk; ok jmc@anton
2017-10-23When the partition of /var/log was full, syslogd(8) stopped writingAlexander Bluhm
to files located there. It did this permanently, so cleaning /var without SIGHUP to syslogd did not help. Better retry, write an error message to other log hosts, and write a summary of dropped messages after it works again. OK millert@ friehm@
2017-10-23Add tests for history load from file.anton
2017-10-23Run all ksh tests with MALLOC_OPTIONS=Santon
2017-10-23Extend support for DWARF2 CFI expressions. Needed to support llvm/clang onMark Kettenis
sparc64 where it doesn't use the integrated assembler (yet). ok mpi@, patrick@, guenther@
2017-10-23Update to tzdata2017c from ftp.iana.orgTodd C. Miller
2017-10-23Kill needless rewind(3) call in hist_init()Jeremie Courreges-Anglas
We may have read two bytes from the file, but history_load() needs to call rewind(3) anyway. ok benno@
2017-10-23Skip (and warn about) overlong history lines.Jeremie Courreges-Anglas
With much input from Ori Bernstein and anton@; ok anton@ (and benno@ on a previous version).
2017-10-23Expose TSC properties via sysctl nodesMike Belopuhov
From Adam Steen with suggestions from tedu@ OK deraadt, mlarkin (as part of a larger diff)
2017-10-23Even if a USB transfer fails, call umb_start() so that processingGerhard Roth
of the if_snd queue doesn't stall. ok stsp@
2017-10-23ifelse is special, fix argv parsing to avoid segfaultMarc Espie
problem noticed by Matthew Green (netbsd), slightly different fix so that argc counting makes more sense. we might want to warn on wrong number of parameters later, but this is somewhat inconsistent depending on the builtin right now. okay millert@
2017-10-23Close the socket (and dfd) in at(1) child processesJeremie Courreges-Anglas
Fixes a failure at restart if a child process still has the socket opened. Spotted by millert@, ok friehm@ millert@
2011-04-24Here comes the easter bunnytils 2.17 (the last version released against aMiod Vallat
licence mere mortals can understand the terms of); will be connected to the build on an arch-by-arch basis. Testsuites and generated files have been intentionnaly omitted from this import. Peer pressure and ok from at least drahn@ pirofti@ deraadt@
2017-10-23Don't let close(2) clobber errno. Some calls were already protectedTodd C. Miller
but not all. From Peter J. Philipp.
2017-10-23Modernize documentation of .Ao and .Aq.Ingo Schwarze
I looked through our whole tree and failed to find a single use that is really convincing, except those with .Mt. Putting it around character and key names is somewhat widespread and maybe acceptable, even if hardly useful. So for now, delete the bogus examples and explain what these macros are really used for. Discourage the most common abuses. Triggered by a question from Raf Czlonka <rczlonka at gmail dot com>.
2017-10-23Use 'for (;;)' instead of a mix of "while (1) {}" andKenneth R Westerback
"do {} while (1)".
2017-10-23Use same parse_warn() verbiage in parse_lease_time() as thatKenneth R Westerback
emitted when other unsigned 32-bit values are parsed. i.e. "expecting integer between 0 and 4294967295". No need to make people google what "unsigned 32-bit decimal value" means.
2017-10-23Enforce dhclient.conf prohibitions on nesting 'interface'Kenneth R Westerback
declarations and placing 'lease' declarations inside 'interface' declarations. Document and enforce requirement that all 'lease' declarations must specify the interface to which they apply. Ignore static leases that apply to other interfaces rather than complaining the interface name is wrong and using the lease anyway.
2017-10-23Close cron sockets in child processes.friehm
ok jca@