summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-03Do not assume that asprintf() clears the pointer on failure, whichTodd C. Miller
is non-portable. Also add missing asprintf() return value checks. OK deraadt@ guenther@ doug@
2015-06-03better description of internal copyn() functionTheo de Raadt
2015-06-03missing __EOT spotted by rpe@Jonathan Gray
2015-06-03there's been a long standing issue in ppp on a tty/serial line where it ↵David Gwynne
allocates mbufs at IPL_SOFTTTY, which is above the IPL_NET the mbuf layer protects itself at. recent improvements to diagnostics in pools and mbufs now panic instead of letting these things silently corrupt. this reworks the ppp handling in the tty layer so it has its own private pool to allocate packet memory out of. these packets get built and then queued for softnet to process. softnet dequeues the packet and attaches it to mbufs as external storage before handing it on to the rest of the stack. this was reported on bugs@ and tested by both Walter Daugherity and Martin van den Nieuwelaar ok deraadt@ mpi@
2015-06-02Don't leak value returned by cgetstr(). OK deraadt@Todd C. Miller
2015-06-02Remove the $FSTABFLAG variable and use -F directly. The installerRobert Peichaer
uses disklabel UIDs unconditionally for a while already. OK krw@ "looks good" deraadt@
2015-06-02ReplaceRobert Peichaer
[[ -n $(foo | grep 'bar') ]] with foo | grep -q 'bar' OK halex@ krw@
2015-06-02syncTheo de Raadt
2015-06-02fix variable name typoJoerg Jung
ok ajacoutot@
2015-06-02write Mobile IP{,v6} in a consistent way, as given in RFCs 5944 and 6275.Igor Sobrado
ok jmc@
2015-06-02Modernize from(1) a bit. Use getline() to support longer lines andTodd C. Miller
document the environment variables used. OK deraadt@
2015-06-02Mention hpb(4), prodded by jmc@Martin Pieuchot
2015-06-02Add missing define for hpb(4).Martin Pieuchot
2015-06-02Man page for hpb(4).Martin Pieuchot
2015-06-02Add a new HT-PCI bridge driver and the necessary glue to openpic(4)Martin Pieuchot
to get interrupts working on U4 machines. With this OpenBSD can run on PowerMac11,2 (Quad G5). With inputs from and ok kettenis@, miod@, dlg@
2015-06-02RIP ether_input_mbuf().Martin Pieuchot
2015-06-02Use if_input() instead of ether_input_mbuf().Martin Pieuchot
ok jasper@, bluhm@
2015-06-02Take carp(4) out of ether_input().Martin Pieuchot
Tested by <mxb AT alumni DOT chalmers DOT se>, thanks! ok bluhm@, dlg@
2015-06-02mention CheckHostIP adding addresses to known_hosts;Damien Miller
bz#1993; ok dtucker@
2015-06-02missing " spotted by Kyle MilzTheo de Raadt
2015-06-02Make sparc go PIE (not `static PIE' yet).Miod Vallat
2015-06-02Override pie range constants (well, only VM_PIE_MAX_ADDR) with a variableMiod Vallat
which value is decided at runtime, in order to only enable PIE on sun4m which has a large enough address space.
2015-06-02with binutils 2.17 we can change some raw opcodes into instruction namesJonathan Gray
ok miod@ deraadt@
2015-06-02Rename the imx miniroot to nitrogen as it creates "6x_bootscript".Jonathan Gray
Add a miniroot for the CuBox-i which needs u-boot at a particular offset in the sd image to boot. Based on changes made by Patrick Wildt in bitrig.
2015-06-01In the lazy binding routine, make sure we actually allocate the stack we need,Miod Vallat
instead of corrupting the caller's stack by mistake. This fixes the mysterious segfaults in __powerpc_read_tcb() reported on earlier G3 systems - more recent processors have been luckier... ok deraadt@
2015-06-01Revert 1.2, which used to be necessary during the early ld 2.17 work, butMiod Vallat
hasn't been required for a while.
2015-06-01Enable secureplt by default on alpha. The old plt flavour can still beMiod Vallat
obtained by passing --no-secureplt to ld(1), or -Wl,--no-secureplt to cc(1) when linking.
2015-06-01Since the __{div,rem}{l,q}{,u} special libc entry points use a specificMiod Vallat
calling convention which conflicts over t11 usage with the secureplt calling convention, force these symbols to be `notype' rather `function', so that the linker will not attempt to use plt relocations for them in the absence of explicit relocation information. Note that these symbols are still public and still callable with the old plt convention, so existing binaries will still work with an updated libc, and no libc version change is necessary.
2015-06-01Define HAVE_AS_EXPLICIT_RELOCS and HAVE_AS_JSRDIRECT_RELOCS. These symbols areMiod Vallat
only used by the alpha backend and allow it to produce more precise relocation information, but need a recent as(1) for this to work. This will be necessary to enable secureplt by default.
2015-06-01update currency exchange rates;Jason McIntyre
note: no updates for iceland, ukraine, and vietnam as they're showing "n/a" for the past two months on the economist (no idea)
2015-06-01Now that we do not need to build binutils 2.15 (except for gdb), simplify theMiod Vallat
build logic.
2015-06-01Switch m88k ports to binutils 2.17.Miod Vallat
2015-06-01regenStefan Sperling
2015-06-01fix typo: Wirelsss -> WirelessStefan Sperling
2015-06-01Missing t at end of response, from Vincent Bernat.Nicholas Marriott
2015-06-01Fix memory leak in error case. OK bluhm@ benno@Claudio Jeker
2015-06-01Put END() matching _ENTRY() (== ENTRY() w/o prof).Masao Uebayashi
2015-06-01Put END() matching ENTRY().Masao Uebayashi
2015-06-01Clear signal handlers before event_reinit as apparently it can otherwiseNicholas Marriott
cause libevent to go strange.
2015-06-01Convert tun(4) to if_input().Martin Pieuchot
Tested by Norman Golisz and <mxb AT alumni DOT chalmers DOT se>, thanks! ok bluhm@
2015-05-31Simple macro fixes (Fd -> In, Nm -> Fn) from Kaspars at Bankovskis dot net.Ingo Schwarze
No content change.
2015-05-31does not need syslog.hTheo de Raadt
2015-05-31Implement the roff(7) `r' (register exists) conditional.Ingo Schwarze
Missing feature found by Markus <Waldeck at gmx dot de> in Debian's bash(1) manual page.
2015-05-31Fix typos.Robert Peichaer
OK miod@
2015-05-31If the first list was empty, ml_join() did not not clear the secondAlexander Bluhm
list after transferring all elements away. Reorder the conditionals to make sure that ml_init() is always called for a non empty second list. This makes all cases consistent and is less surprising. OK dlg@
2015-05-31Replace identical code in the MD scripts of the installer with a newRobert Peichaer
MI function disklabel_autolayout() which now handles all aspects of the disklabel auto-layout and autopartitioning case for the root disk. Remove get_disklabel_template() and merge it with the new function. "move forward" deraadt@
2015-05-30Build with -mbwx rather than -Wa,-mev56 so that upcoming changes to the compilerMiod Vallat
will output proper .arch statements in its output. No functional change.
2015-05-30Remove commented out DRMDEBUG/DRM_DEBUG lines. Other drivers don't haveJonathan Gray
similiar lines so drm shouldn't either.
2015-05-30DRMDEBUG not DRM_DEBUG. From frantisek holop.Jonathan Gray
2015-05-30Plug a memory leak by simplifying kv_free(). By checking the type andClaudio Jeker
returning early the key and value memory got leaked on HTTP header kvs since their type was never set. OK benno@