openbsd
10 years agoFix the last commit by proper dereferencing the disklabel partition.
pirofti [Sat, 12 Jul 2014 21:47:04 +0000 (21:47 +0000)]
Fix the last commit by proper dereferencing the disklabel partition.

Found by me, fixed by krw@. Thanks!

10 years agosync
deraadt [Sat, 12 Jul 2014 21:44:42 +0000 (21:44 +0000)]
sync

10 years agoTeach these pf regress tests to run with obj directory and to fail
bluhm [Sat, 12 Jul 2014 21:41:49 +0000 (21:41 +0000)]
Teach these pf regress tests to run with obj directory and to fail
softly if the setup is incomplete.  Link them to the build.

10 years agoAdd devel/cmake bits (rotted in my tree for more than a year) and a short
zhuk [Sat, 12 Jul 2014 21:28:58 +0000 (21:28 +0000)]
Add devel/cmake bits (rotted in my tree for more than a year) and a short
description of x11/kde4 variables. Everyone is welcome to extend&improve.

okay espie@

10 years agoKill the last dumb DVACT_DEACTIVATE handlers.
mpi [Sat, 12 Jul 2014 21:24:33 +0000 (21:24 +0000)]
Kill the last dumb DVACT_DEACTIVATE handlers.

10 years agoRefactor out dosigsuspend() function
matthew [Sat, 12 Jul 2014 21:21:19 +0000 (21:21 +0000)]
Refactor out dosigsuspend() function

Discussed with guenther and kettenis

10 years agoRemove this sentence:
miod [Sat, 12 Jul 2014 21:08:53 +0000 (21:08 +0000)]
Remove this sentence:
``The probability that a randomly generated key is weak is -1/2^52,
  so it is not really worth checking for them.''

This kind of naively optimistic attitude is not compatible with security.

10 years agoFix USB connect freeze by clearing the host port interrupt.
pirofti [Sat, 12 Jul 2014 21:07:33 +0000 (21:07 +0000)]
Fix USB connect freeze by clearing the host port interrupt.

Connects and disconnects have no affect on the machine, just like before
this driver came into existence.

While at it check for a few more interrupt types.

10 years agoResize the pcb hashtable automatically. The table size will be doubled
yasuoka [Sat, 12 Jul 2014 21:06:34 +0000 (21:06 +0000)]
Resize the pcb hashtable automatically.  The table size will be doubled
when the number of the hash entries reaches 75% of the table size.

ok dlg henning, 'commit in' claudio

10 years agoLog a warning whenever RTM_DESYNC is seen. Thus giving entrail
krw [Sat, 12 Jul 2014 21:04:07 +0000 (21:04 +0000)]
Log a warning whenever RTM_DESYNC is seen. Thus giving entrail
investigators some clue why dhclient may have gotten confused when
some RTM_ messages vanish.

sthen@ thinks this is a good start.

10 years agorevert a few stragglers hiding out
tedu [Sat, 12 Jul 2014 21:03:38 +0000 (21:03 +0000)]
revert a few stragglers hiding out

10 years agoUse a saner and consistent address layout for my network tests that
bluhm [Sat, 12 Jul 2014 21:00:46 +0000 (21:00 +0000)]
Use a saner and consistent address layout for my network tests that
run over 4 machines.  Add a check-setup target to verify that
interface addresses and routes are properly set up.

10 years agoteduuuuuudfu(4) it has never been enabled in 5 years.
mpi [Sat, 12 Jul 2014 20:58:44 +0000 (20:58 +0000)]
teduuuuuudfu(4) it has never been enabled in 5 years.

ok tedu@, deraadt@

10 years agorevert more free fallout
tedu [Sat, 12 Jul 2014 20:58:31 +0000 (20:58 +0000)]
revert more free fallout

10 years agomore MLINKS
miod [Sat, 12 Jul 2014 20:56:21 +0000 (20:56 +0000)]
more MLINKS

10 years agogetentropy on Windows. It compiles but has not been thoroughly tested yet.
wouter [Sat, 12 Jul 2014 20:54:49 +0000 (20:54 +0000)]
getentropy on Windows.  It compiles but has not been thoroughly tested yet.

OK: beck@

10 years agoRemove signed/unsigned warning, statement before declaration and
wouter [Sat, 12 Jul 2014 20:41:47 +0000 (20:41 +0000)]
Remove signed/unsigned warning, statement before declaration and
add a function to use function pointers that does not take sizeof(fptr).

OK beck@

10 years agozap trailing whitespace;
jmc [Sat, 12 Jul 2014 20:41:09 +0000 (20:41 +0000)]
zap trailing whitespace;

10 years agoOops. Correct variable name more likely to compile.
krw [Sat, 12 Jul 2014 20:38:27 +0000 (20:38 +0000)]
Oops. Correct variable name more likely to compile.

10 years agoWe have EVP_CIPH_FLAG_DEFAULT_ASN1 in evp.h; no need to keep constructs to
miod [Sat, 12 Jul 2014 20:37:07 +0000 (20:37 +0000)]
We have EVP_CIPH_FLAG_DEFAULT_ASN1 in evp.h; no need to keep constructs to
build on pre-EVP_CIPH_FLAG_DEFAULT_ASN1 codebases.

ok jsing@

10 years ago- replace main() with mips_init() so we can save the arguments from uboot to
jasper [Sat, 12 Jul 2014 20:36:52 +0000 (20:36 +0000)]
- replace main() with mips_init() so we can save the arguments from uboot to
  pass it to the kernel later on. also use it to get the clock frequency.
- implement getsecs() so the bootprompt timeout works

input/ok miod@ pirofti@

10 years agoCalculate i/o starts and sizes in 'proper' sectors rather assuming
krw [Sat, 12 Jul 2014 20:36:45 +0000 (20:36 +0000)]
Calculate i/o starts and sizes in 'proper' sectors rather assuming
512-byte sectors. Unlikely to affect CF's in the near future.

ok pirofti@

10 years agoadd guards to just make available to the bootblocks what they need.
jasper [Sat, 12 Jul 2014 20:31:52 +0000 (20:31 +0000)]
add guards to just make available to the bootblocks what they need.

prompted by miod@

10 years agotedu another bunch of DVACT_DEACTIVATE handlers that do nothing but set
mpi [Sat, 12 Jul 2014 20:26:33 +0000 (20:26 +0000)]
tedu another bunch of DVACT_DEACTIVATE handlers that do nothing but set
the 'dying' flag.

10 years agoreboot(9): Shutdown system by signaling init(8) from kernel where appropriate
uebayasi [Sat, 12 Jul 2014 20:18:08 +0000 (20:18 +0000)]
reboot(9): Shutdown system by signaling init(8) from kernel where appropriate

Some ports watch temperature in MD and try to shutdown system, when overheated,
by calling directly (re)boot(9).  Change this to signal init(8) from kernel,
as acpi(4) and acpitz(4) do, which has been more tested.  This also helps to
clarify design that ``clean shutdown must be always started by init(8)''.

Note that SIGUSR2 causes init(8) to call reboot(2) with RB_POWERDOWN, as
acpi(4) etc. already does.  It is reasonable, pointed out by kettenis@,
considering system is overheated and immediate reboot may be dangerous.

OK deraadt@ miod@

10 years agoClose connections when msgbuf_write() returns 0.
krw [Sat, 12 Jul 2014 20:16:38 +0000 (20:16 +0000)]
Close connections when msgbuf_write() returns 0.

ok claudio@

10 years agoProtect the freelists of transfer descriptors with the appropriate spl
mpi [Sat, 12 Jul 2014 20:13:48 +0000 (20:13 +0000)]
Protect the freelists of transfer descriptors with the appropriate spl
so that we do not end up allocating two times new descriptors.

This happens if a thread finds an empty list, start allocating, got
interrupted and the interrupt also finds an empty list.

Fix an issue reported by Nils Frohberg.

ok yuo@, pirofti@

10 years agoRemove private_{Camellia,RC4}_set_key FIPS indirection tentacles, as has been
miod [Sat, 12 Jul 2014 20:11:45 +0000 (20:11 +0000)]
Remove private_{Camellia,RC4}_set_key FIPS indirection tentacles, as has been
done for other symmetric algorithms recently.

10 years agoMark the interface down and cancel the watchdog timer in imxenet_stop().
brad [Sat, 12 Jul 2014 20:07:34 +0000 (20:07 +0000)]
Mark the interface down and cancel the watchdog timer in imxenet_stop().

ok matthieu@ rapha@

10 years agoFix a potential bug. privsep.c didn't check the interface name
yasuoka [Sat, 12 Jul 2014 20:07:07 +0000 (20:07 +0000)]
Fix a potential bug.  privsep.c didn't check the interface name
correctly if it's pppx.

10 years agooh well, remove -Q entirely... I'm probably the only one who ever used that.
espie [Sat, 12 Jul 2014 19:58:20 +0000 (19:58 +0000)]
oh well, remove -Q entirely... I'm probably the only one who ever used that.

10 years agoewps, that giant table has -inet6 twice, for SMALL and !SMALL
henning [Sat, 12 Jul 2014 19:58:17 +0000 (19:58 +0000)]
ewps, that giant table has -inet6 twice, for SMALL and !SMALL
no breakage involved, but wasn't correct in the SMALL case either

10 years agoWhitespace
pirofti [Sat, 12 Jul 2014 19:54:17 +0000 (19:54 +0000)]
Whitespace

10 years agosecurity check in quirks
espie [Sat, 12 Jul 2014 19:54:15 +0000 (19:54 +0000)]
security check in quirks

10 years agoundocument -Q
espie [Sat, 12 Jul 2014 19:53:43 +0000 (19:53 +0000)]
undocument -Q

10 years agofinish killing old experiment, less confusing code
espie [Sat, 12 Jul 2014 19:50:43 +0000 (19:50 +0000)]
finish killing old experiment, less confusing code

10 years agorename variable to better indicate it's meaning
jasper [Sat, 12 Jul 2014 19:47:38 +0000 (19:47 +0000)]
rename variable to better indicate it's meaning

10 years agoProvide ssl_version_string() function, which uses one of those modern C
jsing [Sat, 12 Jul 2014 19:45:53 +0000 (19:45 +0000)]
Provide ssl_version_string() function, which uses one of those modern C
constructs (a switch statement) and returns the appropriate string defined
by SSL_TXT_* for the given version, including support for DTLSv1 and
DTLSv1-bad. Use this function in SSL_get_version() and SSL_SESSION_print().

ok beck@

10 years ago@endfake died a while ago
espie [Sat, 12 Jul 2014 19:44:54 +0000 (19:44 +0000)]
@endfake died a while ago

10 years agoso, pkg_check can now troll thru the whole file system. Either use
espie [Sat, 12 Jul 2014 19:39:09 +0000 (19:39 +0000)]
so, pkg_check can now troll thru the whole file system. Either use
a full pkglocatedb, or the system locate dbs...

10 years agoFix error in previous.
yasuoka [Sat, 12 Jul 2014 19:34:31 +0000 (19:34 +0000)]
Fix error in previous.

10 years agoIn openssl_startup(), call SSL_library_init() and SSL_load_error_strings().
jsing [Sat, 12 Jul 2014 19:31:21 +0000 (19:31 +0000)]
In openssl_startup(), call SSL_library_init() and SSL_load_error_strings().
This allows us to remove the ERR_load_crypto_strings() call, along with
the various SSL_load_error_strings() and OpenSSL_add_ssl_algorithms()
calls scattered around the place.

ok beck@

10 years agoMake the BLOCK_CIPHER_{generic,custom} macros expand to more readable struct
miod [Sat, 12 Jul 2014 19:31:03 +0000 (19:31 +0000)]
Make the BLOCK_CIPHER_{generic,custom} macros expand to more readable struct
definitions using C99 field initializers. No functional change.

10 years agomsgbuf_write() <= 0 for a few more daemons.
krw [Sat, 12 Jul 2014 19:22:32 +0000 (19:22 +0000)]
msgbuf_write() <= 0 for a few more daemons.

ok claudio@

10 years agosync
deraadt [Sat, 12 Jul 2014 19:20:12 +0000 (19:20 +0000)]
sync

10 years agoguenther (who also should have been credited in previous free size commits)
tedu [Sat, 12 Jul 2014 19:14:59 +0000 (19:14 +0000)]
guenther (who also should have been credited in previous free size commits)
noticed that i missed committing one file.

10 years agoRemove the redundant csum_flag variable and just set the checksum flag
lteo [Sat, 12 Jul 2014 19:05:45 +0000 (19:05 +0000)]
Remove the redundant csum_flag variable and just set the checksum flag
in the pkthdr directly.

ok henning@

10 years agoProtocol checksums have been recalculated on reinjection for a while
lteo [Sat, 12 Jul 2014 19:04:29 +0000 (19:04 +0000)]
Protocol checksums have been recalculated on reinjection for a while
now, so there is no need to calculate them before sending them to
userspace.

ok henning@

10 years agorevert bogus free changes in not kernel files. got a little trigger happy.
tedu [Sat, 12 Jul 2014 19:01:49 +0000 (19:01 +0000)]
revert bogus free changes in not kernel files. got a little trigger happy.

10 years agoWrap "thread_private.h" with #ifdef __OpenBSD__ so that other systems
deraadt [Sat, 12 Jul 2014 18:57:41 +0000 (18:57 +0000)]
Wrap "thread_private.h" with #ifdef __OpenBSD__ so that other systems
can copy this file (plus chacha_private.h) directly and reuse it
trivially.  Well, as long as they have a getentropy() as well..
ok beck

10 years agoadd a size argument to free. will be used soon, but for now default to 0.
tedu [Sat, 12 Jul 2014 18:51:10 +0000 (18:51 +0000)]
add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.

10 years agoadd a size argument to free. will be used soon, but for now default to 0.
tedu [Sat, 12 Jul 2014 18:50:41 +0000 (18:50 +0000)]
add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.

10 years agoadd a size argument to free. will be used soon, but for now default to 0.
tedu [Sat, 12 Jul 2014 18:50:25 +0000 (18:50 +0000)]
add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.

10 years agoadd a size argument to free. will be used soon, but for now default to 0.
tedu [Sat, 12 Jul 2014 18:50:00 +0000 (18:50 +0000)]
add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.

10 years agoadd a size argument to free. will be used soon, but for now default to 0.
tedu [Sat, 12 Jul 2014 18:48:51 +0000 (18:48 +0000)]
add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.

10 years agoadd a size argument to free. will be used soon, but for now default to 0.
tedu [Sat, 12 Jul 2014 18:48:17 +0000 (18:48 +0000)]
add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.

10 years agoadd a size argument to free. will be used soon, but for now default to 0.
tedu [Sat, 12 Jul 2014 18:44:40 +0000 (18:44 +0000)]
add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.

10 years agoadd a size argument to free. will be used soon, but for now default to 0.
tedu [Sat, 12 Jul 2014 18:44:22 +0000 (18:44 +0000)]
add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.

10 years agoadd a size argument to free. will be used soon, but for now default to 0.
tedu [Sat, 12 Jul 2014 18:44:01 +0000 (18:44 +0000)]
add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.

10 years agoadd a size argument to free. will be used soon, but for now default to 0.
tedu [Sat, 12 Jul 2014 18:43:52 +0000 (18:43 +0000)]
add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.

10 years agoadd a size argument to free. will be used soon, but for now default to 0.
tedu [Sat, 12 Jul 2014 18:43:32 +0000 (18:43 +0000)]
add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.

10 years agoRemove extra parenthesis.
jsing [Sat, 12 Jul 2014 18:37:28 +0000 (18:37 +0000)]
Remove extra parenthesis.

10 years agoneed_cert is now always true, so remove the variable and associated
jsing [Sat, 12 Jul 2014 18:10:21 +0000 (18:10 +0000)]
need_cert is now always true, so remove the variable and associated
conditionals.

ok miod@

10 years agoMore KNF.
jsing [Sat, 12 Jul 2014 18:09:21 +0000 (18:09 +0000)]
More KNF.

10 years agoNo need for run-time configuration, add minimal compile-time
schwarze [Sat, 12 Jul 2014 18:05:50 +0000 (18:05 +0000)]
No need for run-time configuration, add minimal compile-time
configuration facilities, just two paths and two HTML strings.
Show the title on all pages, not just the index page.

10 years agoRemove #ifndefs for OPENSSL_NO_DH, OPENSSL_NO_ECDH and
jsing [Sat, 12 Jul 2014 18:00:20 +0000 (18:00 +0000)]
Remove #ifndefs for OPENSSL_NO_DH, OPENSSL_NO_ECDH and
OPENSSL_NO_X509_VERIFY. We're not going to build with these and the same
removal has already been done for libssl.

10 years agoNo INET6 in ramdisk, fix the tree.
mpi [Sat, 12 Jul 2014 17:57:26 +0000 (17:57 +0000)]
No INET6 in ramdisk, fix the tree.

10 years agoopenssl(1) is only built as a single monolithic binary, so just call
jsing [Sat, 12 Jul 2014 17:54:31 +0000 (17:54 +0000)]
openssl(1) is only built as a single monolithic binary, so just call
load_config() once when we start.

ok miod@

10 years agoFix root hub descriptors by matching ehci(4)'s descriptors.
pirofti [Sat, 12 Jul 2014 17:53:45 +0000 (17:53 +0000)]
Fix root hub descriptors by matching ehci(4)'s descriptors.

Reminded by mpi@, thanks!

On a side note usb sticks don't get fried anymore, they "just"
freeze the system.

10 years agoRemove the temporary dospartoff work around.
jsing [Sat, 12 Jul 2014 17:50:36 +0000 (17:50 +0000)]
Remove the temporary dospartoff work around.

From Markus Mueller.

ok krw@ miod@ tedu@

10 years agoTo enable Intel XHCI host controller, re-route all of usb port to xhci
yuo [Sat, 12 Jul 2014 17:38:51 +0000 (17:38 +0000)]
To enable Intel XHCI host controller, re-route all of usb port to xhci
instead of connected to ehci.

ok mpi@

10 years agoprovide a missing rfc number;
jmc [Sat, 12 Jul 2014 17:38:19 +0000 (17:38 +0000)]
provide a missing rfc number;
From: Josh Grosse

i've actually just whacked the titles to keep it brief
and avoid the mess of the punctuation added by these macros.

10 years agojsing and I are investigating removal of all? most? 'getenv from library'
deraadt [Sat, 12 Jul 2014 17:35:23 +0000 (17:35 +0000)]
jsing and I are investigating removal of all? most? 'getenv from library'
instances.  This one for OPENSSL_ALLOW_PROXY_CERTS gets turned off first,
especially since it had this special comment:
/* A hack to keep people who don't want to modify their software happy */
ok beck jsing

10 years agomore accept_rtadv removal;
jmc [Sat, 12 Jul 2014 17:26:20 +0000 (17:26 +0000)]
more accept_rtadv removal;

10 years agoSimplify: Delete 74 lines of code including one enum type, one
schwarze [Sat, 12 Jul 2014 17:18:13 +0000 (17:18 +0000)]
Simplify: Delete 74 lines of code including one enum type, one
global lookup table, two functions, two function arguments, one
struct member, one local variable, and the "search/" and "show/"
part of the URIs, all without losing functionality.

10 years agosync
deraadt [Sat, 12 Jul 2014 17:15:43 +0000 (17:15 +0000)]
sync

10 years agosome basic formatting tweaks;
jmc [Sat, 12 Jul 2014 17:10:51 +0000 (17:10 +0000)]
some basic formatting tweaks;

10 years agotweak previous;
jmc [Sat, 12 Jul 2014 17:06:06 +0000 (17:06 +0000)]
tweak previous;

10 years agoandone last (i hope) accept_rtadv sysctl remnant, also found by jmc
henning [Sat, 12 Jul 2014 17:03:47 +0000 (17:03 +0000)]
andone last (i hope) accept_rtadv sysctl remnant, also found by jmc

10 years agono more net.inet6.ip6.accept_rtadv
henning [Sat, 12 Jul 2014 17:00:43 +0000 (17:00 +0000)]
no more net.inet6.ip6.accept_rtadv
no idea how jmc finds these, but I'm very glad he does

10 years agojmc points out this babbled about the accept_rtadvd sysctl which is no more
henning [Sat, 12 Jul 2014 16:59:06 +0000 (16:59 +0000)]
jmc points out this babbled about the accept_rtadvd sysctl which is no more

10 years agoImplement Set Port Feature request support.
pirofti [Sat, 12 Jul 2014 16:43:31 +0000 (16:43 +0000)]
Implement Set Port Feature request support.

Port reset doesn't need the spl dance, as discussed with mpi@

10 years agoA few fixes/improvements:
miod [Sat, 12 Jul 2014 16:42:47 +0000 (16:42 +0000)]
A few fixes/improvements:
- first, BN_free == BN_clear_free in our libcrypto, so we do not need to
  treat CBIGNUM (crypto BN) separately from BIGNUM (regular BN).
- then, in bn_i2c(), since BN_bn2bin returns BN_num_bytes(input), take
  advantage of this to avoid calling BN_num_bytes() a second time.
  BN_num_bytes() is cheap, but this not a reason to perform redundant
  work.
- finally, in bn_c2i, if bn_new() fails, return early. Otherwise
  BN_bin2bn will try to create a BN too, and although this will probably
  fail since we were already out of memory, if we are on a threaded
  process and suddenly the allocation succeeds, we will leak it since it
  will never be stored in *pval.

ok jsing@

10 years agoHook auxcpp
matthieu [Sat, 12 Jul 2014 16:34:24 +0000 (16:34 +0000)]
Hook auxcpp

10 years agoMake sure the return value of X509_NAME_oneline(, NULL,) is checked against
miod [Sat, 12 Jul 2014 16:33:25 +0000 (16:33 +0000)]
Make sure the return value of X509_NAME_oneline(, NULL,) is checked against
NULL.
ok deraadt@ guenther@ jsing@

10 years agoEliminate strcpy() and sprintf() in auxcpp. ok deraadt@
matthieu [Sat, 12 Jul 2014 16:32:58 +0000 (16:32 +0000)]
Eliminate strcpy() and sprintf() in auxcpp. ok deraadt@

10 years agoLocal tweaks to ucpp:
matthieu [Sat, 12 Jul 2014 16:32:07 +0000 (16:32 +0000)]
Local tweaks to ucpp:
- exit on the 1st error it finds. Better than stopping processing input
- accept -P as a synonym for -l since this is what xrdb uses to
suppress #line markers.

10 years agoRename the manual page to auxcpp.1
matthieu [Sat, 12 Jul 2014 16:29:59 +0000 (16:29 +0000)]
Rename the manual page to auxcpp.1

10 years agoBSD Makefile for auxcpp
matthieu [Sat, 12 Jul 2014 16:27:49 +0000 (16:27 +0000)]
BSD Makefile for auxcpp

10 years agoExtend output a bit.
ajacoutot [Sat, 12 Jul 2014 16:26:35 +0000 (16:26 +0000)]
Extend output a bit.

10 years agoTackle the endian.h mess. Make it so that:
guenther [Sat, 12 Jul 2014 16:25:08 +0000 (16:25 +0000)]
Tackle the endian.h mess.  Make it so that:
 * you can #include <sys/endian.h> instead of <machine/endian.h>,
   and ditto <endian.h>  (fixes code that pulls in <sys/endian.h> first)

 * those will always export the symbols that POSIX specified for
   <endian.h>, including the new {be,le}{16,32,64}toh() set.  c.f.
http://austingroupbugs.net/view.php?id=162

   if __BSD_VISIBLE then you also get the symbols that our <machine/endian.h>
   currently exports (ntohs, NTOHS, dlg's bemtoh*, etc)

 * when doing POSIX compiles (not __BSD_VISIBLE), then <netinet/in.h> and
   <arpa/inet.h> will *stop* exporting the extra symbols like BYTE_ORDER
   and betoh*

ok deraadt@

10 years agoImport a copy of ucpp, lightweight cpp that doesn't depend
matthieu [Sat, 12 Jul 2014 16:23:43 +0000 (16:23 +0000)]
Import a copy of ucpp, lightweight cpp that doesn't depend
on the 'comp'  set. Moving from xenocara with a new name.
ok deraadt@.

10 years agoStart fixing issues that beck@ helped find:
schwarze [Sat, 12 Jul 2014 16:13:36 +0000 (16:13 +0000)]
Start fixing issues that beck@ helped find:

Distinguish between man(1) and apropos(1) mode by adding back the classical
QUERY_STRING variable "apropos=".  Change the default back to "apropos=0".
Control it by adding a HTML <SELECT> element for it.

Rename the "expr=" QUERY_STRING variable back to its classical name "query=",
i don't see how the new name is better than the classical one.

While here, drop the concept of a "legacy mode".  Simply continue to
support the features, and use what we consider best.

10 years ago/* this has no effect on IP, and will kill all ISO connections XXX */
henning [Sat, 12 Jul 2014 16:10:04 +0000 (16:10 +0000)]
/* this has no effect on IP, and will kill all ISO connections XXX */
farewell, then. has been #ifdef notyet for the last 19 years

10 years agoGrammar, from stsp@
mpi [Sat, 12 Jul 2014 16:07:06 +0000 (16:07 +0000)]
Grammar, from stsp@

10 years agoif (x) FOO_free(x) -> FOO_free(x).
miod [Sat, 12 Jul 2014 16:03:36 +0000 (16:03 +0000)]
if (x) FOO_free(x) -> FOO_free(x).
Improves readability, keeps the code smaller so that it is warmer in your
cache.

review & ok deraadt@

10 years agoAdd an initial regress test for libressl, which calls ressl from Go and
jsing [Sat, 12 Jul 2014 16:01:28 +0000 (16:01 +0000)]
Add an initial regress test for libressl, which calls ressl from Go and
makes it talk to a Go TLS server.

10 years agocksum -> sha256
ajacoutot [Sat, 12 Jul 2014 16:00:27 +0000 (16:00 +0000)]
cksum -> sha256
That means sysmerge(8) may be a little more interactive the next time you
run it.

10 years agoUse sha256(1) for compared files, just like we do for examples.
ajacoutot [Sat, 12 Jul 2014 15:58:14 +0000 (15:58 +0000)]
Use sha256(1) for compared files, just like we do for examples.

10 years agoAdd support for Get Port Status requests.
pirofti [Sat, 12 Jul 2014 15:53:44 +0000 (15:53 +0000)]
Add support for Get Port Status requests.