Commit Graph

118270 Commits

Author SHA1 Message Date
jdolecek b2122d6d98 add Piengineering Xkeys 58 entry, from kern/20838 2003-09-28 06:55:57 +00:00
mycroft ca96c7c4ec Remove some code that breaks AH tunnels completely. The comment describing
the purpose of this code appears to be on crack -- it's talking about
end-to-end authentication, but the purpose of an AH tunnel is NOT end-to-end
authentication; it's authentication of the tunnel endpoints.

NB: This does not fix the fact that IPsec leaks "packet tags."
2003-09-28 04:45:14 +00:00
dyoung 6cac03ae0e Adapt ieee80211_ioctl.[ch] to suit NetBSD. NetBSD and FreeBSD have
the least in common here, so I have not concerned myself with
compatibility.
2003-09-28 02:40:14 +00:00
dyoung c059ea0028 More NetBSD-FreeBSD compatibility changes in the pattern
#ifdef __FreeBSD__
	/* FreeBSDism */
#else
	/* NetBSDism */
#endif

An important and non-obvious change is in ieee80211_mgmt_output,

#ifdef __FreeBSD__
        KASSERT(m->m_pkthdr.rcvif == NULL, ("rcvif not null"));
#endif

Because NetBSD mbufs are not bzero'd like FreeBSD's, we cannot
count on rcvif == NULL.
2003-09-28 02:35:20 +00:00
mrg 52b4a4af1d from Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>:
- if_bcereg.h should only have register definitions, so declarations
  of softc structure etc. should be in if_bce.c.
- The types of DMA descriptors should be u_int32_t, not unsigned long.
- netinet headers are not required here.
- Values passed via bce_tx_ring should also be byte-swapped.
- byte-swapping is not needed for bus_space access.

from me:
- KNF
- mark all magic numbers with /* MAGIC */ so they can be identified at
  some point.  there are 33 in total though many appear to be the same
  value, or related (eg, the 6 emac points.)

leaves these issues:
- RX pre-packet headers need to be byte-swapped or not?
- PAGE_SIZE bytes are allocated for both TX and RX DMA ring descriptors,
  but they should be 1024 (== sizeof(struct bce_dma_slot) * N[TR]XDESC).
- the mcast filter.
2003-09-28 01:03:07 +00:00
cl ea7f5f55b4 fix fmovem argument reference 2003-09-28 00:15:13 +00:00
cl af0728fff5 catch up with const sigset_t 2003-09-28 00:07:50 +00:00
cl 944c9c43ab catch up with const sigset_t and const ksiginfo_t 2003-09-28 00:04:52 +00:00
mycroft ad3b20a692 A nit I ran into while copying this code for something else... 2003-09-27 23:10:47 +00:00
matt 117653c214 Since this a signal trampoline #2, make that's in the file name. 2003-09-27 21:43:29 +00:00
is d774eeb6ea Bring some stuff up-to-date. To be continued. 2003-09-27 21:32:12 +00:00
sjg d388dcd1a3 Implement :[] modifier to allow picking a range of words out of a variable.
Also :tW and a W flag to :C and :S to allow treating value as a single word.
Add unit tests for the above, and fix some corner cases.
Based on patches supplied by Alan Barrett <apb@cequrux.com>
2003-09-27 21:29:37 +00:00
simonb 47d4b67a20 Use uintN_t in code example instead of u_intN_t. Agrees with current
standards (and more importantly Klaus too :-).
2003-09-27 21:17:31 +00:00
he 772b1d9073 Allow kernels without the haltwo driver configured to build, i.e.
make the driver optional by adding the haltwo attribute.
2003-09-27 21:11:21 +00:00
is 23074d4396 pregenerate grf_ultms.c, so that gspa isn't needed during kernel build 2003-09-27 20:52:59 +00:00
is 3af256db77 PPC_OEA is in std.amigappc 2003-09-27 20:51:54 +00:00
cl 2f20c17423 make gcc3's `deprecated use of label at end of compound statement' go away 2003-09-27 20:16:59 +00:00
cl 3f16119f55 Cast through (void *) to appease gcc3. 2003-09-27 20:01:58 +00:00
mhitch 3400c43ec7 Add <string.h> include for memcpy. 2003-09-27 19:35:14 +00:00
mhitch 28527002f8 Cast through (void *) to appease gcc3. 2003-09-27 19:34:17 +00:00
dsl fde7103b90 Add KERN_ROOT_PARTITION and KERN_DRIVERS 2003-09-27 19:09:10 +00:00
dsl 4cb1ff990c Forgot the date.... 2003-09-27 19:07:12 +00:00
dsl 0188e8d8ce Add kern.drivers and kern.root_partition to match recent kern_sysctl.c
Add kern.root_device which was absent.
2003-09-27 18:57:05 +00:00
tsutsui 499f56cda2 sys__sigreturn14 -> compat_16_sys___sigreturn14 2003-09-27 17:51:42 +00:00
tsutsui 2fe24b8c7f Use strlcpy() rather than strncpy() + `\0' termination. 2003-09-27 17:42:11 +00:00
mycroft c82b47f9bc Fix a non-fatal race condition. 2003-09-27 15:56:03 +00:00
mycroft 88dd794c62 Put pfsnode in the #ifdef _KERNEL too, so this actually compiles. 2003-09-27 15:32:50 +00:00
kei 58b5cb57f3 Add missing `Ar' flag. Approved by Thomas Klausner. 2003-09-27 14:52:58 +00:00
darcy 566d30be44 Changes as discussed with itojun on tech-kern. I have modified the enums
to have KFS or PFS differentiators.  Further I have wrapped the enum in
procfs in "#ifdef _KERNEL" as it is done in kernfs.

To see the discussion go to http://mail-index.NetBSD.org/tech-kern/2003/09/
and look for "Mismatched enums in include files" in the list.
2003-09-27 13:29:02 +00:00
mrg 3942bb7a51 enable broadcom BCM4401 (bce) driver (as found on recent dell laptops) 2003-09-27 13:16:16 +00:00
mrg 871eae696e add new driver for broadcom BCM4401 chipset (as seen on recent dell
laptops) written by Cliff Wright <cliff@snipe444.org> and tested by
yours truly.

XXX: missing mcast filter support.

thanks cliff!
2003-09-27 13:13:28 +00:00
jdolecek e257c8b61f map ERRSRV:ERRbaduid to EAUTH 2003-09-27 12:24:25 +00:00
martin d1faf5f973 Make gcc default to the medlow code model. 2003-09-27 11:08:41 +00:00
dsl 98b66fc660 Use new kern.root_partition sysctl to find out whether we are installing
over the current root (ie the one we are booted from).
Remove all the stuff that tried to find this out by other means.
A few other message changes.
2003-09-27 10:47:17 +00:00
dsl 070457d605 Use installboot (not disklabel) to make disk bootable (untested). 2003-09-27 10:44:03 +00:00
dsl c268192676 make main menu sit below initial text. 2003-09-27 10:42:16 +00:00
dsl 3322ced37b Make partition menu sit just below header (regardless of header size).
Change flag for bootmenu default from 'b' to 'd'.
2003-09-27 10:39:35 +00:00
dsl df047cb827 Just convert \r\n to \n\r when relaying program output.
Ensure we never write an undefined error message.
Remove support for RUN_SYSTEM - it isn't used and there are too many paths
through this code....
2003-09-27 10:38:05 +00:00
dsl a6c235d09a Include '+' in default for partition size.
If partition size input as '+', treat as 1 cylinder and '+'.
Set default sized /usr if all space can't be given to root.
2003-09-27 10:16:33 +00:00
tsutsui ddc207b63e Add options COMPAT_16. 2003-09-27 10:07:57 +00:00
dsl 0795bf3e7a Allow -ve integer constants in menu file.
Make y == -1 => after current messages (if msg_defs.h included).
Defer menu initialisation until after post_act() called (so function can
fiddle with more things.)
2003-09-27 09:44:13 +00:00
dsl 84577b4fe4 Add kern.root_partition (sysinst needs to know it)
Add kern.drivers - reports driver names and major numbers
Remove some redundant caddr_t casts.
2003-09-27 07:58:55 +00:00
dsl 70fa83aaf4 Add kern.root_partition (because sysinst needs to know it).
Add kern.drivers - reports installed driver names and major numbers.
2003-09-27 07:52:34 +00:00
matt a8a3bf5bed ANSIfy. 2003-09-27 04:44:42 +00:00
mycroft b9556aa82f List VAX as non-GCC3. 2003-09-27 04:27:32 +00:00
matt 827263a8bc Use ksi_signo instead of _signo. 2003-09-27 03:51:54 +00:00
tls d0ffab287c Remove NOSETTLE flag from channel in FibreChannel case. It makes sense that
it should be there, but in practice, on some systems an ugly race condition
rears its head: SCSI commands are issued before the FC thread ever runs, and
fail from then on forever.  Yuck.
2003-09-27 03:43:08 +00:00
matt 4ba9658201 Remove __LIBC12_SOURCE 2003-09-27 03:33:00 +00:00
matt 7fff5acf50 Constify the _-sigaction_sigtramp tramp argument. 2003-09-27 03:14:59 +00:00
christos 6fc26a7684 add SIGTRAMP_VALID and gc old sigcontext <-> ucontext macros. 2003-09-27 03:14:31 +00:00