openbsd
9 years agoSwitch to using the POSIX endian macros, i.e: be64toh vs. betoh64.
brynet [Sat, 25 Apr 2015 16:35:47 +0000 (16:35 +0000)]
Switch to using the POSIX endian macros, i.e: be64toh vs. betoh64.

ok nicm@

9 years agoDon't ignore the reference count in X509_STORE_free.
doug [Sat, 25 Apr 2015 16:02:55 +0000 (16:02 +0000)]
Don't ignore the reference count in X509_STORE_free.

Based on this upstream commit: bff9ce4db38b297c72a6d84617d71ae2934450f7
which didn't make it into a release until 1.0.2.

Thanks to william at 25thandclement dot com for reporting this!

ok deraadt@ jsing@ beck@

9 years agoExplicitly cancel mouse "button" mode, this happens implicitly with some
nicm [Sat, 25 Apr 2015 15:57:48 +0000 (15:57 +0000)]
Explicitly cancel mouse "button" mode, this happens implicitly with some
one of the other things we send with xterm, but not with urxvt. Reported
by sthen@.

9 years agoadd check for overflow while doubling (very unlikely in practice, but still
espie [Sat, 25 Apr 2015 15:33:47 +0000 (15:33 +0000)]
add check for overflow while doubling (very unlikely in practice, but still
better style code). Problem noticed by deraadt@ in m4.

okay doug@ deraadt@

9 years agoCheck for invalid leading zeros in CBS_get_asn1_uint64.
doug [Sat, 25 Apr 2015 15:28:47 +0000 (15:28 +0000)]
Check for invalid leading zeros in CBS_get_asn1_uint64.

ASN.1 integers cannot have all zeros or all ones for the first 9 bits.
This rule ensures the numbers are encoded with the smallest number of
content octets (see ITU-T Rec X.690 section 8.3.2).

Based on BoringSSL commit 5933723b7b592e9914f703d630b596e140c93e16

ok deraadt@ jsing@

9 years agoallow us to write rules that match directly on the peer AS
phessler [Sat, 25 Apr 2015 15:28:18 +0000 (15:28 +0000)]
allow us to write rules that match directly on the peer AS

...
allow from AS 1 prefix 192.0.2.0/24
...

Also adjust the IRR ruleset output to include the declared peer AS,
instead of hoping they listed their neighbor IP address!

OK benno@
older version OK: claudio@ henning@

9 years agoPrepend files or directories containing ":" with "./" in directory
florian [Sat, 25 Apr 2015 14:40:35 +0000 (14:40 +0000)]
Prepend files or directories containing ":" with "./" in directory
indexes as per RFC 3986:
A path segment that contains a colon character (e.g., "this:that")
cannot be used as the first segment of a relative-path reference, as
it would be mistaken for a scheme name.  Such a segment must be
preceded by a dot-segment (e.g., "./this:that") to make a relative-
path reference.

While here add a "/" to the end of directory names, this saves us one
redirect round trip.

Found the hard way & "functionality wise, OK" ajacoutot@
RFC pointer & OK benno@

9 years agohandle an IRR record of "export ... action X" the same way we handle
phessler [Sat, 25 Apr 2015 13:23:01 +0000 (13:23 +0000)]
handle an IRR record of "export ... action X" the same way we handle
"import ... action X".

OK benno@ henning@

9 years agoAdd quirk for Cirrus Logic CS4208 which is needed for MacBookAir6,1.
jturner [Sat, 25 Apr 2015 11:37:24 +0000 (11:37 +0000)]
Add quirk for Cirrus Logic CS4208 which is needed for MacBookAir6,1.
ok deraadt@ jung@ ratchov@

9 years agoConvert clients list into a TAILQ.
nicm [Fri, 24 Apr 2015 23:17:11 +0000 (23:17 +0000)]
Convert clients list into a TAILQ.

9 years agoSet working directory for run-shell and if-shell.
nicm [Fri, 24 Apr 2015 22:19:36 +0000 (22:19 +0000)]
Set working directory for run-shell and if-shell.

9 years agostruct timespec/clock_gettime(3) conversion for vi(1).
brynet [Fri, 24 Apr 2015 21:48:31 +0000 (21:48 +0000)]
struct timespec/clock_gettime(3) conversion for vi(1).

ok guenther@

9 years agoAllow choice options (multiple states) to be toggled between states 0
nicm [Fri, 24 Apr 2015 21:38:18 +0000 (21:38 +0000)]
Allow choice options (multiple states) to be toggled between states 0
and 1.

9 years agoWrite (uid_t)-1 as -1 instead of UID_MAX in the v7 passwd file.
millert [Fri, 24 Apr 2015 21:14:48 +0000 (21:14 +0000)]
Write (uid_t)-1 as -1 instead of UID_MAX in the v7 passwd file.
OK deraadt@

9 years agoUse strtonum() instead of strtoul() when parsing uid/gid so we get
millert [Fri, 24 Apr 2015 21:13:56 +0000 (21:13 +0000)]
Use strtonum() instead of strtoul() when parsing uid/gid so we get
consistent handling of negative ids on 32bit/64bit systems.
The only negative uid/gid allowed is -1 which is special-cased
so it can be preserved when writing the new master.passwd file
instead of being written as an unsigned number.  OK deraadt@

9 years agono more tip(1); ok nicm
jmc [Fri, 24 Apr 2015 21:03:58 +0000 (21:03 +0000)]
no more tip(1); ok nicm

9 years agoSet up signal handler earlier so that we don't get zombies, reported by
nicm [Fri, 24 Apr 2015 20:58:44 +0000 (20:58 +0000)]
Set up signal handler earlier so that we don't get zombies, reported by
sobrado@.

9 years agoDocument -h, and bring some consistency to the option descriptions. ok jmc
nicm [Fri, 24 Apr 2015 20:57:51 +0000 (20:57 +0000)]
Document -h, and bring some consistency to the option descriptions. ok jmc

9 years agotweaks; ok nicm
jmc [Fri, 24 Apr 2015 20:32:34 +0000 (20:32 +0000)]
tweaks; ok nicm

9 years agoEnable PAE mode for those CPUs that support it. This allows us to use the
mlarkin [Fri, 24 Apr 2015 19:53:43 +0000 (19:53 +0000)]
Enable PAE mode for those CPUs that support it. This allows us to use the
NX bit for userland and kernel W^X. Unlike the previous c.2008 PAE
experiment, this does not provide > 4GB phys ram on i386 - PAE is solely
being used for NX capability this time. If you need > 4GB phys, use amd64.

Userland W^X was committed yesterday by kettenis@, and we will shortly
start reworking the kernel like we did for amd64 a few months back to get
kernel W^X.

This has been in snaps for a few days and tested by kettenis and myself
as well.

ok deraadt@, kettenis@

9 years agoMake sure we keep the whole recursive mapping of the PDP instead of just the
kettenis [Fri, 24 Apr 2015 19:41:58 +0000 (19:41 +0000)]
Make sure we keep the whole recursive mapping of the PDP instead of just the
mapping for the first page when tearing things down.  Seems to fix the last
bug mlarkin@ has been chasing for a while.

ok mlarkin@

9 years agosync
deraadt [Fri, 24 Apr 2015 18:49:54 +0000 (18:49 +0000)]
sync

9 years agoTrim down remote(5) to reflect what is supported by cu(1).
nicm [Fri, 24 Apr 2015 18:06:54 +0000 (18:06 +0000)]
Trim down remote(5) to reflect what is supported by cu(1).

ok sthen jmc

9 years agoremove the old tip SCCS note
deraadt [Fri, 24 Apr 2015 18:06:31 +0000 (18:06 +0000)]
remove the old tip SCCS note

9 years agoRemove tip(1), superseded by cu(1).
nicm [Fri, 24 Apr 2015 18:05:21 +0000 (18:05 +0000)]
Remove tip(1), superseded by cu(1).

ok deraadt sthen bmercer

9 years agoDo not attempt to use ~/.magic if running as root (or issetugid()).
nicm [Fri, 24 Apr 2015 17:34:57 +0000 (17:34 +0000)]
Do not attempt to use ~/.magic if running as root (or issetugid()).

9 years agomove an ugly space
deraadt [Fri, 24 Apr 2015 17:19:06 +0000 (17:19 +0000)]
move an ugly space

9 years agoWe need to loop over the files once to work out the width of the labels
nicm [Fri, 24 Apr 2015 17:10:50 +0000 (17:10 +0000)]
We need to loop over the files once to work out the width of the labels
before testing them.

9 years agoTrying to drop privileges means we can't handle ARG_MAX arguments, so
nicm [Fri, 24 Apr 2015 16:47:32 +0000 (16:47 +0000)]
Trying to drop privileges means we can't handle ARG_MAX arguments, so
remove it for now.

9 years agoAdd a couple of missing spaces (style nits).
nicm [Fri, 24 Apr 2015 16:45:32 +0000 (16:45 +0000)]
Add a couple of missing spaces (style nits).

9 years agoUse symbolic constants for st_mode flags, no binary change.
nicm [Fri, 24 Apr 2015 16:30:06 +0000 (16:30 +0000)]
Use symbolic constants for st_mode flags, no binary change.

9 years agoIf ~/.magic exists but can't be used, fail rather than silently falling
nicm [Fri, 24 Apr 2015 16:28:00 +0000 (16:28 +0000)]
If ~/.magic exists but can't be used, fail rather than silently falling
back to /etc/magic.

9 years agoFix a couple of errors in the magic source files.
nicm [Fri, 24 Apr 2015 16:24:42 +0000 (16:24 +0000)]
Fix a couple of errors in the magic source files.

9 years agoNew implementation of the file(1) utility. This is a simplified,
nicm [Fri, 24 Apr 2015 16:24:11 +0000 (16:24 +0000)]
New implementation of the file(1) utility. This is a simplified,
modernised version with a nearly complete magic(5) parser but omits some
of the complex builtin tests (notably ELF) and has a reduced set of
options.

ok deraadt

9 years agoRevert back to using GCC builtins. This code triggers an off by one in
mpi [Fri, 24 Apr 2015 15:26:22 +0000 (15:26 +0000)]
Revert back to using GCC builtins.  This code triggers an off by one in
device_unref() as found by deraadt@.

9 years agoanother thinkpad event to ignore; from mp39590@gmail
deraadt [Fri, 24 Apr 2015 14:44:17 +0000 (14:44 +0000)]
another thinkpad event to ignore; from mp39590@gmail

9 years agovio: If enqueue fails, drop packet.
sf [Fri, 24 Apr 2015 12:53:35 +0000 (12:53 +0000)]
vio: If enqueue fails, drop packet.

From brad@

9 years agoEnable the NX bit and use it in the PAE pmap code. PAE is still disabled
kettenis [Fri, 24 Apr 2015 12:52:38 +0000 (12:52 +0000)]
Enable the NX bit and use it in the PAE pmap code.  PAE is still disabled
while we're chasing at least one remaining bug.

ok mlarkin@, deraadt@

9 years agoimprove wording.
sobrado [Fri, 24 Apr 2015 10:57:36 +0000 (10:57 +0000)]
improve wording.

ok jmc@

9 years agoread_defaults has the thing for strtonum to chew on in cp, not
dlg [Fri, 24 Apr 2015 08:08:29 +0000 (08:08 +0000)]
read_defaults has the thing for strtonum to chew on in cp, not
optarg.

fixes a segfault introduced by the atoi to strtonum change and
reported by ajacatout@

9 years agocombine -Dd onto one line and update usage();
jmc [Fri, 24 Apr 2015 06:26:49 +0000 (06:26 +0000)]
combine -Dd onto one line and update usage();

9 years agoadd ssh-agent -D to leave ssh-agent in foreground without enabling
djm [Fri, 24 Apr 2015 05:26:44 +0000 (05:26 +0000)]
add ssh-agent -D to leave ssh-agent in foreground without enabling
debug mode; bz#2381 ok dtucker@

9 years agoUse "softintr_pic0" instead of "softintr_fakepic" when faking a
jsg [Fri, 24 Apr 2015 02:22:08 +0000 (02:22 +0000)]
Use "softintr_pic0" instead of "softintr_fakepic" when faking a
struct device so there is enough space in the buffer for a NUL and
the unit is included in the string.

discussed with deraadt and millert

9 years ago2*len -> use xreallocarray()
deraadt [Fri, 24 Apr 2015 01:36:24 +0000 (01:36 +0000)]
2*len -> use xreallocarray()
ok djm

9 years agorename xrealloc() to xreallocarray() since it follows that form.
deraadt [Fri, 24 Apr 2015 01:36:00 +0000 (01:36 +0000)]
rename xrealloc() to xreallocarray() since it follows that form.
ok djm

9 years agoReplace atoi() usage with strtonum(). OK deraadt@
millert [Thu, 23 Apr 2015 17:11:42 +0000 (17:11 +0000)]
Replace atoi() usage with strtonum().  OK deraadt@

9 years agoWe cannot log errors with relay_close() before allocating
florian [Thu, 23 Apr 2015 17:03:01 +0000 (17:03 +0000)]
We cannot log errors with relay_close() before allocating
se_log evbuffer.
(Same problem as the one just fixed in httpd(8))
OK benno

9 years agoWe cannot log errors with server_close() before allocating
florian [Thu, 23 Apr 2015 16:59:28 +0000 (16:59 +0000)]
We cannot log errors with server_close() before allocating
clt_log evbuffer.
server_close() calls server_log() which uses ctl_log.
Crash reported by Daniel Jakots <vigdis AT chown DOT me>, thanks!
OK benno

9 years agoUnify mdoc_deroff() and man_deroff() into a common function deroff().
schwarze [Thu, 23 Apr 2015 16:17:04 +0000 (16:17 +0000)]
Unify mdoc_deroff() and man_deroff() into a common function deroff().
No functional change except that for mdoc(7), it now skips leading
escape sequences just like it already did for man(7).
Escape sequences rarely occur in mdoc(7) code and if they do,
skipping them is an improvement in this context.
Minus 30 lines of code.

9 years agoGet rid of two empty wrapper functions. No functional change.
schwarze [Thu, 23 Apr 2015 15:35:39 +0000 (15:35 +0000)]
Get rid of two empty wrapper functions.  No functional change.

9 years agoFix 13 years old typo that should be responsible for the unhappiness
mpi [Thu, 23 Apr 2015 14:42:02 +0000 (14:42 +0000)]
Fix 13 years old typo that should be responsible for the unhappiness
of UVM on PowerPC architectures by breaking pmap_is_referenced() and
friends.

ok kettenis@

9 years agotedu remnants of the previous attempt to implement page zeroing in
dlg [Thu, 23 Apr 2015 09:56:23 +0000 (09:56 +0000)]
tedu remnants of the previous attempt to implement page zeroing in
the idle thread.

ok deraadt@

9 years agoreplace the use of struct ifqueue in pipex with mbuf_queues.
dlg [Thu, 23 Apr 2015 09:45:24 +0000 (09:45 +0000)]
replace the use of struct ifqueue in pipex with mbuf_queues.

this has a slight semantic change. previously pipex would only
process up to 128 packets on the input and output queues at a time
and would reschedule the softint if there were any left. now it
mq_delists the current set of pending packets and only processes
them. if anything is added to the queues later they'll cause the
softint to run again.

this in turn lets us deprecate sysctl_ifq since nothing uses it
anymore. because niqueues are mostly wrappers around mbuf_queues,
we can provide sysctl_mq and just #define sysctl_niq to it.

pipex bits are ok yasuoka@

9 years agouse reallocarray instead of calloc; avoid the zero before infill
deraadt [Thu, 23 Apr 2015 07:45:50 +0000 (07:45 +0000)]
use reallocarray instead of calloc; avoid the zero before infill
ok nicm

9 years agoDo not need to buf[0] = 0 before strlcpy(buf, ...
deraadt [Thu, 23 Apr 2015 06:11:19 +0000 (06:11 +0000)]
Do not need to buf[0] = 0 before strlcpy(buf, ...

9 years agodelete a NOTDEF of unused code
deraadt [Thu, 23 Apr 2015 05:58:14 +0000 (05:58 +0000)]
delete a NOTDEF of unused code

9 years agoKNF and other style adjustments to make this more scrutible.
deraadt [Thu, 23 Apr 2015 05:26:33 +0000 (05:26 +0000)]
KNF and other style adjustments to make this more scrutible.
reviewed by millert

9 years agoAdd a simple regression test for sshd's configuration parser. Right now,
dtucker [Thu, 23 Apr 2015 05:01:19 +0000 (05:01 +0000)]
Add a simple regression test for sshd's configuration parser.  Right now,
all it does is run the output of sshd -T back through itself and ensure
the output is valid and invariant.

9 years agoTwo small fixes for sshd -T: ListenAddress'es are added to a list head so
dtucker [Thu, 23 Apr 2015 04:59:10 +0000 (04:59 +0000)]
Two small fixes for sshd -T: ListenAddress'es are added to a list head so
reverse the order when printing them to ensure the behaviour remains the same,
and print StreamLocalBindMask as octal with leading zero.  ok deraadt@

9 years agoCheck for and reject missing arguments for VersionAddendum and ForceCommand.
dtucker [Thu, 23 Apr 2015 04:53:53 +0000 (04:53 +0000)]
Check for and reject missing arguments for VersionAddendum and ForceCommand.
bz#2281, patch from plautrba at redhat com, ok djm@

9 years agoavoid an uneeded deref
jsg [Thu, 23 Apr 2015 02:55:15 +0000 (02:55 +0000)]
avoid an uneeded deref
ok blambert@ guenther@

9 years agoerror in strtonum() conversion; found by Nathanael Rensen
deraadt [Thu, 23 Apr 2015 02:13:18 +0000 (02:13 +0000)]
error in strtonum() conversion; found by Nathanael Rensen

9 years agodont need \n on panic strings
dlg [Thu, 23 Apr 2015 00:49:37 +0000 (00:49 +0000)]
dont need \n on panic strings

9 years agoRemove forgotten empty files, from miod, thanks
ratchov [Wed, 22 Apr 2015 20:29:56 +0000 (20:29 +0000)]
Remove forgotten empty files, from miod, thanks

9 years agoExpand SLIST macro of unix pcb members before printing the pointer.
bluhm [Wed, 22 Apr 2015 18:07:32 +0000 (18:07 +0000)]
Expand SLIST macro of unix pcb members before printing the pointer.
Fixes a gcc warning.  No binary change.
Found by and OK deraadt@

9 years agoUse .Ar for placeholders and .Cm for arguments to be provided verbatim.
schwarze [Wed, 22 Apr 2015 16:25:31 +0000 (16:25 +0000)]
Use .Ar for placeholders and .Cm for arguments to be provided verbatim.
No text change.
Inconsistent markup noticed by Alex dot Greif at greifdesign dot net.
OK jmc@ ajacoutot@.

9 years agoMake session_has return a flag, returning the first winlink found is a
nicm [Wed, 22 Apr 2015 15:32:33 +0000 (15:32 +0000)]
Make session_has return a flag, returning the first winlink found is a
recipe for errors.

9 years agoChange the windows array into an RB tree and fix some places where we
nicm [Wed, 22 Apr 2015 15:30:11 +0000 (15:30 +0000)]
Change the windows array into an RB tree and fix some places where we
were only looking at the first winlink for a window in a session.

9 years agowindow_index is only used in one place (window_destroy) so inline it there.
nicm [Wed, 22 Apr 2015 15:05:03 +0000 (15:05 +0000)]
window_index is only used in one place (window_destroy) so inline it there.

9 years agoUpdate termtypes.master to terminfo.src from ncurses-5.9-20150418.
nicm [Wed, 22 Apr 2015 12:50:12 +0000 (12:50 +0000)]
Update termtypes.master to terminfo.src from ncurses-5.9-20150418.

9 years agoInit a variable to zero so values aren't or'd into uninitialised memory.
jsg [Wed, 22 Apr 2015 11:39:04 +0000 (11:39 +0000)]
Init a variable to zero so values aren't or'd into uninitialised memory.
From jeundery at gmail dot com

9 years agoAdd the necessary glue to keep carp(4) working while other pseudo-drivers
mpi [Wed, 22 Apr 2015 06:44:17 +0000 (06:44 +0000)]
Add the necessary glue to keep carp(4) working while other pseudo-drivers
are converted to if_input(), this time without breaking parent-less setup.

ok sthen@, dlg@

9 years agoAdd missing header for NBRIDGE chunk, found the hardway and diff from
mpi [Wed, 22 Apr 2015 06:42:11 +0000 (06:42 +0000)]
Add missing header for NBRIDGE chunk, found the hardway and diff from
Rafael Zalamena.

9 years agoImplement the MI atomic API for PowerPC to avoid using gcc builtins that
mpi [Wed, 22 Apr 2015 06:39:03 +0000 (06:39 +0000)]
Implement the MI atomic API for PowerPC to avoid using gcc builtins that
include extra sync operations.

ok kettenis@

9 years agoReduce differences between pae and no-pae modes.
mlarkin [Wed, 22 Apr 2015 06:26:23 +0000 (06:26 +0000)]
Reduce differences between pae and no-pae modes.

discussed with deraadt

9 years agosync
deraadt [Wed, 22 Apr 2015 05:54:46 +0000 (05:54 +0000)]
sync

9 years agoInit rt to NULL in arpresolve(). Not a problem in practice
jsg [Wed, 22 Apr 2015 04:12:22 +0000 (04:12 +0000)]
Init rt to NULL in arpresolve().  Not a problem in practice
as la will be NULL when rt is uninitialised which should cause
the function to return, but makes the code easier to follow.

ok mpi@ miod@

9 years agoInit error to 0 for sdmmc_mem_single_{read,write}_block
jsg [Wed, 22 Apr 2015 04:02:06 +0000 (04:02 +0000)]
Init error to 0 for sdmmc_mem_single_{read,write}_block
otherwise the value would be uninitialised in the unlikely
case of being called with length 0.

9 years agohaving macros provide semicolons is dangerous.
dlg [Wed, 22 Apr 2015 03:48:52 +0000 (03:48 +0000)]
having macros provide semicolons is dangerous.

9 years agouse correct key for nested certificate test
djm [Wed, 22 Apr 2015 01:38:36 +0000 (01:38 +0000)]
use correct key for nested certificate test

9 years agounknown certificate extensions are non-fatal, so don't fatal
djm [Wed, 22 Apr 2015 01:24:01 +0000 (01:24 +0000)]
unknown certificate extensions are non-fatal, so don't fatal
when they are encountered; bz#2387 reported by Bob Van Zant;
ok dtucker@

9 years agoLook up indexes as number before name, makes more sense if windows are
nicm [Tue, 21 Apr 2015 22:42:27 +0000 (22:42 +0000)]
Look up indexes as number before name, makes more sense if windows are
named starting with numbers. From Thomas Adam.

9 years agoAlways format real layout even when zoomed.
nicm [Tue, 21 Apr 2015 22:38:49 +0000 (22:38 +0000)]
Always format real layout even when zoomed.

9 years agoDo not die on USR1 if any of the socket parent directories are
nicm [Tue, 21 Apr 2015 22:32:40 +0000 (22:32 +0000)]
Do not die on USR1 if any of the socket parent directories are
missing. Reported by Robin Powell.

9 years agoSimplify error messages when socket connect fails, suggested by "Karthik K".
nicm [Tue, 21 Apr 2015 22:21:41 +0000 (22:21 +0000)]
Simplify error messages when socket connect fails, suggested by "Karthik K".

9 years agoThe free callback could end up being fired before the done callback
nicm [Tue, 21 Apr 2015 21:31:02 +0000 (21:31 +0000)]
The free callback could end up being fired before the done callback
(happens on Cygwin), so use a reference count instead of a single
flag. SF bug 188 reported by "iceboy".

9 years agoFix moving windows to nonexistent indexes when renumber-windows is
nicm [Tue, 21 Apr 2015 21:24:49 +0000 (21:24 +0000)]
Fix moving windows to nonexistent indexes when renumber-windows is
off. From Thomas Adam, reported by Daniel Levai and Theo Buehler.

9 years agoRemove an extra lcr3 that snuck into pmap_switch during yesterday's
mlarkin [Tue, 21 Apr 2015 18:47:57 +0000 (18:47 +0000)]
Remove an extra lcr3 that snuck into pmap_switch during yesterday's
cleanup, responsible for various reaper panics pointed out on bugs@ this
morning.

ok deraadt@

9 years agoImprove divert-to specification parsing w.r.t. rule address family.
mikeb [Tue, 21 Apr 2015 16:34:59 +0000 (16:34 +0000)]
Improve divert-to specification parsing w.r.t. rule address family.
ok henning

9 years agoAccording to RFC 4861 and the actuall implementation rltime may not
florian [Tue, 21 Apr 2015 16:32:24 +0000 (16:32 +0000)]
According to RFC 4861 and the actuall implementation rltime may not
exceed 9000 seconds.
Reported by Alexander Lobodzinski on bugs@, thanks!
OK benno@

9 years agoAvoid a use after free when the target node is deleted during validation.
schwarze [Tue, 21 Apr 2015 16:13:54 +0000 (16:13 +0000)]
Avoid a use after free when the target node is deleted during validation.
Bug reported by jsg@.

9 years agoBind mouse dragging so that it is passed through to applications if they
nicm [Tue, 21 Apr 2015 15:34:32 +0000 (15:34 +0000)]
Bind mouse dragging so that it is passed through to applications if they
want it rather than entering copy mode.

9 years agoDon't eat the mouse event that triggers a drag end because we may want
nicm [Tue, 21 Apr 2015 15:21:41 +0000 (15:21 +0000)]
Don't eat the mouse event that triggers a drag end because we may want
to pass it on to application inside the pane.

9 years agoPut mouse_any_flag back, don't know where it went to (still in man page).
nicm [Tue, 21 Apr 2015 15:18:38 +0000 (15:18 +0000)]
Put mouse_any_flag back, don't know where it went to (still in man page).

9 years agoPass mouse events through to commands for if-shell.
nicm [Tue, 21 Apr 2015 15:18:06 +0000 (15:18 +0000)]
Pass mouse events through to commands for if-shell.

9 years agocmd_mouse_pane can return NULL, check for that.
nicm [Tue, 21 Apr 2015 15:16:06 +0000 (15:16 +0000)]
cmd_mouse_pane can return NULL, check for that.

9 years agoSection 1, not section one: section numbers are always numerical.
schwarze [Tue, 21 Apr 2015 14:27:07 +0000 (14:27 +0000)]
Section 1, not section one: section numbers are always numerical.
For example, "man -s one" wouldn't work either.
Patch from Alex Greif <alex dot greif at greifdesign dot net>.

9 years agodisable *8 again for now. incoherent archs arent having much fun with it.
dlg [Tue, 21 Apr 2015 13:15:54 +0000 (13:15 +0000)]
disable *8 again for now. incoherent archs arent having much fun with it.

9 years agoappend the setdir ("5.7/amd64", "snapshots/vax") as get-parameter "path"
henning [Tue, 21 Apr 2015 10:58:28 +0000 (10:58 +0000)]
append the setdir ("5.7/amd64", "snapshots/vax") as get-parameter "path"
when fetching the autoinstall response file.
a webserver that serves static files doesn't give a damn. if I map that
to something that dynamically creates the response file, i can use that to
construct the sets path, or play other arch and/or version dependent
games.
ok krw uwe

9 years agoBack in January, Kaspars at Bankovskis dot net reported that the wc(1)
schwarze [Tue, 21 Apr 2015 10:46:48 +0000 (10:46 +0000)]
Back in January, Kaspars at Bankovskis dot net reported that the wc(1)
manual claims that -m would count characters, while our version of the
command actually doesn't, lacking POSIX multibyte support.  Since
nobody stood up to fix the code, sync the docs with reality for now.
OK jmc@