Commit Graph

118453 Commits

Author SHA1 Message Date
itojun fa4e8e1f23 -DHAVE_ARC4RANDOM for auth.c 2003-10-03 00:13:39 +00:00
itojun 8af6887573 correct arg to setpeer() from main(). 2003-10-02 23:31:52 +00:00
itojun 8cf5cbae01 correct arg handling in setpeer(). 2003-10-02 21:33:05 +00:00
abs 024a9509bc s/dails/dials/ in a comment 2003-10-02 21:32:56 +00:00
itojun 48b0bfaad0 support policy w/o selector. 2003-10-02 19:53:01 +00:00
itojun 3c068c5948 correct unsafe realloc(). 2003-10-02 19:52:43 +00:00
itojun 27ed6671c7 correct unsafe use of realloc(). 2003-10-02 19:38:59 +00:00
itojun d451ef2606 do not deref state.ro if it is NULL 2003-10-02 19:32:41 +00:00
augustss 99ebb5ba5a Add more printers that report bidir mode, but can't handle it. From Linux. 2003-10-02 19:10:37 +00:00
augustss 301ab7ace1 Regen. 2003-10-02 19:09:53 +00:00
augustss e45171e5c1 Add more printers (from Linux). 2003-10-02 19:09:28 +00:00
augustss 7838ca0944 Regen. 2003-10-02 18:34:35 +00:00
augustss 3d6bbf42ca Add HP Deskjet 6127. 2003-10-02 18:34:12 +00:00
christos 7e494b3ce8 Add a Quirk for my Appro, where it does not find all its busses in ACPI 2003-10-02 16:05:33 +00:00
hannken 2d5deed228 Make it compile (again) with DEBUG enabled. With SUN4 defined, segfixmask
was an u_long while whithout SUN4 it was an int.

Approved by: Paul Kranenburg <pk@netbsd.org>
2003-10-02 16:02:09 +00:00
kleink 95da8da847 Back out previous; this needs to be addressed in a different way. 2003-10-02 14:46:51 +00:00
simonb 106fc7cad0 White-space nit. 2003-10-02 13:53:49 +00:00
simonb b73d5ee5b9 Use common m68k struct trapframe instead of rolling our own. 2003-10-02 13:53:08 +00:00
simonb 8d464a511c Don't depend in libc, et al. 2003-10-02 13:52:07 +00:00
jmmv 88659c9335 +FPM 2003-10-02 13:33:29 +00:00
christos c7d852f62e define symbols also if _STANDALONE because arc4random needs mono_time. This
needs to be fixed differently.
2003-10-02 12:14:00 +00:00
itojun d83af104d4 correctly look at outer IPv6 header when forwarding packet into ipsec tunnel.
iij seil team
2003-10-02 12:13:44 +00:00
itojun cc76a8982b fix build for bootloaders (no /usr/include/sys/kernel.h any more). 2003-10-02 10:39:27 +00:00
itojun 364f2d9e12 permit tunnel mode over link-local address. (outer header is link-local)
iij seil team
2003-10-02 10:01:11 +00:00
kleink cad1622bfb Need opt_posix.h for P1003_1B_SEMAPHORE. 2003-10-02 09:30:16 +00:00
mycroft aeeaf47b01 Cleanup:
* auich_calibrate() assumes that the AC97 part is in its reset state.  To
  ensure this, call audio_attach_mi() after auich_calibrate().
* Explicitly support 12000Hz and 24000Hz.  (Why is there a discrete list at
  all?)
* Fix an obvious recording bug -- we were acking the wrong interrupt.
* Ensure that we don't get an interrupt during the AC97 speed probe by clearing
  the "interrupt on completion" bit in the DMA setup.
2003-10-02 07:41:53 +00:00
itojun 8184c3658f handle link-local address in ipsec6_tunnel_validate(). from iij seli team 2003-10-02 07:19:37 +00:00
mycroft fc3c7930e6 A bit of cleanup:
* Separate the code to set the default parameters into a new function,
  audio_set_defaults().  Make it use audiosetinfo(), which properly initializes
  the block size and whatnot.  Use this in both audioattach() and the
  /dev/audio case of audio_open().
* Do not force a reinitialization when /dev/sound is opened.
* Do all of the block size sanity checks in auto_init_ringbuffer(), not in
  both audio_calc_blksize() and audiosetinfo().
* Fix a bug in audiosetinfo() that caused the block size to not be recalculated
  immediately if we set it to 0.
* For AUDIO_GET[IO]OFFS, modify the deltablks calculation so that it gives us
  the number of block boundaries crossed.
2003-10-02 07:15:20 +00:00
itojun 2cc4a6b1a7 need to use m_freem(), not m_free(). from iij seil team 2003-10-02 07:13:57 +00:00
wiz b6c5244ce8 Bump date for previous. 2003-10-02 07:07:48 +00:00
wiz 6181ed442a Bump date for previous; grammar improvements. 2003-10-02 07:06:36 +00:00
itojun 2c96e1a283 use netmask of /32. as discusssed on tech-userlevel 2003-10-02 06:25:28 +00:00
itojun ea3d98658c plug mbuf leak due to manual mbuf handling. PR kern/13807.
(martti confirmed that it stabilizes the situation described in kren/13807)
2003-10-02 06:01:51 +00:00
itojun b3cd345741 more fixes from 0.9.7c, from openbsd 2003-10-02 02:26:17 +00:00
itojun ae91503b5d from openbsd:
Correct some off-by-ones.  They currently don't matter, but this
is for future safety and consistency.
OK krw@, markus@
2003-10-02 02:25:05 +00:00
itojun 269a200e21 minor KNF 2003-10-02 01:27:20 +00:00
itojun 30b8d01871 suggest setting netmask to 32 for security reasons; see tech-userlevel 2003-10-02 01:21:16 +00:00
itojun d3e55680aa correct typo. PR misc/22944 2003-10-02 00:09:06 +00:00
enami ae9b5cba84 Rewrite uvm_map_findspace() to improve readability and to fix a bug that
it may return space already in use as free space under some condition.
The symptom of the bug is that exec fails if stack is unlimited on
topdown VM kernel.
2003-10-02 00:02:10 +00:00
itojun 899b67c09a correct ip_fragment() wrt ip->ip_off handling.
do not send out incomplete fragment due to ENOBUFS (behavior change from 4.4BSD)
2003-10-01 23:54:40 +00:00
matt 3aafdaac96 Make the kernel makefiles pay attention to NOGCCERROR 2003-10-01 23:11:29 +00:00
enami 0ca733e759 Some whitespace fixes. 2003-10-01 23:08:32 +00:00
enami aa87bee0c5 ansi'fy. 2003-10-01 22:50:15 +00:00
uwe c313f02140 Whitespace nit. 2003-10-01 21:51:15 +00:00
itojun d104a1a89a make debug_sysctl() sysctl MIB check more strict. from smak.
attack similar to NetBSD-SA2003-014 can be mounted due to this flaw.
2003-10-01 21:45:14 +00:00
jmmv 457f6dbe79 Add several memory related terms. 2003-10-01 20:11:11 +00:00
fvdl 7baac02537 Reenable negotiation by default for discovery commands, until I figure out
what the issue is.
2003-10-01 18:01:06 +00:00
simonb 457cdc6624 Quieten down lint a little with a /* LONGLONG */ comment. 2003-10-01 15:47:27 +00:00
cl 1453f2ca48 make sa_vp_donate update p_nrlwps when it retires an LWP 2003-10-01 14:50:06 +00:00
kleink b4a47d2e02 Query _POSIX_SEMAPHORES before the functional tests are run. 2003-10-01 12:18:53 +00:00