Commit Graph

165227 Commits

Author SHA1 Message Date
degroote 55718e804e Fix the ipsec processing in case of USE rules with no SA installed.
In case where there is no more isr to process, just tag the packet and reinject
in the ip{,6} stack.

Fix pr/34843
2007-12-29 16:43:17 +00:00
jmcneill aed987feb1 Add -z to usage strings. 2007-12-29 16:28:40 +00:00
adrianp 5b238e83d5 Appeared in NetBSD 4 not 5 2007-12-29 16:21:16 +00:00
jmcneill a724fac145 Define init_main's main away to kernmain, and provide our own MD main entry
point. We do this since we don't have a proper bootloader, so we can
instead parse boot arguments here.

  $ ./netbsd -h
  -h: unknown flag
  usage: ./netbsd [-acdqsvx]
	 (ex. "./netbsd -s")
2007-12-29 16:13:46 +00:00
adrianp 142757459c Appeared in NetBSD 4 not 5 2007-12-29 16:12:29 +00:00
jmcneill dab73a34c7 Mention -x in command_help 2007-12-29 16:02:46 +00:00
jmcneill 372f1f5260 #ifdef _X86_foo_H -> _ARCH_USERMODE_INCLUDE_foo_H, to match the rest of
the sources.
2007-12-29 15:44:31 +00:00
degroote d23595095d Restore correctly the sp level in case of FAST_IPSEC + IPSEC_NAT_T 2007-12-29 15:13:55 +00:00
dholland f1165c2fa9 This file's rcsid apparently got mangled at some point.
Noted by Chavdar Ivanov.
2007-12-29 15:12:05 +00:00
degroote bd4ac64c48 Add some statistics for case where compression is not useful
(when len(compressed packet) > len(initial packet))
2007-12-29 14:56:35 +00:00
degroote 61e79ba32a Simplify the FAST_IPSEC output path
Only record an IPSEC_OUT_DONE tag when we have finished the processing
In ip{,6}_output, check this tag to know if we have already processed this
packet.
Remove some dead code (IPSEC_PENDING_TDB is not used in NetBSD)

Fix pr/36870
2007-12-29 14:53:24 +00:00
skrll 8591a31346 Apply my fix to bfd so that correct unwind entries are generated for the
kernel.

This has been applied to binutils -current with this ChangeLog entry.

2007-12-28  Nick Hudson  <nick.hudson@dsl.pipex.com>

        * elf32-hppa.c (hppa_record_segment_addr): Locate the segment
        containing the section using the segment map, rather than guessing
        based upon the section's vma and file position.
2007-12-29 14:49:06 +00:00
jmcneill e38d794d0c libkern bits for usermode port. 2007-12-29 14:39:33 +00:00
jmcneill 38365ca359 Import work-in-progress NetBSD/usermode port. 2007-12-29 14:38:30 +00:00
plunky a2576166f0 only read inquiry mode if the HCI version is appropriate 2007-12-29 14:35:39 +00:00
wiz ec17d82b0c Describe /var/log/cron. Based on PR 37640 by Randolf Richardson. 2007-12-29 13:21:57 +00:00
wiz d190819143 Recognize Marvell 88E1116 Gigabit PHY. 2007-12-29 13:09:36 +00:00
wiz cd80761b22 regen (+ Marvell 88E1116 Gigabit PHY) 2007-12-29 13:08:53 +00:00
wiz 7bfee0e94d Add Marvell 88E1116 Gigabit PHY. 2007-12-29 13:08:28 +00:00
plunky 2f47a8f906 remove unused def for btr_uclass 2007-12-29 11:30:27 +00:00
wiz 41fff49aa3 Document CALLOUT_MPSAFE. Bump date. 2007-12-29 09:41:10 +00:00
dyoung f5207c77ac Use LIST_FOREACH(). 2007-12-29 08:19:35 +00:00
agc 112bd8f1d4 Make the version number in the comment match the value given in
the definition.

As noted by Hisashi T Fujinaka (htodd) on current-users.
2007-12-29 08:16:46 +00:00
xtraeme a6d89167f6 Erm, update another comment that was outdated with latest changes. 2007-12-29 06:18:35 +00:00
xtraeme 05c541c9b4 Update a comment that I wanted to correct for long time now... 2007-12-29 06:15:47 +00:00
xtraeme a5381ad0a5 Xref itesio(4). 2007-12-29 06:10:29 +00:00
xtraeme 507639572d Update itesio(4) comments. 2007-12-29 06:09:04 +00:00
xtraeme a590e35720 itesio(4): added support for the Watchdog Timer. 2007-12-29 06:05:40 +00:00
xtraeme 7abc984e72 Added support for the Watchdog Timer built in the IT871[268] Super I/Os.
The WDT supports any value between 1 and 65535 seconds (or minutes, but
but the driver only uses seconds).
2007-12-29 06:05:06 +00:00
christos 8fb14189dc make this compile again. 2007-12-29 01:44:03 +00:00
elad bb06b7c1b1 4.99.46: addition and removal of 'ep_random' from 'struct exec_package'. 2007-12-29 01:35:30 +00:00
martin aa1b67be38 Make the copy of the syscall return value to register A0 independend of
options COMPAT_AOUT_M68K. Works around PR port-m68k/37631.
XXX we will phase out the copy to A0 completely and handle it in userland
XXX in the future.
2007-12-29 00:02:52 +00:00
ad 2b5d04688e Make it build with src/sys from the vmlocking2 branch. 2007-12-28 21:44:32 +00:00
christos 7af2df4395 add MKPIE 2007-12-28 21:35:45 +00:00
joerg 08acf5f65c Prepare for timecounter support on amiga. 2007-12-28 20:49:49 +00:00
joerg 153e6ec350 Be friendly to timecounter enabled architectures. 2007-12-28 20:18:45 +00:00
riz 42a4e6ef13 As discussed on tech-userlevel, add NetBSD GPT partition types for
swap, ffs, lfs, raidframe, ccd and cgd.  gpt(8) now defaults to
NetBSD ffs if no type is given, but previous FreeBSD types are
still recognized in the DKWEDGE_AUTODISCOVER code.
2007-12-28 19:53:09 +00:00
christos 716fde8fa0 simplify; mapbase == vaddrbase from the PaX author. 2007-12-28 19:36:21 +00:00
dholland 8e861287d3 Still more stuff: AST, PAE, RAS.
(I guess this is what happens when I catch up on old mail)
2007-12-28 19:27:06 +00:00
ad d6a5f3c8fa Pull up 1.71.8.1. 2007-12-28 18:22:16 +00:00
ad 22f711b877 Remove reference to VI_XWANT - it will be gone soon. 2007-12-28 18:08:39 +00:00
pooka 844fb47f15 The leprechaun is dead, update interfaces. 2007-12-28 18:05:22 +00:00
reinoud a661982b31 Use uvm_vnp_setwritesize() on file extending to instruct UVM to NOT read-in
the newly added space first. This significantly speeds up write speed for
msdosfs and making it at par with ffs wich already had this patched.

Speed increase measured on my IDE disc from 2Mb/sec to 32 Mb/sec
2007-12-28 17:46:48 +00:00
elad 0f25f24ed8 Provide 8 more bits of stack randomization, from the PaX author.
While here, don't make too much use of one random value, and call
arc4random() directly. Allows for the removal of 'ep_random' from the
exec_package.

Prompted by and okay christos@.
2007-12-28 17:14:50 +00:00
dholland ca5bc82dc2 Add some more stuff:
ADB, AFS, BAR, HA, OS, RPC, TCB, LOC, KLOC, LSI, VLSI, VA, PA
ICE as in-circuit emulator
KVM as kernel virtual memory
2007-12-28 15:19:14 +00:00
dholland 1061c9e847 add ASLR, PIC, PIE 2007-12-28 14:50:40 +00:00
wiz ef266ed897 Wordo fix, noted by jmc@openbsd. 2007-12-28 14:32:50 +00:00
joerg 02d07b4e9d Remove delaytab and just compute the reminder directly. This requires
two muls and a shift, which needs at most 2ms on a 25MHz i386 and should
end up as fast as delay(1) was before due to using a reminder of 2.
Discussed with ad@.
2007-12-28 14:05:22 +00:00
yamt ac257c9a5b sprinkle more kmem_poison_check. 2007-12-28 13:49:25 +00:00
ad afb5e69ead Pull up 1.87.2.8. 2007-12-28 13:11:16 +00:00