openbsd
9 years agoRemove the MANAGED flag when removing a PV entry.
mpi [Fri, 5 Jun 2015 09:09:58 +0000 (09:09 +0000)]
Remove the MANAGED flag when removing a PV entry.

Even if this change is not strickly needed, because the memory will be
returned to the pool it helped me track the use-after-free.

9 years agoFix a warning.
nicm [Fri, 5 Jun 2015 09:09:08 +0000 (09:09 +0000)]
Fix a warning.

9 years agoRemove unneeded splvm() calls and the pool_setipl(9) hack of r1.140.
mpi [Fri, 5 Jun 2015 09:05:35 +0000 (09:05 +0000)]
Remove unneeded splvm() calls and the pool_setipl(9) hack of r1.140.

By instructing spl(9) calls on MP machines I figured out that their high
cost was hiding a race condition involving PTE reuse in our pmap.  Thanks
to deraadt@ for finding a way to trigger such panic by adding a couple of
splvm().

This should make the races easier to trigger but will be addressed
shortly.

This commit starts your PowerPC pmap SMP show of the week.

ok kettenis@, deraadt@, dlg@

9 years agoMake it so that if a window or session target is prefixed with an =,
nicm [Fri, 5 Jun 2015 08:14:16 +0000 (08:14 +0000)]
Make it so that if a window or session target is prefixed with an =,
only an exact name or index match is accepted, no special character,
prefix match, or fnmatch.

9 years agoUse p15 for the coprocessor name not 15. gas accepts both forms, clang
jsg [Fri, 5 Jun 2015 05:39:54 +0000 (05:39 +0000)]
Use p15 for the coprocessor name not 15.  gas accepts both forms, clang
won't accept just a number which a comment in the gas code mentions is
for backward compatibility.

9 years agoregen
stsp [Fri, 5 Jun 2015 05:24:19 +0000 (05:24 +0000)]
regen

9 years agoAdd another PCI ID for Intel Dual Band Wireless AC 3165. From brad.
stsp [Fri, 5 Jun 2015 05:24:08 +0000 (05:24 +0000)]
Add another PCI ID for Intel Dual Band Wireless AC 3165. From brad.

9 years agotypo: accidental repetition; bz#2386
djm [Fri, 5 Jun 2015 03:44:14 +0000 (03:44 +0000)]
typo: accidental repetition; bz#2386

9 years agosync
deraadt [Thu, 4 Jun 2015 23:30:14 +0000 (23:30 +0000)]
sync

9 years agoMove the nested check from client to server and compare the client tty
nicm [Thu, 4 Jun 2015 23:27:51 +0000 (23:27 +0000)]
Move the nested check from client to server and compare the client tty
name to all the pane pty names instead of comparing socket paths. This
means that "new -d" will work without unsetting $TMUX.

9 years agoMention rtwn(4) in pci(4). Reminded by brad.
stsp [Thu, 4 Jun 2015 23:08:21 +0000 (23:08 +0000)]
Mention rtwn(4) in pci(4). Reminded by brad.

9 years agosystrace(4) STRIOCATTACH can only fail for file(1) if it is already
nicm [Thu, 4 Jun 2015 22:56:33 +0000 (22:56 +0000)]
systrace(4) STRIOCATTACH can only fail for file(1) if it is already
systraced. If so, silently ignore the error and do not attempt to apply
our own systrace policy. From Patrick Keshishian.

9 years agoman page for rtwn(4)
stsp [Thu, 4 Jun 2015 22:29:31 +0000 (22:29 +0000)]
man page for rtwn(4)

9 years agoenable rtwn(4) on i386
stsp [Thu, 4 Jun 2015 22:14:51 +0000 (22:14 +0000)]
enable rtwn(4) on i386

9 years agoEnable rtwn(4) on amd64.
stsp [Thu, 4 Jun 2015 21:29:06 +0000 (21:29 +0000)]
Enable rtwn(4) on amd64.

9 years agoattach rtwn at pci
stsp [Thu, 4 Jun 2015 21:13:12 +0000 (21:13 +0000)]
attach rtwn at pci

9 years agoNew rtwn(4) driver for RTL8188CE wifi cards.
stsp [Thu, 4 Jun 2015 21:08:40 +0000 (21:08 +0000)]
New rtwn(4) driver for RTL8188CE wifi cards.

This is a PCI card from the same chip family as supported by urtwn(4) on USB.
Development started in 2013 using urtwn(4) as a starting point but was dormant
for much of the time since. I finally unslacked after uwe@ provided help with
lifting this driver on its feet. As usual we got helpful hints from Theo.

Requires firmware which will be available in ports soon.

There are rate adaptation issues that still need to be fixed, cause unknown.
In my testing the hardware rarely transmits more than 1Mbit/s.

Committing over MAC/BB RTL8188CE, RF 6052 1T1R.

9 years agotweak SYNOPSIS and usage();
jmc [Thu, 4 Jun 2015 20:34:22 +0000 (20:34 +0000)]
tweak SYNOPSIS and usage();

9 years agoforce reseeding if pid has changed.
eric [Thu, 4 Jun 2015 19:26:39 +0000 (19:26 +0000)]
force reseeding if pid has changed.

ok deraadt@

9 years agomake sure to check for resolv.conf update the first time the resolver
eric [Thu, 4 Jun 2015 19:23:17 +0000 (19:23 +0000)]
make sure to check for resolv.conf update the first time the resolver
is used after pid has changed.

ok deraadt@

9 years agosync
deraadt [Thu, 4 Jun 2015 18:49:28 +0000 (18:49 +0000)]
sync

9 years ago+ REALTEK RT8191SE
deraadt [Thu, 4 Jun 2015 18:46:43 +0000 (18:46 +0000)]
+ REALTEK RT8191SE

9 years agoAdd support for em(4) on Teak 3020, a Tolopai (EP80579)
dms [Thu, 4 Jun 2015 18:33:41 +0000 (18:33 +0000)]
Add support for em(4) on Teak 3020, a Tolopai (EP80579)
based devices. This introduces Realtek PHY into em driver
code and is only a temporary solution to the problem.

OK deraadt@

9 years agoThe (no quite so) new kernel perfpolicy code calls cpu_setperf() from a
kettenis [Thu, 4 Jun 2015 18:01:44 +0000 (18:01 +0000)]
The (no quite so) new kernel perfpolicy code calls cpu_setperf() from a
timeout.  Unfortunately the smu(4) CPU voltage slewing code sleeps, which
causes a kernel panic.  Prevent this by delegating the CPU frequency switching
and voltage slewing to a task.

ok mpi@

9 years agoregen
dms [Thu, 4 Jun 2015 17:42:59 +0000 (17:42 +0000)]
regen

9 years agoAdd more of Tolopai (EP80579) Gigabit controllers id.
dms [Thu, 4 Jun 2015 17:42:12 +0000 (17:42 +0000)]
Add more of Tolopai (EP80579) Gigabit controllers id.

9 years agoCheck if interface was stopped before calling rx/tx interrupt routines.
mikeb [Thu, 4 Jun 2015 17:10:33 +0000 (17:10 +0000)]
Check if interface was stopped before calling rx/tx interrupt routines.

Report & tests by mxb@alumni.chalmers.se, thanks!
OK deraadt, chris

9 years agoMake unsetting a global option restore it to the default. Diff lying
nicm [Thu, 4 Jun 2015 14:29:33 +0000 (14:29 +0000)]
Make unsetting a global option restore it to the default. Diff lying
around for a while, I have forgotten who suggested it :-/.

9 years agospacing, makes example fit on display.
sobrado [Thu, 4 Jun 2015 14:23:00 +0000 (14:23 +0000)]
spacing, makes example fit on display.

no objection from gilles@

9 years agoAdd support for a single "marked pane". There is one marked pane in the
nicm [Thu, 4 Jun 2015 11:43:51 +0000 (11:43 +0000)]
Add support for a single "marked pane". There is one marked pane in the
server at a time; it may be toggled or cleared with select-pane -m and
-M (the border is highlighted). A new target '~' or '{marked}' specifies
the marked pane to commands and it is the default target for the
swap-pane and join-pane -s flag (this makes them much simpler to use -
mark the source pane and then change to the target pane to run swapp or
joinp).

9 years agoRemove unused sa_dl.
mpi [Thu, 4 Jun 2015 09:51:15 +0000 (09:51 +0000)]
Remove unused sa_dl.

9 years agoteminal -> terminal, from Corey Farwell.
nicm [Thu, 4 Jun 2015 09:42:29 +0000 (09:42 +0000)]
teminal -> terminal, from Corey Farwell.

9 years agoSwitch intel_gmbus_is_port_valid and intel_gmbus_is_forced_bit from
jsg [Thu, 4 Jun 2015 06:11:21 +0000 (06:11 +0000)]
Switch intel_gmbus_is_port_valid and intel_gmbus_is_forced_bit from
extern inline back to static inline so the kernel will build on
compilers that default to c99 inline semantics.

9 years agouse mallocarray instead of malloc in drm_calloc
jsg [Thu, 4 Jun 2015 06:07:23 +0000 (06:07 +0000)]
use mallocarray instead of malloc in drm_calloc

9 years agoremove the now unused alawtolin16 table
jsg [Thu, 4 Jun 2015 06:03:11 +0000 (06:03 +0000)]
remove the now unused alawtolin16 table
ok ratchov@

9 years agoRemove unused defines and functions.
bcallah [Wed, 3 Jun 2015 23:40:01 +0000 (23:40 +0000)]
Remove unused defines and functions.
"Looks fine." deraadt@

9 years agoAdjust yielding condition slightly in the if_input_process thread.
mikeb [Wed, 3 Jun 2015 22:01:07 +0000 (22:01 +0000)]
Adjust yielding condition slightly in the if_input_process thread.

ok mpi, kettenis

9 years agoTurn off -Werror in relayctl.
reyk [Wed, 3 Jun 2015 20:43:21 +0000 (20:43 +0000)]
Turn off -Werror in relayctl.

9 years agoRemove -Werror from the Makefile: as it happened with asprintf, it
reyk [Wed, 3 Jun 2015 19:57:53 +0000 (19:57 +0000)]
Remove -Werror from the Makefile: as it happened with asprintf, it
breaks the tree if any new compiler warnings get enabled, especially
with -Wall.  We do not want to use it in the tree, except for some
very special places.

As discussed with deraadt@

9 years agoIt is better to check the asprintf return value for -1 instead of the
reyk [Wed, 3 Jun 2015 19:51:16 +0000 (19:51 +0000)]
It is better to check the asprintf return value for -1 instead of the
input buffer for NULL.
Found by adding __attribute((__warn_unused_result__)) to asprintf.

OK deraadt@

9 years agoTreat a missing mail spool the same as a zero-length mail spool
millert [Wed, 3 Jun 2015 18:08:54 +0000 (18:08 +0000)]
Treat a missing mail spool the same as a zero-length mail spool
unless the -f option was specified.  OK deraadt@

9 years agosnprintf(3) is available on all modern systems and asprintf(3) is
millert [Wed, 3 Jun 2015 16:26:04 +0000 (16:26 +0000)]
snprintf(3) is available on all modern systems and asprintf(3) is
available on more systems these days.  OK deraadt@

9 years agoUnify .Nd blocks, prodded by and ok jmc@
mpi [Wed, 3 Jun 2015 15:43:55 +0000 (15:43 +0000)]
Unify .Nd blocks, prodded by and ok jmc@

9 years agoFix pf_map_addr() not to cause dividing by 0. This fixes problem when
yasuoka [Wed, 3 Jun 2015 11:57:37 +0000 (11:57 +0000)]
Fix pf_map_addr() not to cause dividing by 0.  This fixes problem when
using table or dynamic interface addresses for source-hash.  Also
avoid calling arc4random_uniform() with upper_bound == 0.

ok mikeb

9 years agoActually commit the bits that make the compiler emit visibility information
kettenis [Wed, 3 Jun 2015 11:45:52 +0000 (11:45 +0000)]
Actually commit the bits that make the compiler emit visibility information
for (undefined) references with non-default visibility on mips64.

9 years agoSupport for U4, missed in previous.
mpi [Wed, 3 Jun 2015 08:41:43 +0000 (08:41 +0000)]
Support for U4, missed in previous.

ok kettenis@, miod@, dlg@

9 years agoCheck for the correct bit in the interrupts property of the device-tree
mpi [Wed, 3 Jun 2015 08:30:27 +0000 (08:30 +0000)]
Check for the correct bit in the interrupts property of the device-tree
to determin if interrupts should be established as edge/level triggered.

Fix audio interrupts on U4 systems.  On such systems the "interrupts"
fields in the device-tree has more bits set and cannot be compared to
0.

9 years agoAdd hpb(4), reminded by Brad.
mpi [Wed, 3 Jun 2015 08:14:23 +0000 (08:14 +0000)]
Add hpb(4), reminded by Brad.

9 years agoExplicitly request the sockaddr_dl when doing a RTM_GET rather than
mpi [Wed, 3 Jun 2015 08:10:53 +0000 (08:10 +0000)]
Explicitly request the sockaddr_dl when doing a RTM_GET rather than
assuming that it will be in the gateway sa.

Fixes a regression introduced with the support of multiple connected
routes, found the hardway by deraadt@.

ok claudio@

9 years agoMove warning on open failure to open_mbox() where we have the file name.
millert [Wed, 3 Jun 2015 02:35:50 +0000 (02:35 +0000)]
Move warning on open failure to open_mbox() where we have the file name.

9 years agoDo not assume that asprintf() clears the pointer on failure, which
millert [Wed, 3 Jun 2015 02:24:36 +0000 (02:24 +0000)]
Do not assume that asprintf() clears the pointer on failure, which
is non-portable.  Also add missing asprintf() return value checks.
OK deraadt@ guenther@ doug@

9 years agobetter description of internal copyn() function
deraadt [Wed, 3 Jun 2015 01:49:35 +0000 (01:49 +0000)]
better description of internal copyn() function

9 years agomissing __EOT spotted by rpe@
jsg [Wed, 3 Jun 2015 01:30:29 +0000 (01:30 +0000)]
missing __EOT spotted by rpe@

9 years agothere's been a long standing issue in ppp on a tty/serial line where it allocates...
dlg [Wed, 3 Jun 2015 00:50:09 +0000 (00:50 +0000)]
there's been a long standing issue in ppp on a tty/serial line where it 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@

9 years agoDon't leak value returned by cgetstr(). OK deraadt@
millert [Tue, 2 Jun 2015 23:05:05 +0000 (23:05 +0000)]
Don't leak value returned by cgetstr().  OK deraadt@

9 years agoRemove the $FSTABFLAG variable and use -F directly. The installer
rpe [Tue, 2 Jun 2015 19:54:06 +0000 (19:54 +0000)]
Remove the $FSTABFLAG variable and use -F directly. The installer
uses disklabel UIDs unconditionally for a while already.

OK krw@
"looks good" deraadt@

9 years agoReplace
rpe [Tue, 2 Jun 2015 19:39:18 +0000 (19:39 +0000)]
Replace
  [[ -n $(foo | grep 'bar') ]]
with
  foo | grep -q 'bar'

OK halex@ krw@

9 years agosync
deraadt [Tue, 2 Jun 2015 17:59:19 +0000 (17:59 +0000)]
sync

9 years agofix variable name typo
jung [Tue, 2 Jun 2015 17:29:28 +0000 (17:29 +0000)]
fix variable name typo

ok ajacoutot@

9 years agowrite Mobile IP{,v6} in a consistent way, as given in RFCs 5944 and 6275.
sobrado [Tue, 2 Jun 2015 16:02:44 +0000 (16:02 +0000)]
write Mobile IP{,v6} in a consistent way, as given in RFCs 5944 and 6275.

ok jmc@

9 years agoModernize from(1) a bit. Use getline() to support longer lines and
millert [Tue, 2 Jun 2015 15:44:17 +0000 (15:44 +0000)]
Modernize from(1) a bit.  Use getline() to support longer lines and
document the environment variables used.  OK deraadt@

9 years agoMention hpb(4), prodded by jmc@
mpi [Tue, 2 Jun 2015 15:32:53 +0000 (15:32 +0000)]
Mention hpb(4), prodded by jmc@

9 years agoAdd missing define for hpb(4).
mpi [Tue, 2 Jun 2015 15:26:19 +0000 (15:26 +0000)]
Add missing define for hpb(4).

9 years agoMan page for hpb(4).
mpi [Tue, 2 Jun 2015 13:54:50 +0000 (13:54 +0000)]
Man page for hpb(4).

9 years agoAdd a new HT-PCI bridge driver and the necessary glue to openpic(4)
mpi [Tue, 2 Jun 2015 13:53:43 +0000 (13:53 +0000)]
Add a new HT-PCI bridge driver and the necessary glue to openpic(4)
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@

9 years agoRIP ether_input_mbuf().
mpi [Tue, 2 Jun 2015 13:23:55 +0000 (13:23 +0000)]
RIP ether_input_mbuf().

9 years agoUse if_input() instead of ether_input_mbuf().
mpi [Tue, 2 Jun 2015 13:21:21 +0000 (13:21 +0000)]
Use if_input() instead of ether_input_mbuf().

ok jasper@, bluhm@

9 years agoTake carp(4) out of ether_input().
mpi [Tue, 2 Jun 2015 09:38:24 +0000 (09:38 +0000)]
Take carp(4) out of ether_input().

Tested by <mxb AT alumni DOT chalmers DOT se>, thanks!

ok bluhm@, dlg@

9 years agomention CheckHostIP adding addresses to known_hosts;
djm [Tue, 2 Jun 2015 09:10:40 +0000 (09:10 +0000)]
mention CheckHostIP adding addresses to known_hosts;
bz#1993; ok dtucker@

9 years agomissing " spotted by Kyle Milz
deraadt [Tue, 2 Jun 2015 06:10:14 +0000 (06:10 +0000)]
missing " spotted by Kyle Milz

9 years agoMake sparc go PIE (not `static PIE' yet).
miod [Tue, 2 Jun 2015 04:33:39 +0000 (04:33 +0000)]
Make sparc go PIE (not `static PIE' yet).

9 years agoOverride pie range constants (well, only VM_PIE_MAX_ADDR) with a variable
miod [Tue, 2 Jun 2015 04:31:53 +0000 (04:31 +0000)]
Override pie range constants (well, only VM_PIE_MAX_ADDR) with a variable
which value is decided at runtime, in order to only enable PIE on sun4m
which has a large enough address space.

9 years agowith binutils 2.17 we can change some raw opcodes into instruction names
jsg [Tue, 2 Jun 2015 02:30:16 +0000 (02:30 +0000)]
with binutils 2.17 we can change some raw opcodes into instruction names
ok miod@ deraadt@

9 years agoRename the imx miniroot to nitrogen as it creates "6x_bootscript".
jsg [Tue, 2 Jun 2015 01:48:25 +0000 (01:48 +0000)]
Rename the imx miniroot to nitrogen as it creates "6x_bootscript".
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.

9 years agoIn the lazy binding routine, make sure we actually allocate the stack we need,
miod [Mon, 1 Jun 2015 19:55:20 +0000 (19:55 +0000)]
In the lazy binding routine, make sure we actually allocate the stack we need,
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@

9 years agoRevert 1.2, which used to be necessary during the early ld 2.17 work, but
miod [Mon, 1 Jun 2015 19:03:46 +0000 (19:03 +0000)]
Revert 1.2, which used to be necessary during the early ld 2.17 work, but
hasn't been required for a while.

9 years agoEnable secureplt by default on alpha. The old plt flavour can still be
miod [Mon, 1 Jun 2015 19:03:10 +0000 (19:03 +0000)]
Enable secureplt by default on alpha. The old plt flavour can still be
obtained by passing --no-secureplt to ld(1), or -Wl,--no-secureplt to cc(1)
when linking.

9 years agoSince the __{div,rem}{l,q}{,u} special libc entry points use a specific
miod [Mon, 1 Jun 2015 19:02:11 +0000 (19:02 +0000)]
Since the __{div,rem}{l,q}{,u} special libc entry points use a specific
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.

9 years agoDefine HAVE_AS_EXPLICIT_RELOCS and HAVE_AS_JSRDIRECT_RELOCS. These symbols are
miod [Mon, 1 Jun 2015 18:59:41 +0000 (18:59 +0000)]
Define HAVE_AS_EXPLICIT_RELOCS and HAVE_AS_JSRDIRECT_RELOCS. These symbols are
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.

9 years agoupdate currency exchange rates;
jmc [Mon, 1 Jun 2015 18:56:09 +0000 (18:56 +0000)]
update currency exchange rates;
note: no updates for iceland, ukraine, and vietnam as they're showing "n/a"
for the past two months on the economist (no idea)

9 years agoNow that we do not need to build binutils 2.15 (except for gdb), simplify the
miod [Mon, 1 Jun 2015 17:36:17 +0000 (17:36 +0000)]
Now that we do not need to build binutils 2.15 (except for gdb), simplify the
build logic.

9 years agoSwitch m88k ports to binutils 2.17.
miod [Mon, 1 Jun 2015 17:35:24 +0000 (17:35 +0000)]
Switch m88k ports to binutils 2.17.

9 years agoregen
stsp [Mon, 1 Jun 2015 15:53:10 +0000 (15:53 +0000)]
regen

9 years agofix typo: Wirelsss -> Wireless
stsp [Mon, 1 Jun 2015 15:52:57 +0000 (15:52 +0000)]
fix typo: Wirelsss -> Wireless

9 years agoMissing t at end of response, from Vincent Bernat.
nicm [Mon, 1 Jun 2015 13:59:57 +0000 (13:59 +0000)]
Missing t at end of response, from Vincent Bernat.

9 years agoFix memory leak in error case. OK bluhm@ benno@
claudio [Mon, 1 Jun 2015 09:54:16 +0000 (09:54 +0000)]
Fix memory leak in error case. OK bluhm@ benno@

9 years agoPut END() matching _ENTRY() (== ENTRY() w/o prof).
uebayasi [Mon, 1 Jun 2015 09:31:40 +0000 (09:31 +0000)]
Put END() matching _ENTRY() (== ENTRY() w/o prof).

9 years agoPut END() matching ENTRY().
uebayasi [Mon, 1 Jun 2015 09:27:53 +0000 (09:27 +0000)]
Put END() matching ENTRY().

9 years agoClear signal handlers before event_reinit as apparently it can otherwise
nicm [Mon, 1 Jun 2015 09:20:19 +0000 (09:20 +0000)]
Clear signal handlers before event_reinit as apparently it can otherwise
cause libevent to go strange.

9 years agoConvert tun(4) to if_input().
mpi [Mon, 1 Jun 2015 07:48:04 +0000 (07:48 +0000)]
Convert tun(4) to if_input().

Tested by Norman Golisz and <mxb AT alumni DOT chalmers DOT se>, thanks!

ok bluhm@

9 years agoSimple macro fixes (Fd -> In, Nm -> Fn) from Kaspars at Bankovskis dot net.
schwarze [Sun, 31 May 2015 23:54:25 +0000 (23:54 +0000)]
Simple macro fixes (Fd -> In, Nm -> Fn) from Kaspars at Bankovskis dot net.
No content change.

9 years agodoes not need syslog.h
deraadt [Sun, 31 May 2015 23:27:06 +0000 (23:27 +0000)]
does not need syslog.h

9 years agoImplement the roff(7) `r' (register exists) conditional.
schwarze [Sun, 31 May 2015 23:12:16 +0000 (23:12 +0000)]
Implement the roff(7) `r' (register exists) conditional.
Missing feature found by Markus <Waldeck at gmx dot de>
in Debian's bash(1) manual page.

9 years agoFix typos.
rpe [Sun, 31 May 2015 21:21:10 +0000 (21:21 +0000)]
Fix typos.

OK miod@

9 years agoIf the first list was empty, ml_join() did not not clear the second
bluhm [Sun, 31 May 2015 20:10:44 +0000 (20:10 +0000)]
If the first list was empty, ml_join() did not not clear the second
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@

9 years agoReplace identical code in the MD scripts of the installer with a new
rpe [Sun, 31 May 2015 19:40:10 +0000 (19:40 +0000)]
Replace identical code in the MD scripts of the installer with a new
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@

9 years agoBuild with -mbwx rather than -Wa,-mev56 so that upcoming changes to the compiler
miod [Sat, 30 May 2015 19:53:02 +0000 (19:53 +0000)]
Build with -mbwx rather than -Wa,-mev56 so that upcoming changes to the compiler
will output proper .arch statements in its output.
No functional change.

9 years agoRemove commented out DRMDEBUG/DRM_DEBUG lines. Other drivers don't have
jsg [Sat, 30 May 2015 18:14:08 +0000 (18:14 +0000)]
Remove commented out DRMDEBUG/DRM_DEBUG lines.  Other drivers don't have
similiar lines so drm shouldn't either.

9 years agoDRMDEBUG not DRM_DEBUG. From frantisek holop.
jsg [Sat, 30 May 2015 18:09:26 +0000 (18:09 +0000)]
DRMDEBUG not DRM_DEBUG.  From frantisek holop.

9 years agoPlug a memory leak by simplifying kv_free(). By checking the type and
claudio [Sat, 30 May 2015 09:47:25 +0000 (09:47 +0000)]
Plug a memory leak by simplifying kv_free(). By checking the type and
returning early the key and value memory got leaked on HTTP header kvs
since their type was never set.
OK benno@