Commit Graph

126901 Commits

Author SHA1 Message Date
cl 81d3c2061c Make lookup and readdir return the same inode number. kernfs_readdir
now uses kernfs_allocvp to map from kernfs entry to inode number,
kernfs_allocvp is now the only place where entries are mapped to inode
numbers.  Also make KERNFS_FILENO not return random results for entries
not in kern_targets.
2004-05-07 15:06:15 +00:00
pk a02ca1366c viking_module_error: check for unconfigured cpus. 2004-05-07 14:59:26 +00:00
cl 5f113f8e16 Find the right entry when doing lookup on dotdot in kern/ipsec subdirs.
Also remove some duplicate code.
2004-05-07 14:56:48 +00:00
cl d877f23fb5 add support for hot-add/-remove of block devices 2004-05-07 14:15:11 +00:00
cl 8e658015da replace rdr6/ldr6 with the corresponding hypervisor traps 2004-05-07 14:01:33 +00:00
cl e03778cac9 cleanup debugging code 2004-05-07 13:56:48 +00:00
cl 175b0c3bf7 check for AST on return from event handler to userland 2004-05-07 13:52:37 +00:00
cl f61d1b4cce fix lazy fpu state saving 2004-05-07 13:48:32 +00:00
sekiya 5090104da8 regen. 2004-05-07 13:02:50 +00:00
sekiya e9c3c4204d Add support for Silicon Image 3512 chip to satalink driver -- treat it as
a 3112 variant (without RAID support), which does the right thing with the
controller on my K8NNXP.
2004-05-07 13:01:49 +00:00
wiz adafc87b2c Remove empty line. Noted by Stefan Krueger on current-users. 2004-05-07 12:41:08 +00:00
wiz 15dfef13b2 Add /usr/include/netipsec, noted missing by Stefan Krueger on current-users. 2004-05-07 12:40:26 +00:00
yamt 68b4772ef6 redo the previous (rev.1.58; overwrite a duplicate entry rather than leave it)
differently so that entries entered during we're doing pool_get() are
checked as well.  pointed by Paul Kranenburg on source-changes@.
2004-05-07 12:05:41 +00:00
wiz f6378fc99d man page was last touched in 2004, not 2003;
new sentence, new line.
2004-05-07 09:58:15 +00:00
jdolecek 11e3d40493 list supported model series 2004-05-07 08:58:47 +00:00
wiz faa47b7058 Add comma in enumerations; fix a sentence; plural needs no apostrophe. 2004-05-07 08:23:31 +00:00
sjg 4d3fc51f60 Remove use of sh -e when running in compat mode.
Its not posix compliant and serves very little purpose.
With this change compat and jobs modes are consistent wrt how
they treat each line of a script.

Add support for the '+' command line prefix as required by posix.
Lines prefixed with '+' are executed even when -n is given.
[Actually posix says they should also be done for -q and -t]

PR:
Reviewed by: jmc
2004-05-07 08:12:15 +00:00
jonathan 85b3ba5bf1 Redo net.inet.* sysctl subtree for fast-ipsec from scratch.
Attach FAST-IPSEC statistics with 64-bit counters to new sysctl MIB.
Rework netstat to show FAST_IPSEC statistics, via sysctl,  for
netstat -p ipsec.

New kernel files:
	sys/netipsec/Makefile		(new file; install *_var.h includes)
	sys/netipsec/ipsec_var.h	(new 64-bit mib counter struct)

Changed kernel files:
	sys/Makefile			(recurse into sys/netipsec/)
	sys/netinet/in.h		(fake IP_PROTO name for fast_ipsec
					sysctl subtree.)
	sys/netipsec/ipsec.h		(minimal userspace inclusion)
	sys/netipsec/ipsec_osdep.h	(minimal userspace inclusion)
	sys/netipsec/ipsec_netbsd.c	(redo sysctl subtree from scratch)
	sys/netipsec/key*.c		(fix broken net.key subtree)

	sys/netipsec/ah_var.h		(increase all counters to 64 bits)
	sys/netipsec/esp_var.h		(increase all counters to 64 bits)
	sys/netipsec/ipip_var.h		(increase all counters to 64 bits)
	sys/netipsec/ipcomp_var.h	(increase all counters to 64 bits)

	sys/netipsec/ipsec.c		(add #include netipsec/ipsec_var.h)
	sys/netipsec/ipsec_mbuf.c	(add #include netipsec/ipsec_var.h)
	sys/netipsec/ipsec_output.c	(add #include netipsec/ipsec_var.h)

	sys/netinet/raw_ip.c		(add #include netipsec/ipsec_var.h)
	sys/netinet/tcp_input.c		(add #include netipsec/ipsec_var.h)
	sys/netinet/udp_usrreq.c	(add #include netipsec/ipsec_var.h)

Changes to usr.bin/netstat to print the new fast-ipsec sysctl tree
for "netstat -s -p ipsec":

New file:
	usr.bin/netstat/fast_ipsec.c	(print fast-ipsec counters)

Changed files:
	usr.bin/netstat/Makefile	(add fast_ipsec.c)
	usr.bin/netstat/netstat.h	(declarations for fast_ipsec.c)
	usr.bin/netstat/main.c		(call KAME-vs-fast-ipsec dispatcher)
2004-05-07 00:55:14 +00:00
matt 3df46d6c37 Fix stack backtracing so not refer to the initial entry frame.
Default to getting the LR out of the stack if no other way works.

This makes backtraces work on stripped programs.
2004-05-07 00:07:10 +00:00
ross 42dbdbd46a Simplify build, no functional changes.
Instead of adding MAKE_BOOTSTRAP for hosted environments, i.e., when
you want things simple, instead add MAKE_NATIVE to get those hugely
important features like __RCSID().

It's now possible to build make on some hosts with: cc *.c */*.c
2004-05-07 00:04:38 +00:00
ross 4ea0ff5fba Track make(1) build simplifications.
Instead of adding MAKE_BOOTSTRAP for hosted environments, i.e., when
you want things simple, instead add MAKE_NATIVE to get those hugely
important features like __RCSID().

Also, get rid of a now-unneeded -I.
2004-05-07 00:04:37 +00:00
kleink aa32e8bbf1 Add an additional multicast hash function for Yukon. 2004-05-07 00:03:39 +00:00
ross dcdf1bd27a Instead of including from the wrong directory and then fixing it (-I)
in the Makefile, how about just doing the right include?
2004-05-06 23:15:46 +00:00
matt 886b18bf35 Add PT_MACHDEP_STRINGS so that kdump(1) can print out the PowerPC-specific
ptrace requests.
2004-05-06 22:53:02 +00:00
matt 10efbfd5c3 Allow kdump to print the names for machine dependent ptrace ops.
(This requires <machine/ptrace.h> to define PT_MACHDEP_STRINGS
which corresponds to the machdep ops).
2004-05-06 22:51:38 +00:00
pk fba1aa540d Provide a mutex for the process limits data structure. 2004-05-06 22:20:30 +00:00
yamt 8d615f3e18 cache_enter: when we found a duplicate entry,
simply overwrite it rather than leaving a stale entry.
2004-05-06 22:02:02 +00:00
yamt f573d83f7a no need to cache_purge() in getnewvnode().
it should be already done by vclean().
2004-05-06 22:01:14 +00:00
yamt 2a85a8c4fd because nfsv3 has the same CREATE semantics as ours,
we don't have to issue LOOKUP RPCs beforehand.
2004-05-06 21:58:17 +00:00
martin 812e909997 Make "local-phone-dialout" optional.
This makes creating standard config files for peers that do not care about
the calling number easy and helps roaming users.
2004-05-06 21:13:28 +00:00
martin 028c339458 If we don't have a source telephone number configured, do not send
a IEI_CALLINGPN information element.
2004-05-06 21:11:04 +00:00
wiz 3a6d7bd8c0 Revert part of previous.
[Never argue with a language lawyer, or at least expect to lose ;)]
2004-05-06 19:16:32 +00:00
wiz cb27e1bb83 Bump date for a new card. 2004-05-06 18:47:49 +00:00
bouyer 41bff69bbe Always initialise savename. Fix gzip -c core dump on sparc (and probably
others). OK'd by mrg@.
2004-05-06 17:43:57 +00:00
jdolecek f8e43c883c add Adaptec SATA RAID 2410SA to list of supported cards 2004-05-06 15:27:09 +00:00
jdolecek fb0f244182 match Adaptec 2410SA
XXX we should probably match all cards with product ID ASR2200S
2004-05-06 15:26:37 +00:00
drochner 264eb6a8ba remove duplicated snprintf(vci, ...) 2004-05-06 12:32:59 +00:00
scw 225b2e0b2a Cast an integer type to a pointer type via intptr_t. 2004-05-06 10:51:15 +00:00
ragge f62c3ab365 Remove the "panic("wm_init: MCLBYTES > 2048 not supported.");" stuff,
the driver works very well with larger MCLBYTES.
2004-05-06 10:06:50 +00:00
itojun 937e8b0fbe add O_TRUNC to open(2). revision 1.11 used fopen(foo, "w") which implies
truncation of opened file.  it should suppress bogus "corrupted lease file"
warning and broken dhclient.leases staying around.
2004-05-06 09:07:54 +00:00
dyoung 998a558a7f Following Andrew Brown's suggestion, move net.ieee80211 to
net.link.ieee80211.  The convention is that nodes directly under
net are protocol families (PF_*).

Also, simplify the sysctl setup for net80211 and rssadapt, following
another suggestion by Andrew.
2004-05-06 07:11:40 +00:00
atatat 778eadaf46 Add a printf() to the other case in sysctl_createv() where a node did
not get attached for what should be an extremely unusual case.
2004-05-06 07:06:46 +00:00
dyoung fcd7df4334 Add a sysctl, net.ieee80211.debug, for turning debug messages on
and off.

Add a sysctl, net.ieee80211.maxinact, for adjusting the node time-out
interval.  After net.ieee80211.maxinact seconds of inactivity, an
AP will purge a peer/client-record.  Now the client has to reassociate.
2004-05-06 03:07:10 +00:00
dyoung 7c84c56e55 Create ieee80211_rssadapt_debug to control rssadapt(9) debug messages
independently from net80211 debug messages.  Create a new sysctl,
net.ieee80211.rssadapt.debug, for turning the debug messages on
and off.

Create a new sysctl, net.ieee80211.rssadapt.expavgctl, to control
the rate of decay for the exponential averages used by rssadapt(9).
2004-05-06 03:03:20 +00:00
dyoung 27d8afead9 No need to suppress if_init calls, ether_ioctl already does it.
Also, ether_ioctl handles more address families than ieee80211_ioctl
was.
2004-05-06 02:58:16 +00:00
dyoung 1ff6496e8c Incorporate new authentication debug statements from FreeBSD.
Fix authentication where I had botched it with the FreeBSD import.
(In FreeBSD, net80211 is strangely subroutine-averse, so where we
have ieee80211_auth_open and ieee80211_auth_shared, they incorporate
all of ieee80211_auth_open into ieee80211_recv_mgmt.  I had not
realized that was why the 20 lines of new code.)
2004-05-06 02:56:48 +00:00
dyoung 9e76c33909 NetBSD does not contain IPX support. 2004-05-06 02:16:59 +00:00
dyoung 752f5ad0b1 Fix spelling: supress -> suppress. 2004-05-06 02:14:03 +00:00
dyoung 3d73dc9e3e Check if_init error. 2004-05-06 01:56:08 +00:00
dyoung e99b377d3f Build and install atppc(4), plip(4), ppbus(4), ppi(4) manual pages. 2004-05-05 21:29:34 +00:00