Commit Graph

135229 Commits

Author SHA1 Message Date
manu
e298dc4582 Import ipsec-tools ipsec-tools-0_6-20050314 2005-03-14 08:14:24 +00:00
christos
041bcdce98 Go back to rev-1.5. This is better than what was there before, but I am
still uncertain about the proper way to dealing what keys to accept.
2005-03-14 05:45:48 +00:00
christos
56cc440468 Revert previous. This is not the right fix. 2005-03-14 05:40:35 +00:00
christos
adb433f9e5 Do not let keys that are not listed in authorized_keys participate
in authentication. Problem reported by Maximum Entropy.
2005-03-14 05:35:23 +00:00
tnozaki
6e2609d649 anonymous union between chlen and _UTF7StatePrive has
compilation problem with gcc295.
this union attempt to make mbsinit(3) handle multibyte state correctly,
but it's useless as far as we use utf-7 only iconv interface.
so i eliminate ctype feature.

patch contributed by Joerg Sonnenberg(who porting Citrus to DragonFlyBSD).
and yamt-san gave me advice, thanks a lot.
2005-03-14 03:43:10 +00:00
perry
1968911436 Fix stupid typo. I added memmem, not memmove. 2005-03-14 03:13:53 +00:00
bsh
2145d5199e change a printf to aprint_normal. 2005-03-13 16:53:08 +00:00
perry
210055fd90 add regression tests for memmem(3) 2005-03-13 15:40:32 +00:00
perry
6439a725d3 move swab regression test to subdir 2005-03-13 15:33:45 +00:00
perry
4d7b53f8df add memmem man pages 2005-03-13 15:20:09 +00:00
perry
f4cc0f6ed6 bump for memmem(3) 2005-03-13 15:16:47 +00:00
perry
ff41832f1c add memmem 2005-03-13 15:15:13 +00:00
perry
93c3898449 Add prototype for memmem(3). It is API compatible with the version in Linux. 2005-03-13 15:09:50 +00:00
perry
f7be5521ff Add memmem(3), compatible with version in Linux 2005-03-13 14:47:02 +00:00
he
e3e9ad241e Get rid of a compiler warning saying "dereferencing type-punned pointer
will break strict-aliasing rules" by casting the argument to rn_inithead()
to (void*) instead of (void**).
2005-03-13 10:44:40 +00:00
wiz
5ccbef2012 NetBSD -> .Nx, some whitespace nits. 2005-03-13 09:37:06 +00:00
skrll
41889bdcaa Remove an item - uhidev(4) now exists.
OK'd by Lennart.
2005-03-13 08:21:50 +00:00
kim
077ff6605b One third of screen looks much better than half, for default maxhost. 2005-03-13 04:08:16 +00:00
christos
a646be989c Handle the regular case too, not only the error case. 2005-03-13 01:48:54 +00:00
riz
49bc7920f9 Add myself to the list of developers. 2005-03-13 01:43:52 +00:00
christos
f048688c46 PR/29683: M. B. Buchanan: mcd driver has printf formatting compile issue
and sets the wrong field to the number of ports.
2005-03-12 22:54:48 +00:00
christos
d232675d86 PR/29679: Gunnar.Ritter: fstat() blksize on the write side of the pipe returns
0. Fix it by returning the peer's block size.
XXX: This is the minimal fix. Probably the buffer size should be initialized
somewhere else, but probably this would need some more code changes.
2005-03-12 18:43:42 +00:00
christos
bb8740ddcf - Don't call pam functions after pam_end().
- Only call wait for our own pid.
- Improve error checking.
- Reorder some code to minimize diffs with FreeBSD.
2005-03-12 18:23:30 +00:00
dsl
4f6d146592 KNF 2005-03-12 16:39:41 +00:00
dsl
37840e8766 Fix time calculation when:
p->p_rtime.tv_usec + tv.tv_usec < spc->spc_runtime.tv_usec
2005-03-12 16:33:45 +00:00
dsl
94015fc9d6 Fix convertion of seconds to nanoseconds.
Add the usec to the secs before subtracting the usec offset - otherwise
I suspect the value can do horribly wrong!
Change all T_SVR4_GETHRESTIME to return sec + nanoseconds (I've not sure
this is correct, but I doubt the 32bit emulation in a 64bit kernel should
act differently to a 32bit kernel!)
Untested - I don't even have a sparc compile setup at the moment.
2005-03-12 16:29:59 +00:00
salo
5c8095bf97 Adjust to The Not-Quite-That-New World Order:
bsd.pkg.defaults.mk -> defaults/mk.conf
 Packages.txt -> doc/pkgsrc.txt
2005-03-12 16:17:33 +00:00
salo
60410131db bsd.pkg.defaults.mk was moved to defaults/mk.conf a while ago.
spotted by go@
2005-03-12 16:13:38 +00:00
dsl
604ef02ccf You need to multply seconds by 10^9 to get nanoseconds! (not 10^6).
Remove some possible aliasing issues.
I actually suspect this code is returned a word-swapped 64bit value though!
2005-03-12 16:02:02 +00:00
tron
0c7e4628ee Process GL manual pages with tbl(1). This fixes PR xsrc/29662 by
Tim Rightnour.
2005-03-12 16:01:50 +00:00
reed
be2370c0aa Sorted two entries that were out of order.
And used spaces (instead of tab) for one entry to be consistent with rest
of file.
2005-03-12 15:13:54 +00:00
reed
e991dffff3 Add that NetBSD 2.0 was released on December 09, 2004 2005-03-12 15:07:56 +00:00
dsl
1c1e4144e2 Use an archive library for libkern if we don't support LKMs.
Enough to get INSTALL_TINY small enough again.
Someone else can fix it next time...
2005-03-12 14:39:12 +00:00
lukem
337f8776b0 Also set SHLIBDIR to /lib if ${USE_SHLIBDIR} != "no".
This allows <bsd.lib.mk> to correctly set the RPATH of libraries that
use USE_SHLIBDIR=yes to /lib, so that dependent libraries can be found
from /lib when /usr/lib isn't mounted yet.
This was the intention of the _LIBLDOPTS support in <bsd.lib.mk>.

Fixes problem reported by Dan Carosone with when /sbin/cgdconfig is
dynamically linked against libcrypto.so but not libcrypt.so (it was
relying upon libcrypto.so to pull in libcrypt.so).
2005-03-12 13:21:12 +00:00
darcy
3b06c2c797 Add to XXX comment for future reference. 2005-03-12 10:35:29 +00:00
jdolecek
03258a805a separate tun(4) and joy(4) entries, those two are totally independant
PR: kern/29673 by FUKAUMI Naoki
2005-03-12 10:26:45 +00:00
yamt
5ef6b21b78 re(4) driver:
- TSO support.
- fix some error handling.
- remove mysterious RTK_NTXSEGS and use more appropriate values
  for bus_dmamap_create.
- if we need more than all of our tx descriptors in order to transmit a packet,
  just drop it rather than retrying infinitely.
2005-03-12 08:01:51 +00:00
yamt
9482bc7356 don't try to use TSO to transmit a single segment.
- there's no benefit.
- rtl8169 seems to be stuck with it.
2005-03-12 07:53:08 +00:00
christos
068081ef36 Fix another _DIAGASSERT issue (Joerg Sonnenberger) 2005-03-12 04:20:30 +00:00
kent
7b29b8d545 Fix a problem that the resultant stream contains many garbage data at
stereo->mono conversion.
PR#29664
2005-03-12 03:55:45 +00:00
kent
52c4317717 make this compile with AURATECONV_DEBUG 2005-03-12 03:42:03 +00:00
tron
9533cbbc67 Try last fix once more. 2005-03-12 00:52:51 +00:00
tron
d2a568b356 Fix a bad typo in populate_dir() which broke a lot of checks. 2005-03-12 00:50:23 +00:00
nathanw
fcb8b1675d Add a final newline. 2005-03-11 23:41:02 +00:00
christos
dd554c952a PR/29658: Joerg Sonnenberger: incorrect DST_UNIT_BITS and DST_INVALID in
character set maps:

A number of Code Pages specify a 8bit character mapping, but use
16bit runes, ma king them inaccessible for the actual conversion.
Similiary do some Code Pages specify an invalid rune e.g. of 0x00,
which is actually used in the mapping table and makes that rune
mapping invalid.
2005-03-11 23:38:02 +00:00
christos
61e7a23268 UTF8EncodingInfo is an empty struct; remove noop code and DIAGASSERT.
From Joerg Sonnenberger
2005-03-11 23:32:03 +00:00
rillig
b9387c8736 Never access argv[i+1] before you know that argv[i] != NULL. Approved
by wiz.
2005-03-11 22:52:04 +00:00
mycroft
487f02d9cd Three changes:
1) After setting an input or output channel to pause, watch for DCH (DMA
   halted) to be set before resetting the registers.  The manual says this is
   required.  This *may* fix random auich lockups.
2) Add auich_{trigger,intr,halt}_pipe(), which can operate on any of the
   input and output channels.  This reduces code duplication quite a bit.
   While I'm at it, fill in the mic interrupt handling.
3) The mic in interrupt is MINT, not MIINT.  (The latter is modem input.)
2005-03-11 22:29:16 +00:00
bouyer
3e8f0992c8 Integrate Xen to the i386 build process:
- Add xen devices to MAKEDEV
- Add Xen kernels to list of kernel to build
- Add INSTALL_XENU to the install kernels
- introduce the xbd disk devices to sysinst.

This will add 3 kernels to the i386 release:
XEN0 for use as a Xen domain0 kernel
XENU for use on a non-privileged domain
INSTALL_XENU to install NetBSD on a non-privileged domain virtual disk.
2005-03-11 20:55:10 +00:00
bouyer
d8ac66d8b5 Move Xen kernel config files to arch/i386, so that they can be added to
the i386 release process. Make them include archi/i386/conf/GENERIC.local,
like other i386 GENERIC and INSTALL files.
2005-03-11 20:48:24 +00:00