Commit Graph

124229 Commits

Author SHA1 Message Date
tegge
7fe5e2882f Expunge traces of unlinked snapshot files when making a new snapshot. 2006-05-13 20:41:37 +00:00
sobomax
8059d90140 o Add an option allowing to start search from some offset instead of offset 0;
o mesure distance between UFS1 and UFS2 superblocks independently.

MFC after:	1 week
2006-05-13 20:23:06 +00:00
alc
951cb63293 Simplify the implementation of vm_fault_additional_pages() based upon the
object's memq being ordered.  Specifically, replace repeated calls to
vm_page_lookup() by two simple constant-time operations.

Reviewed by: tegge
2006-05-13 20:05:44 +00:00
cperciva
fd3a903ce1 Fix typo.
Pointed out by:	ceri
2006-05-13 18:04:48 +00:00
cperciva
2407c865b7 Add a mechanism for constructing INDEX files which include local ports.
Requested by:	brooks
2006-05-13 15:56:35 +00:00
hm
17287f7b9f PR: bin/71663
Submitted by:   Dan Lukes
Reviewed by:    hm@
fix compile warnings in isdnd and isdntest. some more
compile time warnings also mentioned in this PR were
already fixed in an earlier commit today.
2006-05-13 14:59:58 +00:00
hm
4dcb14212f PR: kern/76611
Submitted by:   Mauritz Sundell and Sergio de Souza Prallon
Reviewed by:    hm@
fix several constants for the Tiger320 ISDN chip
2006-05-13 14:39:35 +00:00
des
148092431d Introduce a namespace munging hack inspired by NetBSD to avoid polluting
the namespace of applications which inadvertantly link in libssh (usually
through pam_ssh)

Suggested by:	lukem@netbsd.org
MFC after:	6 weeks
2006-05-13 13:47:45 +00:00
ume
18f5285192 Comment out the function prototypes which our libc actually
doesn't have.
2006-05-13 12:43:12 +00:00
hm
70fbb7249a fix conflicting types for log(), add some prototypes to isdnd.h 2006-05-13 12:42:55 +00:00
pjd
b20e637376 Correct various mistakes in the last commit. 2006-05-13 11:58:58 +00:00
pjd
31e8428e64 Include other AES key lengths in the comment. 2006-05-13 09:13:58 +00:00
des
6ca58541f8 Remove alpha from the HEAD lineup. 2006-05-13 08:25:31 +00:00
mlaier
7754a7fbfa Update UPDATING and bump __FreeBSD_version for the ip6fw removal. 2006-05-13 06:08:25 +00:00
mlaier
1bb2e63dc3 Update for ip6fw removal. 2006-05-13 05:51:52 +00:00
imp
cf90ee9498 Tidy up a bit... 2006-05-13 02:47:39 +00:00
cel
d46957d5ba Add better sanity checking to the logic that handles ioctl processing
for nfsclient and nfs4client in order to prevent local root users
from panicing the system.

PR:		kern/77463
Submitted by:	Wojciech A. Koszek
Reviewed by:	cel, rees
MFC after:	2 weeks
Security:	Local root users can panic the system at will
2006-05-13 00:16:35 +00:00
marcel
4bf82b99a7 o A divisor of 0 is perfectly valid. Reserve -1 for an invalid
divisor. This allows us to set the line speed to the maximum
   of 1/4 of the device clock.
o  Disable the baudrate generator before programming the line
   settings, including baudrate, and enable it afterwards.
2006-05-12 23:24:45 +00:00
keramida
7770ce8a2f Check the return code of sc_clean_up() in the only place where it
was not checked at all.  There is only one case when sc_clean_up()
can fail, because of wait_scrn_saver_stop(), but it doesn't hurt
to check anyway.

Reviewed by:	rodrigc
Found by:	Coverity Prevent
2006-05-12 22:43:07 +00:00
peter
c0cb1adae1 Test commit after repoman upgrade. Remove one of my many email addresses
from a copyright message.
2006-05-12 22:41:58 +00:00
peter
a7162e4983 Test commit after repoman upgrade. Remove one of my many email addresses
from a coyright message.
2006-05-12 22:38:53 +00:00
mlaier
123e91766b Remove ip6fw. Since ipfw has full functional IPv6 support now and - in
contrast to ip6fw - is properly lockes, it is time to retire ip6fw.
2006-05-12 20:39:23 +00:00
jmg
feb912d359 drop D_MEMDISK, not used in the tree... 2006-05-12 19:40:54 +00:00
bmah
8ce53ee19e Fix typo in last commit: traceroute(8) -e, not traceroute(8) -c.
Submitted by:	Rong-En Fan grafan at gmail dot com
Pointy hat to:	Thunderbird, for a too-small default font size
Not ready for reading glasses yet:	bmah
2006-05-12 19:31:29 +00:00
mlaier
23ea781ace Move etc/rc.firewall6 to ipfw2+v6, update related rc.d and periodic scripts.
Since ipfw2 now does dual-stack, statistics for IPv6 come from the ipfw
scripts as well.
2006-05-12 19:17:34 +00:00
des
8ee51ef3f4 Forgot to add RELENG_6_1 here as well. 2006-05-12 19:06:22 +00:00
mlaier
67242844ae Update manpage for net.inet6.ip6.fw.enable sysctl.
Requested by:	bz
2006-05-12 18:09:33 +00:00
ariff
e5cc22f279 Unbreak build. es1888.c (alpha bit) no longer exist. 2006-05-12 18:05:35 +00:00
keramida
69574dfc7d Fix the web-appearance of Hardware notes, in the simplest way
possible; by re-arranging a couple of sentences in the ath(4)
HARDWARE section.

Clue by:	bmah
MFC after:	1 week
2006-05-12 17:58:11 +00:00
keramida
77351a04fc apropos(1) does not expand *roff macros that should appear in .Nd
text and, as a result, 'FreeBSD' is not visible in apropos output
when security(7) is displayed.  Fix this buglet by using a
literal 'FreeBSD' string in .Nd

PR:		docs/85986
Submitted by:	Matthias Schmidt <schmidtm@mathematik.uni-marburg.de>
MFC after:	1 week
2006-05-12 17:42:48 +00:00
bmah
3e0692f899 New release notes: alpha support removed, jail(8) -s, traceroute(8)
-c, tzdata2006g.
2006-05-12 17:04:18 +00:00
mlaier
ab4970422a Put debugging messages related to inconsistent ticket numbers under misc and
wrap it __FreeBSD__ specific as I couldn't figure out which version of
OpenBSD I got it from.

Reported by:	Scott Ullrich
2006-05-12 16:15:34 +00:00
ume
ab3eacdf31 Fix gethostbyaddr() prototype to conform to IEEE Std 1003.1:
http://www.opengroup.org/onlinepubs/009695399/functions/gethostbyaddr.html

gethostbyaddr_r() is changed as well.
It breaks ABI backward compatibility on 64 bit arch.  So, we fix it
on 32 bit arch only for now.

Reported by:	Rostislav Krasny <rosti.bsd@gmail.com>
2006-05-12 15:37:23 +00:00
matteo
08978d5bee correct strtol(3) usage and style(9)
Reviewed by:	maxim
MFC after:	2 weeks
2006-05-12 15:14:43 +00:00
keramida
b5d9042424 After a mini-discussion with Sam Leffler, remove the hardcoded
list of Atheros-based cards from ath(4).  The online list is
always more up to date, anyway.

This invalidates:

PR:		docs/95360
Submitted by:	Erik Nordstr:om Andersen <erik@erik-n-andersen.dk>
2006-05-12 12:55:56 +00:00
cperciva
c1762f0053 Use 'rm -rf foo/bar' to remove a port instead of 'rm -rf foo/bar/'.
When /usr/ports/foo/bar is a symlink pointing outside the tree, this
deletes the symlink instead of the directory it points to.

Requested by:	delphij
2006-05-12 10:42:40 +00:00
benno
f5ddc94946 Document VERBOSE_SYSINIT in NOTES.
Requested by:	Niclas Zeising <lothrandil at n00b dot apagnu dot se>
2006-05-12 10:25:54 +00:00
jhb
0f921e0992 Remove various bits of conditional Alpha code and fixup a few comments. 2006-05-12 05:04:46 +00:00
mlaier
95826ec6b4 Reintroduce net.inet6.ip6.fw.enable sysctl to dis/enable the ipv6 processing
seperately.  Also use pfil hook/unhook instead of keeping the check
functions in pfil just to return there based on the sysctl.  While here fix
some whitespace on a nearby SYSCTL_ macro.
2006-05-12 04:41:27 +00:00
jhb
c44b3e762e Remove the snd_ess identify routine for the sound device in Alpha PWS
machines.
2006-05-12 04:11:25 +00:00
jhb
93bf79b04a Remove some tga bits I missed. 2006-05-12 04:10:38 +00:00
jhb
6ecdc538b9 Remove more Alpha bits from the boot code including fixing several
stale comments.
2006-05-12 04:09:53 +00:00
jhb
42320347d0 Remove Alpha bits for ficl. 2006-05-12 04:07:42 +00:00
jmg
5a10f36ae8 add support for makeoptions MFS_IMAGE="<file>" in the config file which
will automaticly populate the kernel w/ the mfs image...
2006-05-12 02:45:12 +00:00
benno
ed056cb6c7 Add a new kernel config option, VERBOSE_SYSINIT.
When porting FreeBSD to a new platform, one of the more useful things to do is
get mi_startup() to let you know which SYSINIT it's up to.  Most people tend to
whack a printf in the SYSINIT loop to print the address of the function it's
about to call.  Going one better, jhb made a version that uses DDB to look up
the name of the function and print that instead.  This version is essentially
his with the addition of some ifdeffery to make it optional and to allow it to
work (although using only the function address, not the symbol) if you forgot
to enable DDB.

All the cool bits by:	jhb
Approved by:		scottl, rink, cognet, imp
2006-05-12 02:01:38 +00:00
bmah
7c592195ba Fix a variety of gram-mos (hopefully I didn't introduce any new
ones).  No (intended) content changes.
2006-05-11 22:55:18 +00:00
marcel
10f0f16487 Fix braino in previous commit: Don't redefine OID_AUTO to something
not equal to -1, or at all for that matter.
2006-05-11 22:49:31 +00:00
jhb
495a1b1a3b First pass at removing Alpha kernel support. 2006-05-11 22:25:28 +00:00
jhb
215bc87cc3 Fixup some comments to allow for the fact that PCI domains are not specific
to Alpha hoses.
2006-05-11 22:13:21 +00:00
jhb
a8e4965930 Use __LP64__ rather than the PTR64 hack.
Suggested by:	ru
2006-05-11 21:59:55 +00:00