Commit Graph

126931 Commits

Author SHA1 Message Date
kleink
8d54bc1847 struct netnet.n_net used to be an unsigned long integer.
In XNS5, and subsequently in POSIX-2001 it was changed to socklen_t.

To accomodate for this while preserving binary compatibility with the
old interface, prepend or append 32 bits of padding, depending on
the (LP64 data model) architecture's endianness.  Fixes PR
standards/21411 from Ben Harris.

This should be deleted the next time the libc major number is
incremented.

Also, update getnetbyaddr(3)'s `net' argument accordingly.
2004-05-08 18:52:15 +00:00
grant
0f204e9fc9 fix typo. 2004-05-08 16:50:37 +00:00
bouyer
879d21cebe Add a delay(10) after re-enabling interrupts in the control register.
Some controllers/drives (e.g. SataLink 3114 with WD Raptor) require
it. Should fix kern/23808 by Chris Gilbert, patch suplied by Chris Gilbert
on tech-kern, extended to all places enabling interrupts by me.
2004-05-08 15:03:32 +00:00
chs
bd3ff85ff7 work around an LP64 problem where we report an excessively large window
due to incorrect mixing of types.
2004-05-08 14:41:47 +00:00
dsl
c3f4dda582 Add GENERIC.MP
Fixes PR port-alpha/25244
2004-05-08 14:39:01 +00:00
kent
e3f4d77dda regenerate for fsync_range, uuidgen, getvfsstat, statvfs1, fstatvfs1, and fhstatvfs1 2004-05-08 14:33:12 +00:00
kent
af38d21dbd add fsync_range, uuidgen, getvfsstat, statvfs1, fstatvfs1, and fhstatvfs1. 2004-05-08 14:31:59 +00:00
dsl
a13f1e12e5 Kill message used when amd64 used an 'out of tree' toolchain 2004-05-08 14:25:58 +00:00
lha
bba70dc29c Merge changes between Heimdal 0.6.1 and 0.6.2 2004-05-08 13:27:58 +00:00
lha
0575824546 Import of Heimdal release 0.6.2
* Fix possible buffer overrun in v4 kadmin (which now defaults to off)
2004-05-08 13:15:02 +00:00
jdolecek
3b3062f454 document USB_GET_DEVICEINFO and USB_GET_STRING_DESC
fix member prefix for usb_ctl_report_desc

bump date
2004-05-08 11:46:51 +00:00
jdolecek
958daa19cd add support for USB_GET_DEVICEINFO and USB_GET_STRING_DESC ioctls,
with same meaning as for ugen(4)
2004-05-08 11:41:19 +00:00
nisimura
9e4b4b7647 Add MI stpcide. Indeed i386 since it's a part of 486 SoC. 2004-05-08 10:34:15 +00:00
jdolecek
8a6036db49 fix description of usb_device_info structure - members are prefixed
by udi_, and adapt to udi_lowspeed -> udi_speed member change

fix usb_device_stats - there is uds_ prefix

use #include <dev/usb/usb.h> also in USB CONTROLLER INTERFACE section

bump date
2004-05-08 10:14:00 +00:00
nisimura
c12c2f72bd Add devnames for Marvell MV64260 system controller.
Code cleanup and MIPS merge should be considered for the generations
of Discovery, II, III and GT-640xx/1xx. The last two are used
locally in cobalt and evbmips.
2004-05-08 09:23:14 +00:00
martin
64201d8484 Add emmintrin.h. 2004-05-08 09:14:12 +00:00
martin
b3ac854ab5 On i386 and amd64 install emmintrin.h, so that SSE2 enabled compiles
work.
Fixes PR toolchain/25497.
2004-05-08 09:13:49 +00:00
minoura
452749792b #ifndef _XXX_H_ #define _XXX_H_ .... #endif 2004-05-08 08:40:08 +00:00
minoura
6915327794 An unexported header file was #included from an exported header file.
Introduce <machine/opmreg.h> and move some definitions useful to
userland progs.
2004-05-08 08:38:36 +00:00
kleink
00c99f5cd8 Update namespace protection for siginfo; originally from Christos. 2004-05-07 23:54:48 +00:00
cl
5359887820 Reboot machine when hypervisor signals "die" event. 2004-05-07 23:05:30 +00:00
snj
c5e3b44cc9 Wrap a line; use Dq for quotes; minor English fix. 2004-05-07 22:17:17 +00:00
jlam
04d5477295 Fix up definition of SHOW_BI_VAR, the prototype for show_var(), and the
usage string for pkg_info(1).  Also bump the version to 20040508.  From
pkg/25494 by FUKAUMI Naoki.
2004-05-07 21:38:57 +00:00
kleink
542839207d Add definitions for the (currently unimplemented) ECN TCP flags;
from Chuck Swiger in PR standards/25058.
2004-05-07 20:11:52 +00:00
jlam
19baba8fb8 Add a new flag -Q (for "query") to pkg_info(1) to query the build
information for the definitions of specific variables that were saved
from build time, e.g.

	$ pkg_info -Q PKGPATH glib
	devel/glib
	$ pkg_info -Q PROVIDES glib
	/usr/pkg/lib/libglib.so.13
	/usr/pkg/lib/libgmodule.so.13
	/usr/pkg/lib/libgthread.so.13

Bump the version number of pkg_install(1) to 20040507.
2004-05-07 16:40:30 +00:00
yamt
52fedf49f0 check read only mount appropriately.
(fix a bug of nfs_vnops.c rev.1.192.)
pointed by Rob Quinn on current-users@.
2004-05-07 16:09:46 +00:00
cl
977bfc3501 Add support for domain0 operations:
- access to all physical memory
- access to hypervisor traps from userland
- setup/config Xen's network routing/firewall rules
2004-05-07 15:51:04 +00:00
cl
65569a4d16 Allow additional entries (files, subdirs) in kernfs. Also allow
defining additional kfstypes and provide hooks to run arbitrary code
for any vnodeop on the additional types.
2004-05-07 15:33:17 +00:00
itohy
52fc58caa3 Fix typos. Cleanup. 2004-05-07 15:21:04 +00:00
cl
a2a2784bfd remove code no longer needed since the type/permission information
is available in the entry's struct kern_target and every entry has a
(possibly shared) struct kern_target now.
2004-05-07 15:20:29 +00:00
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