Commit Graph

122749 Commits

Author SHA1 Message Date
kientzle
3b53f4a775 Remove configure.ac.in and the 'distfile' target from
the FreeBSD makefile.  This is a step towards cleaning
out the non-FreeBSD bits from the FreeBSD source tree.
2006-03-08 02:49:12 +00:00
tegge
6c921985a7 Don't set IN_CHANGE and IN_UPDATE on inodes for potentially suspended
file systems.  This could cause deadlocks when creating snapshots.

Reviewed by:	jeff
2006-03-08 02:14:39 +00:00
kientzle
101c7b294b Remove configure.ac.in and reorganize a few other things. This is
part of a program to remove the non-FreeBSD autoconf/automake build
system for libarchive from the FreeBSD source tree.
2006-03-08 01:56:06 +00:00
cel
85c8b06cbe Fix a bug in NFSv3 READDIRPLUS reply processing
The client's READDIRPLUS logic skips the attributes and
filehandle of the ".." entry.  If the server doesn't send
attributes but does send a filehandle for "..", the
client's logic doesn't account for the extra "value
follows" field that indicates whether the filehandle is
present, causing the remaining entries in the reply
to be ignored.

Sponsored by:	Network Appliance, Inc.
Reviewed by:	rick, mohans
Approved by:	silby
MFC after:	2 weeks
2006-03-08 01:43:01 +00:00
tegge
7d4fc1e0d4 Ignore dirty pages owned by "dead" objects. 2006-03-08 00:51:00 +00:00
davidxu
e99490121b Set SNF_SYNC flag for timer, as the timer notification should be
serialized.
2006-03-08 00:34:54 +00:00
jhb
16da845ce6 Style nit. 2006-03-07 22:17:26 +00:00
jhb
d40196102f Clean up the way we handle auxiliary commands for a given ddb command
table.  Previously, the ddb code knew of each linker set of auxiliary
commands and which explicit command list they were tied to.  These changes
add a simple command_table struct that contains both the static list of
commands and the pointers for any auxiliary linker set of additional
commands.  This also makes it possible for other arbitrary command tables
to be defined in other parts of the kernel w/o having to edit ddb itself.

The DB_SET macro has also been trimmed down to just creating an entry in
a linker set.  A new DB_FUNC macro does what the old DB_SET did which is
to not only add an entry to the linker set but also to include a function
prototype for the function being added.  With these changes, it's now also
possible to create aliases for ddb functions using DB_SET() directly if
desired.
2006-03-07 22:17:06 +00:00
jhb
13d9bffa82 Use the Alpha PCC as a cpu ticker for process runtime accounting. This is
slightly more tricky than on x86 as although the PCC is 64-bits, it is not
a simple 64-bit counter like the TSC.  Instead, the upper 32-bits have
PAL-defined behavior and the lower 32-bits run as a free-running 32-bit
counter.  To handle this, we detect overflows by maintaining a small amount
of per-cpu state and use this to simulate the upper 32-bits of the counter
providing a full 64-bit counter to the consumers of cpu_ticks().
2006-03-07 22:12:09 +00:00
jhb
59bd3cfe60 - Simplify the i8254 timecounter for the alpha since we don't actually have
an interrupt handler for the i8254.  (Our clock interrupts come from
  elsewhere.)  Instead, use the same algo that i386 uses when the lapic
  timer is in use.  This lets us remove a lot of cruft that tried to handle
  the i8254 interrupts that we weren't even using or setting up a handler
  for.
- G/C a bunch of unused cruft while I'm here.
- Fix the code to not use the rpcc timecounter (similar to TSC) on SMP
  machines to only disable that timecounter if more than one CPU is in
  use by the kernel.  Previously, a UP kernel on a machine with multiple
  CPUs would needlessly disable this timecounter.

MFC after:	1 week
2006-03-07 21:44:20 +00:00
thompsa
4c1aecad94 Further refine the bridge hack in the arp code. Only do the special arp
handling for interfaces which are actually in the bridge group, ignore all
others.

MFC after:	3 days
2006-03-07 21:40:44 +00:00
jhb
baf476eca4 For consistency sake, use >= MINCLSIZE rather than > MINCLSIZE to determine
whether or not to allocate a full mbuf cluster rather than just a plain
mbuf when adding on additional mbufs in m_getm().  In practice, there wasn't
any resulting mem trashing since m_getm() doesn't ever allocate an mbuf with
a packet header, and MINCLSIZE is the available payload in an mbuf with a
header rather than the available payload in a plain mbuf.

Discussed with: 	andre (lightly)
2006-03-07 21:31:20 +00:00
damien
017207e77b Disable 802.11e support for now. Did some cleanup while I'm here. 2006-03-07 20:48:23 +00:00
ume
2647a2ffc5 Remove trailing dot from the servername in the serverlist to be able
to use portsnap from behind a http proxy.  Some HTTP proxy don't like
trailing dot in the servername.

Approved by:	cperciva
MFC after:	2 days
2006-03-07 19:13:00 +00:00
ume
cf60b0b3b1 Correct handling of HTTP_PROXY_AUTH. A password may have `:'.
Approved by:	cperciva
MFC after:	2 days
2006-03-07 19:04:16 +00:00
hrs
2c3115e88f Fix incorrect command line examples.
Submitted by:	Yoshihiko Sarumaru (mistral at imasy dot or dot jp)
PR:		docs/94158
MFC after:	2 days
2006-03-07 18:34:18 +00:00
hrs
6223247e90 Fix version number when the feature was added.
Submitted by:	Yoshihiko Sarumaru (mistral at imasy dot or dot jp)
PR:		docs/93801 and docs/93803
MFC after:	2 days
2006-03-07 18:25:03 +00:00
mjacob
8ab5ca4a3f Add a serial number for requests so we don't just depend on a request pointer
to try and do forensics on what has occurred.
2006-03-07 17:56:40 +00:00
sos
0c7a140bbc Poll device for readiness before trying to get geometry etc. 2006-03-07 16:05:38 +00:00
sos
d56d32f380 Only look for ICRC and CORR errors on ATA devices not ATAPI. 2006-03-07 14:27:54 +00:00
ume
940db6a9cd NOMAN --> NO_MAN 2006-03-07 14:26:17 +00:00
mnag
366e64d868 - New sentence should start from the new line
- Forget to bump .Dd

Reported by:	maxim
Approved by:	maxim
MFC after:	1 day
2006-03-07 12:56:37 +00:00
yar
d1c1a7001a Two years ago, in rev. 1.12, a typo slipped in etc/isdn/Makefile:
a control variable was misspelled as `SCRIPTS_NAME_isdntel.sh'
(should've been `SCRIPTSNAME_isdntel.sh') when the Makefile was
converted to using <bsd.prog.mk>.  Consequently, `isdntel.sh' has
been installed as `isdntel' since then.  Nevertheless, nobody has
been unhappy with the change.  So it's time to make it official.

Approved by:	hm
Pointy hat to:	ru
MFC after:	3 days
2006-03-07 09:53:11 +00:00
davidxu
d77810c249 Remove stale comments. 2006-03-07 08:42:02 +00:00
davidxu
13fd270405 1. Always call user callback function in newly created thread, it seems
POSIX implies that the user callback function must be executed in clean
environment.
2. Use newly introduced pthread stubs in libc.
2006-03-07 08:28:07 +00:00
kientzle
712c562679 Add a check for Linux' "libacl" library and headers. 2006-03-07 06:07:41 +00:00
kientzle
a9f98a4d3a Change the output of --version to match GNU "gnits" standards.
(I'm not using GPL, but I still think there are good
ideas in the GNU projects. ;-)  Among other things,
this should make it easier for clients of bsdtar to
recognize it automatically:
  bsdtar --version | grep bsdtar
2006-03-07 06:05:38 +00:00
kientzle
adcc625449 Fix a format mismatch (%d integer format, platform-dependent
argument type).
2006-03-07 06:02:09 +00:00
sam
ccaf726b20 update for v0.4.8 import of wpa_supplicant and hostapd
MFC after:	2 weeks
2006-03-07 05:54:20 +00:00
sam
7ec4eb033d resolve merge conflicts
MFC after:	2 weeks
2006-03-07 05:51:52 +00:00
ariff
8410a7ea6c Add another inverted amplifier sense quirk for Kvazar-Micro Senator 3592XT.
Submitted by:	[1] Alexandr Krivulya <admin at marcom-group.com>
MFC after:	3 days

[1] http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-March/003773.html
2006-03-07 05:48:14 +00:00
sam
84f883d618 This commit was generated by cvs2svn to compensate for changes in r156373,
which included commits to RCS files with non-trunk default branches.
2006-03-07 05:47:04 +00:00
sam
8d55057fb4 Import of hostapd 0.4.8 2006-03-07 05:47:04 +00:00
sam
f87f3cf9d3 resolve merge conflicts
MFC after:	2 weeks
2006-03-07 05:44:45 +00:00
sam
8b3f1ba26b This commit was generated by cvs2svn to compensate for changes in r156369,
which included commits to RCS files with non-trunk default branches.
2006-03-07 05:26:33 +00:00
sam
840099f34d Import of WPA supplicant 0.4.8 2006-03-07 05:26:33 +00:00
sam
d851e18329 use m_dup instead of m_copypacket when doing internal bridging
in case packets are modified (e.g. encrypted)

MFC after:	1 week
2006-03-07 03:55:05 +00:00
delphij
5618e999c9 Correct a couple of typos.
Obtained from:	The FreeBSD Simplified Chinese Project
2006-03-07 02:29:21 +00:00
wkoszek
59f250987e Allocate proper amount of memory. Otherwise, we pass the end of a buffer,
thus having unpleasant warning. Was found by jemalloc redzone code.

Reviewed by:	rwatson
Approved by:	cognet (mentor)
2006-03-06 22:31:25 +00:00
obrien
ed90ac4a12 Add an override (DONTSTRIP) so that one can easily install debugable
binaries when one cannot easily edit a package's Makefiles and/or
configure scripts.
2006-03-06 21:52:59 +00:00
sam
cb3143e5c0 fixups
Submitted by:	ru
MFC after:	3 days
2006-03-06 21:51:27 +00:00
keramida
b4c5beef93 Revert parts of 1.51 and add a missing \& after "i.e." that is not the
end of a sentence.  Ruslan notes that:

* The part about hexadecimal representation was intentional -- node ID
  is parsed as the ng_parse_hint32_type, and is represented
  (input/output) as a hexadecimal number

* "This value" was more correct, as the alternative name is
  "[<value>]:" where <value> is hexadecimal value of the node ID.

* "ID based name" (which is "[<hexid>]:") was correct, and what's now is
  incorrect -- node ID (number) cannot be equivalent to a name.
2006-03-06 17:37:42 +00:00
sam
4da3fa06be deliver an l2uf frame on sta join to prime the bridge
Obtained from:	madwifi
MFC after:	1 week
2006-03-06 17:26:16 +00:00
sam
d3539a10d4 when scanning channels marked passive defer probe request until
802.11 traffic is seen; fixes problems with ap's hiding their ssid

Obtained from:	atheros
MFC after:	1 week
2006-03-06 17:23:26 +00:00
mlaier
042a9c9ce3 Fix the build. %ju prints uintmax_t not unsigned long long (which is
actually "longer" than uintmax_t for the understanding of printf).
2006-03-06 16:02:06 +00:00
yar
da15630ac2 MFi386 revision 1.1220: options TDFX_LINUX --> device tdfx_linux 2006-03-06 15:29:28 +00:00
yar
7ba58b694e Add appropriate xrefs.
MFC after:	3 days
2006-03-06 13:15:12 +00:00
yar
e657109519 Managing login.access is no longer a responsibility of login(1).
Therefore give a xref, not details.

MFC after:	3 days
2006-03-06 13:07:17 +00:00
markus
eb75382f52 s/MOUSE_BUTTONEVENT/MOUSE_BUTTON_EVENT/g
s/MOUSE_MOTIONEVENT/MOUSE_MOTION_EVENT/g

Approved by:	brueffer
MFC after:	3 days
2006-03-06 13:05:50 +00:00
yar
f306b6b594 Remove the last reference to LOGIN_ACCESS from login(1).
MFC after:	3 days
2006-03-06 12:56:35 +00:00