openbsd
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.

10 years agomore MLINKs
miod [Sat, 12 Jul 2014 15:53:34 +0000 (15:53 +0000)]
more MLINKs

10 years agofix relay "append header" action, add regression test for append
benno [Sat, 12 Jul 2014 15:47:18 +0000 (15:47 +0000)]
fix relay "append header" action, add regression test for append
ok reyk

10 years agoguard inclusion of sys/sysctl.h so we can detect at compile time and
beck [Sat, 12 Jul 2014 15:43:49 +0000 (15:43 +0000)]
guard inclusion of sys/sysctl.h so we can detect at compile time and
keep linux distros happy that don't have it.
ok bcook@

10 years agoCreate the examples checksum for sysmerge at release time.
ajacoutot [Sat, 12 Jul 2014 15:38:42 +0000 (15:38 +0000)]
Create the examples checksum for sysmerge at release time.

"move ahead" deraadt@

10 years agoreplace the heavy shell magic in quirks to handle backward compat with simpler
robert [Sat, 12 Jul 2014 15:32:43 +0000 (15:32 +0000)]
replace the heavy shell magic in quirks to handle backward compat with simpler
methods

10 years agoInitial support for /etc/examples.
ajacoutot [Sat, 12 Jul 2014 15:31:54 +0000 (15:31 +0000)]
Initial support for /etc/examples.

10 years agoAdd support for Get Hub Descriptor requests.
pirofti [Sat, 12 Jul 2014 15:30:43 +0000 (15:30 +0000)]
Add support for Get Hub Descriptor requests.

10 years agoxbase has its own cpp now so it doesn't depend on comp anymore.
rpe [Sat, 12 Jul 2014 15:27:15 +0000 (15:27 +0000)]
xbase has its own cpp now so it doesn't depend on comp anymore.
Remove the code introduced in r1.723 to tie them together.

OK deraadt@

10 years agoRework zyd(4)'s register read/write methods to eliminate race conditions.
stsp [Sat, 12 Jul 2014 15:26:54 +0000 (15:26 +0000)]
Rework zyd(4)'s register read/write methods to eliminate race conditions.

Read commands were issued via asynchronous transfers and replies were
expected after a fixed tsleep() timeout. Upon timeout zyd simply freed
the xfer even if it was still in-flight within the USB stack. This could
cause havoc such as making all USB ports on the system unusable until reboot.
  ehci_freex: xfer=0xfffffe811e63e9d8 not busy, 0x4f4e5155
  ("busy" here would indicate the xfer is done and marked for being freed)

To fix this, issue read commands with synchronous transfers so the xfer
can always complete. Split read/write code paths into separate methods.
Add a flag that tells us if a reply was received in interrupt context
while the read path waited in tsleep().

With and ok mpi@

10 years agoPrinciple of least surprise: make CMAC_CTX_free(), OCSP_REQ_CTX_free() and
miod [Sat, 12 Jul 2014 14:58:32 +0000 (14:58 +0000)]
Principle of least surprise: make CMAC_CTX_free(), OCSP_REQ_CTX_free() and
X509_STORE_CTX_free() accept NULL pointers as input without dereferencing them,
like all the other well-behaved *_CTX_free() functions do.

10 years agoFix the sentence in the BUGS section. Colon is usable for password.
yasuoka [Sat, 12 Jul 2014 14:55:22 +0000 (14:55 +0000)]
Fix the sentence in the BUGS section.  Colon is usable for password.
Also add a mention about the escape sequence for the password.

pointed out giovanni

10 years agoShuffle more stuffs around, remove most commented blocks, just sort by
ajacoutot [Sat, 12 Jul 2014 14:51:07 +0000 (14:51 +0000)]
Shuffle more stuffs around, remove most commented blocks, just sort by
number and make the file easier on the eyes.

discussed with deraadt@

10 years agoremove gratuitous differences, ok beck
deraadt [Sat, 12 Jul 2014 14:48:00 +0000 (14:48 +0000)]
remove gratuitous differences, ok beck

10 years agoremove gratuitous differences, ok beck bcook
deraadt [Sat, 12 Jul 2014 14:46:31 +0000 (14:46 +0000)]
remove gratuitous differences, ok beck bcook

10 years agoCorrect the sentence in the BUGS section. Colon chars are usable as a
yasuoka [Sat, 12 Jul 2014 14:43:32 +0000 (14:43 +0000)]
Correct the sentence in the BUGS section.  Colon chars are usable as a
string value and usage of it in type is documented in the other section.

ok jmc

10 years agoFix netstart after autoconf6 change so 'rtsol' lines in hostname.if work again.
stsp [Sat, 12 Jul 2014 14:39:31 +0000 (14:39 +0000)]
Fix netstart after autoconf6 change so 'rtsol' lines in hostname.if work again.
found by pelikan@; ok pelikan@ henning@

10 years agoSync with IANA.
ajacoutot [Sat, 12 Jul 2014 14:38:38 +0000 (14:38 +0000)]
Sync with IANA.

"fine" claudio@ deraadt@

10 years agoI don't need to treat the (half-)empty Tx and Rx FIFO cases.
pirofti [Sat, 12 Jul 2014 14:37:17 +0000 (14:37 +0000)]
I don't need to treat the (half-)empty Tx and Rx FIFO cases.

Only the DMA-challenged host controllers need to, so don't panic!

While at it add some more debug messages when the interrupt returns 0.

10 years agoMove HTTP error codes into http.h.
reyk [Sat, 12 Jul 2014 14:34:13 +0000 (14:34 +0000)]
Move HTTP error codes into http.h.

ok benno@

10 years agoAdd support for the CLEAR FEATURE requests.
pirofti [Sat, 12 Jul 2014 14:31:20 +0000 (14:31 +0000)]
Add support for the CLEAR FEATURE requests.

10 years agoAlways create a local route for every configured IPv4 address on the
mpi [Sat, 12 Jul 2014 14:26:00 +0000 (14:26 +0000)]
Always create a local route for every configured IPv4 address on the
machine and restore the original behavior of RTM_ADD and RTM_DELETE
by always generating one message per locally configured address.

This time, make sure the local route is removed during an address change,
since at least pppoe(4) do some funky magics with wildcard addresses that
might corrupt the routing tree, as found by naddy@

Also do not add a local route if the specified address is 0.0.0.0, to
prevent a tree corruption, as found by guenther@.

Putting this in now so that it gets tested, claudio@ agrees.  Please
contact me if you find any route-related regression caused by this
change.

10 years agoremove ifdef'd out valleyview/baytrail device lists
jsg [Sat, 12 Jul 2014 14:18:06 +0000 (14:18 +0000)]
remove ifdef'd out valleyview/baytrail device lists

on linux versions before 3.11 i915_pci_probe() doesn't match valleyview
unless i915_preliminary_hw_support is specified as a module parameter.

our drm code is currently based on linux 3.8, so it seems unlikely
that the valleyview support we have works.

10 years agofix annoying bug where the first character would be eaten, cnischar() was
jasper [Sat, 12 Jul 2014 14:15:06 +0000 (14:15 +0000)]
fix annoying bug where the first character would be eaten, cnischar() was
wreaking havoc.

from miod@

10 years agoSync msgbuf_write() changes from relayd.
reyk [Sat, 12 Jul 2014 14:15:04 +0000 (14:15 +0000)]
Sync msgbuf_write() changes from relayd.

Please note that proc.c should be kept identical in relayd, iked and
snmpd (currently without the includes).

ok benno@

10 years ago- fill in cninit to enable rts
jasper [Sat, 12 Jul 2014 14:12:53 +0000 (14:12 +0000)]
- fill in cninit to enable rts

10 years agoboot(9), reboot(9): Migrate MD callers of boot(9) to reboot(9)
uebayasi [Sat, 12 Jul 2014 14:12:44 +0000 (14:12 +0000)]
boot(9), reboot(9): Migrate MD callers of boot(9) to reboot(9)

I have found that some ports call boot(9) from machine-dependent code to
reboot system.  These should be changed to either:

- Sending signal to init(8) to trigger it to shutdown system cleanly, like
  acpi(4) does, in cases where found problems don't prevent system from working
  immediately, or

- Just doing panic(9) if the situation is severely broken.

For now, just rewrite boot() to reboot().  Actual fixes follow.

Discussed with & OK from kettenis@

10 years agoUse imsg(3) for the IPC between the privileged process and the
yasuoka [Sat, 12 Jul 2014 14:04:18 +0000 (14:04 +0000)]
Use imsg(3) for the IPC between the privileged process and the
non-privileged process to be unify the way.  Also fix style.

10 years agoFix whatis(1) to correctly match words instead of any substrings.
schwarze [Sat, 12 Jul 2014 13:59:54 +0000 (13:59 +0000)]
Fix whatis(1) to correctly match words instead of any substrings.
While here, also provide an internal mode (MANSEARCH_MAN) to match
complete names, to be used by man.cgi(8).

10 years agoChange config_deactivate(9) to always unset the DVF_ACTIVE flag so
mpi [Sat, 12 Jul 2014 13:43:08 +0000 (13:43 +0000)]
Change config_deactivate(9) to always unset the DVF_ACTIVE flag so
that drivers can check for this flag to know they have to stop doing
any hardware access and release their reference.

While here makes the ca_activate() function optional and propagates
DVACT_DEACTIVATE to the children of a device that do not implement this
interface like it is done during suspend/resume.

ok uebayasi@, deraadt@

10 years agoSplit arc4random_uniform into it's own file, to assist other projects
deraadt [Sat, 12 Jul 2014 13:24:54 +0000 (13:24 +0000)]
Split arc4random_uniform into it's own file, to assist other projects
now using this as upstream code.  The particular problem is systems
that contain older arc4random derivations lacking arc4random_uniform().
ok tedu miod

10 years agofix a type error on BE architectures
pelikan [Sat, 12 Jul 2014 13:23:59 +0000 (13:23 +0000)]
fix a type error on BE architectures

10 years agoSolaris uses a symbolic link for /dev/urandom which harms best practice of
beck [Sat, 12 Jul 2014 13:19:44 +0000 (13:19 +0000)]
Solaris uses a symbolic link for /dev/urandom which harms best practice of
using O_NOFOLLOW - cope with it as best as possible by trying two
different paths. - written by deraadt@ and kettenis@

10 years agoRemove remnants from PSK, KRB5 and SRP.
jsing [Sat, 12 Jul 2014 13:11:53 +0000 (13:11 +0000)]
Remove remnants from PSK, KRB5 and SRP.

ok beck@ miod@

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

10 years ago- rewrite register reading/writing to use octeon_xkphys_{read,write}_8 which
jasper [Sat, 12 Jul 2014 12:16:36 +0000 (12:16 +0000)]
- rewrite register reading/writing to use octeon_xkphys_{read,write}_8 which
  is the right approach
- write into _THR instead of _RBR for cnputc() as per miod's suggestion

this doesn't fix the first character that gets eaten, but it's the right way
to move forward.

with pirofti@

10 years agoRemove the qli driver for QLogic 4010 & 4022 iSCSI.
jsg [Sat, 12 Jul 2014 11:33:13 +0000 (11:33 +0000)]
Remove the qli driver for QLogic 4010 & 4022 iSCSI.
It was never enabled and is apparently unfinished.

ok deraadt@ krw@ claudio@ kettenis@

10 years agosizeof(afh), afh being uint32, is cooler than literal "4"
henning [Sat, 12 Jul 2014 11:27:45 +0000 (11:27 +0000)]
sizeof(afh), afh being uint32, is cooler than literal "4"
spotted by Kent R. Spillner <kspillner acm org>

10 years agotypos
miod [Sat, 12 Jul 2014 11:25:25 +0000 (11:25 +0000)]
typos

10 years agoin-memory superblock was being filled in two places -> merge them
pelikan [Sat, 12 Jul 2014 11:03:11 +0000 (11:03 +0000)]
in-memory superblock was being filled in two places -> merge them

ok tedu

10 years agopull dirblock search code from ext2fs_lookup() like FreeBSD has done
pelikan [Sat, 12 Jul 2014 10:55:33 +0000 (10:55 +0000)]
pull dirblock search code from ext2fs_lookup() like FreeBSD has done

ok tedu

10 years agoremove bluetooth types
tedu [Sat, 12 Jul 2014 10:51:35 +0000 (10:51 +0000)]
remove bluetooth types

10 years agoremove bluetooth malloc types
tedu [Sat, 12 Jul 2014 10:47:21 +0000 (10:47 +0000)]
remove bluetooth malloc types

10 years agoMake rc.conf a parsed configuration file and stop sourcing it as a shell
robert [Sat, 12 Jul 2014 10:14:03 +0000 (10:14 +0000)]
Make rc.conf a parsed configuration file and stop sourcing it as a shell
script.
From now on rc.conf has a fixed syntax (key=val) and it is not allowed
to add anything to it besides the supported syntax, it all going to be
ignored.

discussed with and help from deraadt@ and halex@

10 years agoregen
jsg [Sat, 12 Jul 2014 10:10:14 +0000 (10:10 +0000)]
regen

10 years agoadd some more matrox devices found in servers
jsg [Sat, 12 Jul 2014 10:08:53 +0000 (10:08 +0000)]
add some more matrox devices found in servers

10 years agoPlace comments in a block above the if statement, rather than attempting
jsing [Sat, 12 Jul 2014 10:06:04 +0000 (10:06 +0000)]
Place comments in a block above the if statement, rather than attempting
to interleave them within the conditions. Also fix wrapping and
indentation.

10 years agoPull in more atomic functions to avoid <sys/atomic.h> trying to use gcc4
miod [Sat, 12 Jul 2014 09:47:05 +0000 (09:47 +0000)]
Pull in more atomic functions to avoid <sys/atomic.h> trying to use gcc4
built-ins which aren't available on vax. (A similar diff for m88k is in the
pipeline as well)

10 years agoa bit more detail
espie [Sat, 12 Jul 2014 09:38:39 +0000 (09:38 +0000)]
a bit more detail

10 years agoregen
yuo [Sat, 12 Jul 2014 09:33:48 +0000 (09:33 +0000)]
regen

10 years agofix location of 7 Series xHCI entry
yuo [Sat, 12 Jul 2014 09:32:47 +0000 (09:32 +0000)]
fix location of 7 Series xHCI entry
no side effect

10 years agoprint more useful information on wrong superblocks.
pelikan [Sat, 12 Jul 2014 09:30:02 +0000 (09:30 +0000)]
print more useful information on wrong superblocks.

Function renames for consistency and readability.  No functional change.

10 years agodocument the GitHub support in bsd.port.mk
robert [Sat, 12 Jul 2014 09:26:27 +0000 (09:26 +0000)]
document the GitHub support in bsd.port.mk

10 years agorevert previous unwanted commit. sorry!
pelikan [Sat, 12 Jul 2014 09:04:35 +0000 (09:04 +0000)]
revert previous unwanted commit.  sorry!

10 years agoBring back resolv.conf write reduction. Race was something else.
krw [Sat, 12 Jul 2014 09:04:21 +0000 (09:04 +0000)]
Bring back resolv.conf write reduction. Race was something else.

10 years agoAdd a function to drop all clean pages on the page daemon queues and call
kettenis [Sat, 12 Jul 2014 09:02:24 +0000 (09:02 +0000)]
Add a function to drop all clean pages on the page daemon queues and call
it when we hibernate.

ok mlarkin@, miod@, deraadt@

10 years ago*** empty log message ***
pelikan [Sat, 12 Jul 2014 08:53:38 +0000 (08:53 +0000)]
*** empty log message ***

10 years agoImprove the definition of USBD_FORCE_SHORT_XFER, prompted by a question
mpi [Sat, 12 Jul 2014 08:48:19 +0000 (08:48 +0000)]
Improve the definition of USBD_FORCE_SHORT_XFER, prompted by a question
from stsp@.

10 years agomlarkin found disabled code to print a battleship. improve it and enable.
tedu [Sat, 12 Jul 2014 08:29:56 +0000 (08:29 +0000)]
mlarkin found disabled code to print a battleship. improve it and enable.
ok mlarkin

10 years agoUse the correct poll interval for HS root hub before it gets copied, no
mpi [Sat, 12 Jul 2014 08:21:10 +0000 (08:21 +0000)]
Use the correct poll interval for HS root hub before it gets copied, no
real impact since this descriptor is not used in the kernel. From NetBSD.

10 years agoMove things around (no change):
ajacoutot [Sat, 12 Jul 2014 08:01:47 +0000 (08:01 +0000)]
Move things around (no change):
- some unofficial services became official
- move kerberos next to afs

10 years agoKill a bunch of DVACT_DEACTIVATE handlers whose only purpose were to
mpi [Sat, 12 Jul 2014 07:59:23 +0000 (07:59 +0000)]
Kill a bunch of DVACT_DEACTIVATE handlers whose only purpose were to
set the 'dying' flag of a device.  Such handlers are useless now that
usbd_detach() already set this flag.

Even if the purpose of this flag is questionnable on OpenBSD because
DVACT_DEACTIVATE acts as a pre-detach event, this is just a first small
step towards the simplification of the autoconf(9) device states.

This cleaning is now possible thanks to the work of pirofti@ to convert
all the USB drivers to properly use usbd_is_dying().

Discussed many times with deraadt@

10 years agoMake disabling last cipher work.
guenther [Sat, 12 Jul 2014 07:52:36 +0000 (07:52 +0000)]
Make disabling last cipher work.
From Thijs Alkemade via OpenSSL trunk
ok miod@

10 years agoessentially mechanical conversion of softraid rebuild from
blambert [Sat, 12 Jul 2014 07:39:11 +0000 (07:39 +0000)]
essentially mechanical conversion of softraid rebuild from
workq to taskq

ok jsing@

10 years agomove macppc abtn(4) driver from workq to taskq
blambert [Sat, 12 Jul 2014 07:20:00 +0000 (07:20 +0000)]
move macppc abtn(4) driver from workq to taskq

thanks to Fred Crowson (fred () crowsons ! net) who was able
to make sure his cd would still eject when the button was pushed,
and stsp@ who lent me his macppc laptop

10 years agoRemove incorrect comment about how autoconf(9) works and document
mpi [Sat, 12 Jul 2014 07:18:16 +0000 (07:18 +0000)]
Remove incorrect comment about how autoconf(9) works and document
that usbd_detach() should only be called by the thread doing USB
bus exploration to prevent attach/detach races.

10 years agoOnly detach the USB device you disconnected, fix a regression reported
mpi [Sat, 12 Jul 2014 07:11:17 +0000 (07:11 +0000)]
Only detach the USB device you disconnected, fix a regression reported
by guenther@.

While here set the dying flag of the disconnected device so that most of
the DVACT_ACTIVATE handlers can go.

10 years agosync
deraadt [Sat, 12 Jul 2014 03:54:25 +0000 (03:54 +0000)]
sync

10 years agomove exports, ftpchroot, hosts.lpd, printcap, and remote to the examples
deraadt [Sat, 12 Jul 2014 03:52:39 +0000 (03:52 +0000)]
move exports, ftpchroot, hosts.lpd, printcap, and remote to the examples
directory.
ok robert

10 years agoThe statdb code has never been complete here
guenther [Sat, 12 Jul 2014 03:48:04 +0000 (03:48 +0000)]
The statdb code has never been complete here

10 years agoKill never enabled #ifdefs
guenther [Sat, 12 Jul 2014 03:46:42 +0000 (03:46 +0000)]
Kill never enabled #ifdefs

10 years agoRemove a pile of (obviously unused) #ifdef SYSV and BSD41 and BSD42
deraadt [Sat, 12 Jul 2014 03:41:04 +0000 (03:41 +0000)]
Remove a pile of (obviously unused) #ifdef SYSV and BSD41 and BSD42
code that catches lots of signals, and then re-enters curses... before
exiting.

10 years agoconfig-def.h is now unnecessary; merge config-data.h into defs.h
guenther [Sat, 12 Jul 2014 03:40:16 +0000 (03:40 +0000)]
config-def.h is now unnecessary; merge config-data.h into defs.h

10 years agoKill os-openbsd.h: we have <paths.h>, _PATH_RSH, and utimes()
guenther [Sat, 12 Jul 2014 03:32:00 +0000 (03:32 +0000)]
Kill os-openbsd.h: we have <paths.h>, _PATH_RSH, and utimes()

10 years ago-DOPENSSL_NO_KRB5 is no longer needed
deraadt [Sat, 12 Jul 2014 03:27:23 +0000 (03:27 +0000)]
-DOPENSSL_NO_KRB5 is no longer needed
ok guenther

10 years agoImplement checksum offload for divert(4): simply set the checksum flag
lteo [Sat, 12 Jul 2014 03:27:00 +0000 (03:27 +0000)]
Implement checksum offload for divert(4): simply set the checksum flag
and let the stack take care of the checksums for reinjected outbound
packets.

Reinjected inbound packets will continue to have their checksums
calculated manually but we can now take advantage of in_proto_cksum_out
and in6_proto_cksum_out to streamline the way their checksums are done.

help from florian@ and henning@, feedback from naddy@
ok florian@ henning@

10 years agoSETARGS and NEED_HASMNTOPT paths are dead; rshrcmd() and libz stuff are
guenther [Sat, 12 Jul 2014 03:25:03 +0000 (03:25 +0000)]
SETARGS and NEED_HASMNTOPT paths are dead; rshrcmd() and libz stuff are
no longer (were never?) used

10 years agoDeleted unused local prototypes for systems stuff
guenther [Sat, 12 Jul 2014 03:19:43 +0000 (03:19 +0000)]
Deleted unused local prototypes for systems stuff

10 years agoNo really, assume POSIX: errno is declared for us and sys/stat.h has
guenther [Sat, 12 Jul 2014 03:13:12 +0000 (03:13 +0000)]
No really, assume POSIX: errno is declared for us and sys/stat.h has
S_IX{USR,GRP,OTH}

10 years agoRename 'link' parameter to eliminate shadow warnings
guenther [Sat, 12 Jul 2014 03:10:03 +0000 (03:10 +0000)]
Rename 'link' parameter to eliminate shadow warnings

10 years agoDelete unused global
guenther [Sat, 12 Jul 2014 03:09:29 +0000 (03:09 +0000)]
Delete unused global

10 years agoEliminate some annoying variable shadowing
guenther [Sat, 12 Jul 2014 03:07:22 +0000 (03:07 +0000)]
Eliminate some annoying variable shadowing

10 years agoYes, we have setproctitle(). Delete that and several unused HAVE_* #defines
guenther [Sat, 12 Jul 2014 03:02:27 +0000 (03:02 +0000)]
Yes, we have setproctitle().  Delete that and several unused HAVE_* #defines