openbsd
9 years agoWhen the outcome of the watchdog processing is a reset, do not bother checking
miod [Wed, 14 Jan 2015 21:14:49 +0000 (21:14 +0000)]
When the outcome of the watchdog processing is a reset, do not bother checking
further pending requests, since they will be forcefully failed by the reset
routine.

9 years agoSwitch drift file format to ppm for compatibility with the ntp.org
naddy [Wed, 14 Jan 2015 21:14:27 +0000 (21:14 +0000)]
Switch drift file format to ppm for compatibility with the ntp.org
daemon.

Old drift files will be interpreted as a minuscule adjustment and
ntpd will proceed to rediscover the drift, like starting from zero
on a newly installed machine.

ok deraadt@

9 years agoMake the special buffer used for the few sector I/O at attach time a per-softc
miod [Wed, 14 Jan 2015 21:13:46 +0000 (21:13 +0000)]
Make the special buffer used for the few sector I/O at attach time a per-softc
member, rather than a global. No functional change.

9 years agowhitespace
djm [Wed, 14 Jan 2015 20:54:29 +0000 (20:54 +0000)]
whitespace

9 years agomove authfd.c and its tentacles to the new buffer/key API;
djm [Wed, 14 Jan 2015 20:05:27 +0000 (20:05 +0000)]
move authfd.c and its tentacles to the new buffer/key API;
ok markus@

9 years agofix small regression: ssh-agent would return a success message
djm [Wed, 14 Jan 2015 19:33:41 +0000 (19:33 +0000)]
fix small regression: ssh-agent would return a success message
but an empty signature if asked to sign using an unknown key;
ok markus@

9 years agopathconf(1) never happened.
deraadt [Wed, 14 Jan 2015 19:15:01 +0000 (19:15 +0000)]
pathconf(1) never happened.
ok guenther

9 years agoMake x[dy]c_e2str return a const char *.
miod [Wed, 14 Jan 2015 19:02:59 +0000 (19:02 +0000)]
Make x[dy]c_e2str return a const char *.
Remove obsolete comments in x[dy]dump().

9 years agoRemove pass-through ioctl for SMD disks (DIOSXDCMD). Nothing uses this, because
miod [Wed, 14 Jan 2015 19:01:00 +0000 (19:01 +0000)]
Remove pass-through ioctl for SMD disks (DIOSXDCMD). Nothing uses this, because
noone wrote an equivalent of SunOS format(8) and noone ever will.

9 years agoUse reallocarray() instead of calloc() when making a copy of the
millert [Wed, 14 Jan 2015 18:28:15 +0000 (18:28 +0000)]
Use reallocarray() instead of calloc() when making a copy of the
environment.  We already explicitly NULL terminate the array.

9 years agoSimplify handling of system errors: just exit(3).
schwarze [Wed, 14 Jan 2015 17:45:25 +0000 (17:45 +0000)]
Simplify handling of system errors: just exit(3).
We already do the same for malloc(3) failure.
The is no virtue in trying to survive failure of fork(2) and the like.

9 years agoReplace MAXHOSTNAMELEN with HOST_NAME_MAX+1 and MAXNAMLEN with NAME_MAX
millert [Wed, 14 Jan 2015 17:30:53 +0000 (17:30 +0000)]
Replace MAXHOSTNAMELEN with HOST_NAME_MAX+1 and MAXNAMLEN with NAME_MAX
and use limits.h instead of sys/param.h.

9 years agoUse HAVE_FOO for BSD-specific features instead of relying on the
millert [Wed, 14 Jan 2015 17:27:51 +0000 (17:27 +0000)]
Use HAVE_FOO for BSD-specific features instead of relying on the
BSD macro from sys/param.h.

9 years agoUse standard types for wait, readdir, signals and pids.
millert [Wed, 14 Jan 2015 17:27:29 +0000 (17:27 +0000)]
Use standard types for wait, readdir, signals and pids.

9 years agoRemove compatibility defines for ancient systems. We assume a
millert [Wed, 14 Jan 2015 17:27:13 +0000 (17:27 +0000)]
Remove compatibility defines for ancient systems.  We assume a
reasonable level of POSIX compliance.

9 years agoavoid BIGNUM in KRL code by using a simple bitmap;
djm [Wed, 14 Jan 2015 15:02:39 +0000 (15:02 +0000)]
avoid BIGNUM in KRL code by using a simple bitmap;
feedback and ok markus

9 years agoupdate sftp client and server to new buffer API.
djm [Wed, 14 Jan 2015 13:54:13 +0000 (13:54 +0000)]
update sftp client and server to new buffer API.
pretty much just mechanical changes; with & ok markus

9 years agoswitch to sshbuf/sshkey; with & ok djm@
markus [Wed, 14 Jan 2015 13:09:09 +0000 (13:09 +0000)]
switch to sshbuf/sshkey; with & ok djm@

9 years agoReplace "errx(1, "malloc failed")" with "err(1, NULL)" to get
millert [Wed, 14 Jan 2015 11:59:10 +0000 (11:59 +0000)]
Replace "errx(1, "malloc failed")" with "err(1, NULL)" to get
standard "Cannot allocate memory" message.

9 years agoavoid an warning for the !OPENSSL case
djm [Wed, 14 Jan 2015 10:46:28 +0000 (10:46 +0000)]
avoid an warning for the !OPENSSL case

9 years agoswith auth-options to new sshbuf/sshkey; ok djm@
markus [Wed, 14 Jan 2015 10:30:34 +0000 (10:30 +0000)]
swith auth-options to new sshbuf/sshkey; ok djm@

9 years agomake non-OpenSSL aes-ctr work on sshd w/ privsep; ok markus@
djm [Wed, 14 Jan 2015 10:29:45 +0000 (10:29 +0000)]
make non-OpenSSL aes-ctr work on sshd w/ privsep; ok markus@

9 years agoremove unneeded includes, sync my copyright across files & whitespace; ok djm@
markus [Wed, 14 Jan 2015 10:24:42 +0000 (10:24 +0000)]
remove unneeded includes, sync my copyright across files & whitespace; ok djm@

9 years agore-add comment about full path
markus [Wed, 14 Jan 2015 09:58:21 +0000 (09:58 +0000)]
re-add comment about full path

9 years agodon't reset to the installed sshd; connect before reconfigure, too
markus [Wed, 14 Jan 2015 09:54:38 +0000 (09:54 +0000)]
don't reset  to the installed sshd; connect before reconfigure, too

9 years agorecipient and sender lists now support the user+TAG notation, allowing
gilles [Wed, 14 Jan 2015 09:07:51 +0000 (09:07 +0000)]
recipient and sender lists now support the user+TAG notation, allowing
among other things a secondary MX to filter recipients to be relayed to a
primary MX even if they are using tags. there are other nice things to do
with that feature, use your imagination.

tested and ok florian@, tested by several users for a few days too

9 years agobring back reverted commits, the crash was unrelated
gilles [Wed, 14 Jan 2015 08:50:32 +0000 (08:50 +0000)]
bring back reverted commits, the crash was unrelated

9 years agoIt is sufficient to protect in6_ifattach() with splsoftnet().
bluhm [Wed, 14 Jan 2015 00:37:19 +0000 (00:37 +0000)]
It is sufficient to protect in6_ifattach() with splsoftnet().
OK mpi@

9 years agoMove debug printf for duplicate af to correct location.
millert [Tue, 13 Jan 2015 23:22:33 +0000 (23:22 +0000)]
Move debug printf for duplicate af to correct location.

9 years agoIn IBSS mode, stop calling the driver's newassoc() each time a probe
stsp [Tue, 13 Jan 2015 23:16:59 +0000 (23:16 +0000)]
In IBSS mode, stop calling the driver's newassoc() each time a probe
response is received from a node. Only call it once when the node is
initially discovered, as used to be the case before r1.4 of this file.
Asking the driver to set up its per-node private state once is enough.
Also remove an outdated comment.
ok sthen deraadt jsg

9 years agoBe developer-friendly, 'cause OpenBSD devs like to:
schwarze [Tue, 13 Jan 2015 23:16:12 +0000 (23:16 +0000)]
Be developer-friendly, 'cause OpenBSD devs like to:
cd /usr/src/share/man/man4; vi newdev.4 Makefile; make install; man newdev

When a manual is missing from an outdated database, let man(1)
show it anyway, using a KISS file system lookup as a fallback.
Requested by deraadt@.

87 new lines of code doesn't seem too much bloat to me.

Of course, keeping your mandoc.db(5) files up to date with makewhatis(8)
or weekly(8) is still required for apropos(1) to find your new pages.

9 years agoRemove bogus getopt.h include.
millert [Tue, 13 Jan 2015 21:49:36 +0000 (21:49 +0000)]
Remove bogus getopt.h include.

9 years agoFix printing of number of whitelist entries in debug mode.
millert [Tue, 13 Jan 2015 21:45:53 +0000 (21:45 +0000)]
Fix printing of number of whitelist entries in debug mode.

9 years agoUse address-family specific lists of addr/mask entries instead of
millert [Tue, 13 Jan 2015 21:42:59 +0000 (21:42 +0000)]
Use address-family specific lists of addr/mask entries instead of
a union that can store either ipv4 or ipv6.  The old method used
4x as much memory as was really needed for ipv4.  The spamd-setup
protocol has changed from: tag;message;a/m;a/m;a/m...\n
to :tag;message;af;count;a/m;a/m;a/m...[af;count;a/m;a/m;a/m]\n
OK phessler@ "nice" beck@

9 years agoInitialize d_type to DTYPE_SMD in the default label to avoid disklabel(8)
miod [Tue, 13 Jan 2015 20:40:11 +0000 (20:40 +0000)]
Initialize d_type to DTYPE_SMD in the default label to avoid disklabel(8)
asking for the device type upon labeling a freshly formatted disk.

9 years agoGenerate a PT_PHDR entry for static PIE binaries. Modern GDB needs this to
kettenis [Tue, 13 Jan 2015 20:05:43 +0000 (20:05 +0000)]
Generate a PT_PHDR entry for static PIE binaries.  Modern GDB needs this to
do some sanity checking while it determines the load base.

ok kurt@

9 years agoGenerate a PT_PHDR entry for static PIE binaries. Modern GDB needs this to
kettenis [Tue, 13 Jan 2015 20:05:01 +0000 (20:05 +0000)]
Generate a PT_PHDR entry for static PIE binaries.  Modern GDB needs this to
do some sanity checking while it determines the load base.

ok kurt@

9 years agoadapt mac.c to ssherr.h return codes (de-fatal) and simplify dependencies
markus [Tue, 13 Jan 2015 19:31:40 +0000 (19:31 +0000)]
adapt mac.c to ssherr.h return codes (de-fatal) and simplify dependencies
ok djm@

9 years agosync changes from libopenssh; prepared by markus@
djm [Tue, 13 Jan 2015 19:06:49 +0000 (19:06 +0000)]
sync changes from libopenssh; prepared by markus@
mostly debug output tweaks, a couple of error return value changes
and some other minor stuff

9 years agosync changes from libopenssh; prepared by markus@
djm [Tue, 13 Jan 2015 19:04:35 +0000 (19:04 +0000)]
sync changes from libopenssh; prepared by markus@
mostly debug output tweaks, a couple of error return value changes
and some other minor stuff

9 years agoMany architectures call initmsgbuf() really really early, before uvm is
kettenis [Tue, 13 Jan 2015 18:51:27 +0000 (18:51 +0000)]
Many architectures call initmsgbuf() really really early, before uvm is
initialized.  Calling malloc(9) at that point is not a good idea.  So
initialize consbuf later.

Fixes dmesg -s on sparc64 (and probably a few other architectures).

ok miod@, deraadt@

9 years agozap really odd code that's not actually in-use.
espie [Tue, 13 Jan 2015 18:30:15 +0000 (18:30 +0000)]
zap really odd code that's not actually in-use.
okay millert@

9 years agoFor non-blocking sockets tls_connect_fds() could fail with EAGAIN.
bluhm [Tue, 13 Jan 2015 17:35:35 +0000 (17:35 +0000)]
For non-blocking sockets tls_connect_fds() could fail with EAGAIN.
Use the same logic from the read, write, accept functions to inform
the caller wether a readable or writable socket is needed.  After
that event, the connect function must be called again.  All the
checks before connecting are done only once.
OK tedu@

9 years agoRemove a variable that's not really being used.
bcallah [Tue, 13 Jan 2015 17:02:28 +0000 (17:02 +0000)]
Remove a variable that's not really being used.
ok deraadt@ jasper@

9 years agoAlways allow abort tasks to be scheduled, even if the device is beeing
mpi [Tue, 13 Jan 2015 16:03:18 +0000 (16:03 +0000)]
Always allow abort tasks to be scheduled, even if the device is beeing
detached, in order to prevent a deadlock situation.

This situation can occur if the thread detaching a device is sleeping,
waiting for all submitted transfers to finish, and the device's pipes
have not yet been aborted.  This can happen when a USB Ethernet device
is being detached while a userland program is doing an ioctl(2).

Abort tasks need to be able to run in such case since timed out transfers
rely on them to be properly completed.

ok deraadt@

9 years agobump failure to set the initial time from debug to warning
bcook [Tue, 13 Jan 2015 14:52:47 +0000 (14:52 +0000)]
bump failure to set the initial time from debug to warning

from Paul B. Henson, ok phessler@

9 years agoimplement a SIGINFO handler so we can discern a stuck fuzz test
djm [Tue, 13 Jan 2015 14:51:51 +0000 (14:51 +0000)]
implement a SIGINFO handler so we can discern a stuck fuzz test
from a merely glacial one; prompted by and ok markus

9 years agoDocument the openssl s_client -proxy feature.
bluhm [Tue, 13 Jan 2015 14:09:54 +0000 (14:09 +0000)]
Document the openssl s_client -proxy feature.
OK jmc@

9 years agoremove .Tn from stdio manuals; Kaspars Bankovskis found one of these
schwarze [Tue, 13 Jan 2015 14:02:30 +0000 (14:02 +0000)]
remove .Tn from stdio manuals; Kaspars Bankovskis found one of these

9 years agodo not spawn a pager when there is no output; issue pointed out by deraadt@
schwarze [Tue, 13 Jan 2015 13:22:13 +0000 (13:22 +0000)]
do not spawn a pager when there is no output; issue pointed out by deraadt@

9 years agoOnly notify userland about resolved ARP entries if the Ethernet address
mpi [Tue, 13 Jan 2015 12:16:18 +0000 (12:16 +0000)]
Only notify userland about resolved ARP entries if the Ethernet address
changed or if we asked for it.

Should reduce the RTM_RESOLVE storm seeing by claudio@

With inputs from and ok mikeb@

9 years agoRestore sending RTM_ADD and RTM_DELETE messages to userland for every
mpi [Tue, 13 Jan 2015 12:14:00 +0000 (12:14 +0000)]
Restore sending RTM_ADD and RTM_DELETE messages to userland for every
route created/deleted with rt_ifa_add(9)/rt_ifa_del(9), not only for
RTF_LOCAL routes.

Regression introduced in r1.172 when restoring the original behavior
of RTM_NEWADDR/RTM_RTM_DELADDR reported by Florian Riehm.

Joint work with Florian Riehm, with input from and ok bluhm@.

9 years agoAdd the possibility to use the openssl s_client tool with an http
bluhm [Tue, 13 Jan 2015 10:48:24 +0000 (10:48 +0000)]
Add the possibility to use the openssl s_client tool with an http
proxy.  Implement the -proxy feature in the same hackish way as
-starttls.
OK jsing@

9 years agoAdd dmesg -s support, to view the output of rc(8) system startup messages.
mpf [Tue, 13 Jan 2015 10:07:58 +0000 (10:07 +0000)]
Add dmesg -s support, to view the output of rc(8) system startup messages.
Help and feedback by Theo and Miod.
OK deraadt@, manpage-ok jmc@

9 years agobump copyright year
reyk [Tue, 13 Jan 2015 09:24:20 +0000 (09:24 +0000)]
bump copyright year

9 years agobump copyright year
reyk [Tue, 13 Jan 2015 09:21:15 +0000 (09:21 +0000)]
bump copyright year

9 years agoAbort if fcgi_chunked is not true to avoid sending additional garbage
reyk [Tue, 13 Jan 2015 08:54:01 +0000 (08:54 +0000)]
Abort if fcgi_chunked is not true to avoid sending additional garbage
after the response.

Found by Erik Lax

ok florian@

9 years agosync
deraadt [Tue, 13 Jan 2015 08:40:09 +0000 (08:40 +0000)]
sync

9 years agolibedit claims compatibility with readline 4.2, so provide a stub for
reyk [Tue, 13 Jan 2015 08:33:12 +0000 (08:33 +0000)]
libedit claims compatibility with readline 4.2, so provide a stub for
rl_set_keyboard_input_timeout() that was added in this version.
Also crank the minor version.

OK krw@ yasuoka@ deraadt@

9 years agouse $SSH instead of installed ssh to allow override; spotted by markus@
djm [Tue, 13 Jan 2015 08:23:26 +0000 (08:23 +0000)]
use $SSH instead of installed ssh to allow override; spotted by markus@

9 years agoregress test for PubkeyAcceptedKeyTypes; ok markus@
djm [Tue, 13 Jan 2015 07:49:49 +0000 (07:49 +0000)]
regress test for PubkeyAcceptedKeyTypes; ok markus@

9 years agoadd sshd_config HostbasedAcceptedKeyTypes and PubkeyAcceptedKeyTypes
djm [Tue, 13 Jan 2015 07:39:19 +0000 (07:39 +0000)]
add sshd_config HostbasedAcceptedKeyTypes and PubkeyAcceptedKeyTypes
options to allow sshd to control what public key types will be
accepted. Currently defaults to all. Feedback & ok markus@

9 years agoRemove unnecessary calls to __atexit_register_cleanup(), calling __sinit()
guenther [Tue, 13 Jan 2015 07:18:21 +0000 (07:18 +0000)]
Remove unnecessary calls to __atexit_register_cleanup(), calling __sinit()
instead where necessary.

Based on a diff from enh (at) google.com
ok millert@

9 years agoescape "No" when it's not intended as a macro, and zap
jmc [Tue, 13 Jan 2015 07:03:23 +0000 (07:03 +0000)]
escape "No" when it's not intended as a macro, and zap
trailing whitespace;

9 years agoAn article on medium.com highlighted that grep
daniel [Tue, 13 Jan 2015 04:45:34 +0000 (04:45 +0000)]
An article on medium.com highlighted that grep
was available in v4.

To quote Ken Thompson, grep appeared "sometime
before the 4th edition."

ok schwarze@

9 years ago-/* Backwards compatibility. */
deraadt [Tue, 13 Jan 2015 04:19:00 +0000 (04:19 +0000)]
-/* Backwards compatibility.  */
-#ifndef NI_MAXHOST
-#define NI_MAXHOST 1025
-#endif
Disappointing.

9 years ago"wi0" should be "an0" in the EXAMPLES section.
lteo [Tue, 13 Jan 2015 03:43:57 +0000 (03:43 +0000)]
"wi0" should be "an0" in the EXAMPLES section.

9 years agoGive tcpdrop a proper usage() like other programs in the tree.
lteo [Tue, 13 Jan 2015 03:43:18 +0000 (03:43 +0000)]
Give tcpdrop a proper usage() like other programs in the tree.

ok bluhm@

9 years agoImplement more thorough error checks:
lteo [Tue, 13 Jan 2015 03:42:36 +0000 (03:42 +0000)]
Implement more thorough error checks:

- Check the return value of every relevant function call.

- If BIO_new() returns NULL instead of a valid BIO, do not attempt to
  blindly use the NULL value as a BIO throughout the rest of the code.

- Ensure that bio_out is freed by BIO_free_all() at the end of all
  error paths.

ok doug@

9 years agofix some memory leaks in dns handling.
bcook [Tue, 13 Jan 2015 02:28:56 +0000 (02:28 +0000)]
fix some memory leaks in dns handling.

 - Nothing seems to free the result of host_dns(), so add host_dns_free() and
   call after each query.
 - If imsg_add() fails, it frees buf. Avoid subsequently dereferencing the
   freed buf in imsg_close().

ok millert@ deraadt@

9 years agopass the vnd xfer pointer to the tasks callback as part of the
dlg [Tue, 13 Jan 2015 02:24:26 +0000 (02:24 +0000)]
pass the vnd xfer pointer to the tasks callback as part of the
vndbuf allocation.

luke-warm support and ok krw@

9 years agoprefer sizeof(thing) to sizeof(type)
bcook [Tue, 13 Jan 2015 02:23:33 +0000 (02:23 +0000)]
prefer sizeof(thing) to sizeof(type)

ok tedu@ deraadt@

9 years agoEnable snooping on Bay Trail HD Audio.
jsg [Tue, 13 Jan 2015 01:54:19 +0000 (01:54 +0000)]
Enable snooping on Bay Trail HD Audio.
Fixes audio problems on an Asus J1800I-C
reported by Jan Stary.

9 years agoAdd missing Utilite case in imx_platform_init_cons()
jsg [Tue, 13 Jan 2015 01:33:45 +0000 (01:33 +0000)]
Add missing Utilite case in imx_platform_init_cons()
spotted by Patrick Wildt

9 years agofor the install: target, use cmp as a rough attempt for avoiding repeated
deraadt [Tue, 13 Jan 2015 01:12:48 +0000 (01:12 +0000)]
for the install: target, use cmp as a rough attempt for avoiding repeated
make install
from Simon Nicolussi
ok jsing tedu

9 years agosync
deraadt [Tue, 13 Jan 2015 00:45:10 +0000 (00:45 +0000)]
sync

9 years agoinclude NFSCLIENT. ok deraadt
tedu [Mon, 12 Jan 2015 23:39:57 +0000 (23:39 +0000)]
include NFSCLIENT. ok deraadt

9 years agosync
deraadt [Mon, 12 Jan 2015 23:28:04 +0000 (23:28 +0000)]
sync

9 years agothe BUG described at the bottom is not a bug. It is how it is supposed to
deraadt [Mon, 12 Jan 2015 21:42:53 +0000 (21:42 +0000)]
the BUG described at the bottom is not a bug.  It is how it is supposed to
work.  Move it up into the main body.
ok tedu millert

9 years agolager -> larger (no beer involved)
miod [Mon, 12 Jan 2015 21:34:15 +0000 (21:34 +0000)]
lager -> larger (no beer involved)

9 years agoFix two 19 years old (since day one) bug in bad144 sector reassignment logic:
miod [Mon, 12 Jan 2015 21:31:06 +0000 (21:31 +0000)]
Fix two 19 years old (since day one) bug in bad144 sector reassignment logic:
- when entering bad144 mode, correctly compute the actual C/H/S values for the
  logical block number.
- when leaving bad144 mode and resuming normal I/O operation, when computing
  back the C/H/S values for the next logical block number, compute the
  sector number correctly.

9 years agoAdd fgetwln(3) from FreeBSD and bump libc minor revision.
millert [Mon, 12 Jan 2015 20:58:07 +0000 (20:58 +0000)]
Add fgetwln(3) from FreeBSD and bump libc minor revision.

9 years agoDocumentation for postgresql.port.mk.
zhuk [Mon, 12 Jan 2015 20:56:20 +0000 (20:56 +0000)]
Documentation for postgresql.port.mk.

9 years agoMake putting a breakpoint on the first instruction of a program work.
kettenis [Mon, 12 Jan 2015 20:27:09 +0000 (20:27 +0000)]
Make putting a breakpoint on the first instruction of a program work.
Previously a breakpoint at the first instruction would force us to
single-step.  Depending on the single-step implementation this would make us
step over the breakpoint and continue in many cases.  Fix this by passing the
address of the current instruction pointer which will skip the code that
checks if we need to step over a breakpoint.  A similar fix has been made
upstream many moons ago.  Fixes debugging static PIE on sparc64 and probably
others that use some sort of software single-stepping.

9 years agounbreak parsing of pubkey comments; with gerhard; ok djm/deraadt
markus [Mon, 12 Jan 2015 20:13:27 +0000 (20:13 +0000)]
unbreak parsing of pubkey comments; with gerhard; ok djm/deraadt

9 years agorevert the namecache embiggening since it seems to cause hangs at reboot.
tedu [Mon, 12 Jan 2015 20:00:11 +0000 (20:00 +0000)]
revert the namecache embiggening since it seems to cause hangs at reboot.
reported and revert tested by krw

9 years agomissing error assigment on sshbuf_put_string()
markus [Mon, 12 Jan 2015 19:22:46 +0000 (19:22 +0000)]
missing error assigment on sshbuf_put_string()

9 years agooops, don't load quirks prematurely. noticed by many, myself included
espie [Mon, 12 Jan 2015 18:27:33 +0000 (18:27 +0000)]
oops, don't load quirks prematurely. noticed by many, myself included

9 years agoFix axen(4) build with AXEN_DEBUG defined. From Fabien Raetz.
stsp [Mon, 12 Jan 2015 18:18:42 +0000 (18:18 +0000)]
Fix axen(4) build with AXEN_DEBUG defined. From Fabien Raetz.

9 years agoexphy and ciphy are not needed with this list of network devices
deraadt [Mon, 12 Jan 2015 17:25:03 +0000 (17:25 +0000)]
exphy and ciphy are not needed with this list of network devices
thanks jsg

9 years agoDue to recent savings with instbin, we can take i386 to one install
deraadt [Mon, 12 Jan 2015 17:10:36 +0000 (17:10 +0000)]
Due to recent savings with instbin, we can take i386 to one install
floppy. A few drivers are missing, but the world has moved on (the drivers
included are always a work in progress)
Speeds up make release substantially, of course.

9 years agoEnable lid suspends by default in the kernel, and remove the question from
deraadt [Mon, 12 Jan 2015 16:33:31 +0000 (16:33 +0000)]
Enable lid suspends by default in the kernel, and remove the question from
the installer.  We used a full release cycle to learn that suspend/resume
is reliable enough for this default.  Personal policy can disable this using
machdep.lidsuspend=0 in /etc/sysctl.conf
ok more people begging, and less people whining

9 years agoFetching port distfiles with the ftp command from githup did not
bluhm [Mon, 12 Jan 2015 15:46:55 +0000 (15:46 +0000)]
Fetching port distfiles with the ftp command from githup did not
work when using a https proxy because of a missing host header.
Remember the host form the url and write it into the http request.
Fix the format string when using Proxy-Authorization together with
Cookie.  Also write the http request to the debugging output to
see what is going on.
input jca@; OK sthen@ mpi@

9 years agoapparently memcpy(x, NULL, 0) is undefined behaviour according to
djm [Mon, 12 Jan 2015 15:18:07 +0000 (15:18 +0000)]
apparently memcpy(x, NULL, 0) is undefined behaviour according to
C99 (cf. sections 7.21.1 and 7.1.4), so check skip memcpy calls when
length==0; ok markus@

9 years agoMake sure the given user exists.
ajacoutot [Mon, 12 Jan 2015 14:40:35 +0000 (14:40 +0000)]
Make sure the given user exists.

"I like it" sthen@
ok robert@

9 years agoUse proper casts for ctype functions. This is already fixed in nsd
millert [Mon, 12 Jan 2015 14:36:48 +0000 (14:36 +0000)]
Use proper casts for ctype functions.  This is already fixed in nsd
trunk.  OK doug@

9 years agofree->sshkey_free; ok djm@
markus [Mon, 12 Jan 2015 14:05:19 +0000 (14:05 +0000)]
free->sshkey_free; ok djm@

9 years agoKill the global list of IPv4 addresses.
mpi [Mon, 12 Jan 2015 13:51:45 +0000 (13:51 +0000)]
Kill the global list of IPv4 addresses.

ok claudio@, mikeb@, bluhm@

9 years agoMake it possible to reset "timeout" to the default value.
ajacoutot [Mon, 12 Jan 2015 13:51:20 +0000 (13:51 +0000)]
Make it possible to reset "timeout" to the default value.

9 years ago"timeout" must be a positive integer.
ajacoutot [Mon, 12 Jan 2015 13:40:12 +0000 (13:40 +0000)]
"timeout" must be a positive integer.