Commit Graph

80209 Commits

Author SHA1 Message Date
bp
1f1428877a Reserve a transport parameter name and number for Darwin.
Obtained from:	Darwin
MFC after:	2 weeks
2002-09-16 10:57:13 +00:00
bp
2f5f6e2a1c Implement support for mixed case passwords.
Obtained from:	Darwin
MFC after:	2 weeks
2002-09-16 10:50:38 +00:00
bp
e97cf22b3b Add support for large readx and writex functions if server supports them.
Obtained from:	Darwin
MFC after:	2 weeks
2002-09-16 10:18:34 +00:00
bde
b6330b0e91 Include include "opt_atalk.h" so that the NETATALK support can work.
Removed unused includes.

Removed used includes of <sys/queue.h> and <sys/time.h>, since these are
standard pollution (especially the latter).

Reviewed by:	sobomax
2002-09-16 10:10:18 +00:00
bde
8d4dce1438 Backed out revs 1.32-1.33. The problem has been fixed better by
depolluting <netinet/if_gre.h> in the !_KERNEL case.

Reviewed by:	sobomax
2002-09-16 10:06:02 +00:00
phk
698e63c0cd Pick up modules from the compile directory instead of /boot/kernel.
Allow the script to operate on any convenient kernel.

Submitted by:	"Matthew Emmerton" <matt@gsicomp.on.ca>
2002-09-16 09:57:10 +00:00
bp
68a4af10a1 Enable browsing of NetApp servers (use ascii mode).
Obtained from:	Darwin (PR-3002667)
MFC after:	2 weeks
2002-09-16 09:51:58 +00:00
sos
91e41f5a87 Fix the clockprobe test on the Sil 680 2002-09-16 09:37:26 +00:00
bp
09ef4b104a Add more constants for future use in kernel and userland.
Obtained from:	Darwin
2002-09-16 09:26:07 +00:00
mini
a116d71409 Make the changes needed for libpthread to compile in its new home.
The new libpthread will provide POSIX threading support using KSE.
These files were previously repo-copied from src/lib/libc_r.

Reviewed by:	deischen
Approved by:	-arch
2002-09-16 08:45:36 +00:00
mike
bd0063350a Don't depend on <sys/types.h> pollution in <fcntl.h>. Sort includes. 2002-09-16 08:34:08 +00:00
nyan
64415b6035 Don't build unneeded modules for pc98. 2002-09-16 08:32:48 +00:00
bde
b73776ee68 Fixed messes involving $FreeBSD$ starting with one left in the copyright
after adding __FBSDID().

Garbage-collected kvm_readswap().  This was once used by kvm_uread(), but
kvm_uread() now just reads /proc/<pid>/mem and procfs hopefully handles
swapped out pages.
2002-09-16 08:22:57 +00:00
nyan
2d1ef1927d Merged from sys/isa/fd.c revisions 1.234, 1.235 and 1.236. 2002-09-16 07:39:47 +00:00
nyan
74d9116c1b MFi386: revision 1.178. 2002-09-16 07:19:43 +00:00
mike
92ef138f6d Don't depend on <sys/types.h> pollution in <fcntl.h>. 2002-09-16 07:18:27 +00:00
nyan
7780f726f9 MFi386: revisions 1.417 and 1.418. 2002-09-16 07:17:43 +00:00
nyan
cb30d5a6d9 Merged from sys/dev/sio/sio.c revision 1.378. 2002-09-16 07:14:02 +00:00
nyan
879fee156b Merged from sys/isa/syscons_isa.c revision 1.18. 2002-09-16 07:11:43 +00:00
obrien
576537351a Update for version 3.39. 2002-09-16 06:31:49 +00:00
obrien
09d4703abd Update for 3.39. 2002-09-16 06:22:04 +00:00
obrien
1ccf88d4a7 Make current. 2002-09-16 06:02:55 +00:00
obrien
0657962231 This commit was generated by cvs2svn to compensate for changes in r103373,
which included commits to RCS files with non-trunk default branches.
2002-09-16 05:54:26 +00:00
obrien
2ef757c3c6 Virgin import of Christos Zoulas's FILE 3.39. 2002-09-16 05:54:26 +00:00
obrien
16ce5cfd95 Create bzgrep. 2002-09-16 04:27:29 +00:00
grehan
809cab3381 geom_aes.c requires rijndael crypto
Approved by: phk, benno
2002-09-16 04:13:48 +00:00
wollman
e73f192f94 Reformat an overly-wide comment. 2002-09-16 03:22:06 +00:00
tmm
69375b2688 fcntl(..., F_SETLKW, ...) takes a pointer to a struct flock just like
F_SETLK does, so it also needs this structure copied in in fnctl() before
calling kern_fcntl().
2002-09-16 01:05:15 +00:00
julian
c7e9e7e892 Allocate KSEs and KSEGRPs separatly and remove them from the proc structure.
next step is to allow > 1 to be allocated per process. This would give
multi-processor threads. (when the rest of the infrastructure is
in place)

While doing this I noticed libkvm and sys/kern/kern_proc.c:fill_kinfo_proc
are diverging more than they should.. corrective action needed soon.
2002-09-15 23:52:25 +00:00
joe
4571d5bc4c Deprecate the USB_SETDEBUG IOCTL as debug levels can now be set
using sysctl.
2002-09-15 22:35:58 +00:00
bde
139e8aac2e Garbage-collected __ELF__ ifdefs.
Fixed some style bugs (mainly unused includes).
2002-09-15 22:28:39 +00:00
bde
0e886780a8 Don't use the ELF symbol type to summarily reject symbols in
X_db_search_symbol().  Otherwise we don't see important symbols in
non-verbosely written assembler code.

NetBSD already has this.  The kld version already has a stronger form
of it without really trying -- linker_ddb_search_symbol() doesn't
support ddb's symbol search strategy parameter, so the kld
X_db_search_symbol() doesn't pass the parameter to linker_ddb...() and
linker_ddb...() doesn't make distinctions based on the symbol type.

db_elf.c now works better than db_kld.c when it works (which is essentially
when there are no modules except the kernel).  It works after booting
with -d.  db_kld.c doesn't work until lots of SYSINIT()s have run.
2002-09-15 22:17:40 +00:00
bde
f2b1deb3e0 Made this work on i386's at least. It wants ELF section headers for
symbol table sections.  Reconstruct the necessary section headers from
(ksym_start, ksym_end).  This was much easier than converting to use
module metadata, and just works for static symbols, unlike db_kld when
there is no module metadata.  Initialize (ksym_start, ksym_end) from
bootinfo on i386's only.

The boot loader should load section headers for all sections that it
loads, and apparently did this for at least the symbol table sections
when this file last worked under FreeBSD (on alphas only) and always
did this under NetBSD (where this file was obtained from).  At least
on i386's, boot2 discards the section headers (except for converting
them to (bootinfo.bi_symtab, bootinfo.bi_esymtab), and as far as I can
tell, loader(8) discards them apart from converting them to the bootinfo
values and module metadata.
2002-09-15 21:49:13 +00:00
phk
b1a95d8312 Suitably shrink a comment so it applies again.
Submitted by:	bde
2002-09-15 21:25:55 +00:00
bde
0e22cfe38e Made this compile (but not work). This involved mainly const poisoning
and renaming ALIGNED_POINTER() to _ALIGNED_POINTER() plus the following
hacks for i386's:
- define _ALIGNED_POINTER() if it is not already defined.  Most non-i386
  arches define it <machine/param.h> define it in <machine/param.h>,
  although none actually used it in the kernel.
- define ksym_start and ksym_end.  Most non-i386 arches still define and
  initialize these in machdep.c although they didn't used them.  Here is
  a better place to define them but not to initialize them.
2002-09-15 20:48:08 +00:00
ume
9c29b64177 Allocate 64K recieve buffer for DNS responses.
KAME did the modification only to _dns_getaddrinfo().  However,
it is not sufficient, and res_queryN() should be modified, too.
So, I did same modification to res_queryN().

Obtained from:	KAME
2002-09-15 20:36:38 +00:00
ceri
29cef2f92e s/protocole/protocol/
PR:		docs/42815
Submitted by:	Nicola Vitale <nivit@libero.it>
MFC after:	21 days
2002-09-15 20:33:05 +00:00
mike
405d11ce86 Document intptr_t and uintptr_t. 2002-09-15 20:12:20 +00:00
mike
79868e3c34 makeLINT.sed replaced makeLINT.sh about 4 months ago. 2002-09-15 19:04:23 +00:00
phk
1ff0331915 s/Danglish/English/
Some style issues.
Change the timeout to be hz/10 instead of hz.

Brucification by:	bde.
2002-09-15 17:52:35 +00:00
bde
bc3ddc0402 Removed unused includes. Sorted includes. This is part of removing
includes of <sys/user.h> for its pollution only.  <sys/user.h> wasn't
even used for its pollution here.
2002-09-15 17:45:10 +00:00
bde
66a17c64be Garbage-collected splmem.
Moved the declaration of malloc_mtx to be with the other extern declarations
and not exposed to userland.

Fixed some minor style bugs.
2002-09-15 17:10:18 +00:00
nectar
b44001f0c3 Check for truncation in calls to res_send/res_query/res_search.
Fail when it is detected.
2002-09-15 16:51:09 +00:00
bde
486bc9dab8 Removed most namespace pollution in this header: don't include <vm/uma.h>;
include <sys/_mutex.h> and its prerequisites instead of <sys/mutex.h> and
its prerequisite.
2002-09-15 16:48:25 +00:00
phk
2a9f9dcde0 Try to pick up disk geometry with specific DIOC* ioctls, rather than
expecting a bogo-disklabel to contain them, if possible.

This makes fdisk work with GEOM.
2002-09-15 16:08:52 +00:00
dwmalone
fc1f61ef5f Add "-t" to useage message and comment. (The -t option was added
independently by Robert, but also proposed in the PR below).

PR:		38126
Submitted by:	Josh Elsasser <jre@vineyard.net>
MFC after:	1 month
2002-09-15 15:37:50 +00:00
dwmalone
6acc49e3bd Some BIOSs are using MTRR values that are only documented under NDA
to control the mapping of things like the ACPI and APM into memory.

The problem is that starting X changes these values, so if something
was using the bits of BIOS mapped into memory (say ACPI or APM),
then next time they access this memory the machine would hang.

This patch refuse to change MTRR values it doesn't understand,
unless a new "force" option is given. This means X doesn't change
them by accident but someone can override that if they really want
to.

PR:		28418
Tested by:	Christopher Masto <chris@netmonger.net>,
		David Bushong <david@bushong.net>,
		Santos <casd@myrealbox.com>
MFC after:	1 week
2002-09-15 15:07:55 +00:00
bde
7819f421f3 Define __LONG_LONG_SUPPORTED if the compiler claims to support C99.
Don't set __LONG_LONG_SUPPORTED for gcc-1.  I didn't check exactly
when gcc started to support long long, but it was in the version
of gcc in FreeBSD-1.0 (gcc-2.4.5).

Other C99 features should be ifdefed similarly, but the ifdefs for
old versions of gcc will be more complicated since the features
weren't in all versions of gcc-2.
2002-09-15 14:17:29 +00:00
bde
57c36dbd6c Include <sys/systm.h> instead of depending on namespace pollution 2
layers deep in <sys/malloc.h> or 1 layer deep in <net/if_var.h>.
2002-09-15 13:54:12 +00:00
phk
2e40c65a70 Some change in src/share/mk seems to have made it possible to remove
50% of the active ingredients in these Makefiles.
2002-09-15 13:05:42 +00:00