]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
18 years agokernel install script (missed in previous commit)
Sam Leffler [Wed, 8 Mar 2006 18:03:09 +0000 (18:03 +0000)]
kernel install script (missed in previous commit)

18 years agoRevamp base system packaging of kernels to enable up/smp selection
Sam Leffler [Wed, 8 Mar 2006 18:02:32 +0000 (18:02 +0000)]
Revamp base system packaging of kernels to enable up/smp selection
at runtime and to support distributing additional kernels:
o remove kernel from the base tarball
o add new kernel tarballs
o build + package both SMP and GENERIC kernels when an <arch>/conf/SMP
  config file is present
o add sysinstall support for multiple kernels
o update sysinstall to probe for the number of cpus on a system
  and auto-select smp/up kernel accordingly
o add a post-kernels install hook to fixup /boot/kernel
o add -ldevinfo to boot crunch for sysinstall's cpu probing logic

Notes:
1. On HEAD this code is not currently used because GENERIC kernels
   include SMP.  This work is mainly intended for RELENG_6 where the
   GENERIC kernel is UP.  If HEAD changes to match then just enable
   WITH_SMP in sysinstall/Makefile.
2. The cpu probing support is done with acpi and MPTable; this means
   some systems will require work for auto-detection to work.
3. The handling of /boot/kernel may need to be revisited; for now
   we rename one kernel at the last moment (SMP if installed, otherwise
   GENERIC).  There are other, possibly better, approaches.

Lots of help from ru, emaste, scottl, and jhb.

18 years agoFix output and exit status when daily_mailq_shorten is set to YES
Matteo Riondato [Wed, 8 Mar 2006 17:26:53 +0000 (17:26 +0000)]
Fix output and exit status when daily_mailq_shorten is set to YES

PR: conf/93472
MFC after: 3

18 years agoATA_USB will need to hook into the delayed boot identify to have
Søren Schmidt [Wed, 8 Mar 2006 16:39:01 +0000 (16:39 +0000)]
ATA_USB will need to hook into the delayed boot identify to have
interrupts running, so externalize it.

18 years agoUpdate a DB_SET to DB_FUNC I missed yesterday.
John Baldwin [Wed, 8 Mar 2006 15:47:48 +0000 (15:47 +0000)]
Update a DB_SET to DB_FUNC I missed yesterday.

18 years agoExplain why the first partition should start at offset 16.
Pawel Jakub Dawidek [Wed, 8 Mar 2006 14:17:26 +0000 (14:17 +0000)]
Explain why the first partition should start at offset 16.

Requested by: hrs

18 years agoFix spelling error
Matteo Riondato [Wed, 8 Mar 2006 14:10:38 +0000 (14:10 +0000)]
Fix spelling error

MFC after: 1 day

18 years agoProperly handle the case when the packet secondary zone can't allocate
Andre Oppermann [Wed, 8 Mar 2006 14:05:38 +0000 (14:05 +0000)]
Properly handle the case when the packet secondary zone can't allocate
further mbuf clusters to attach to mbufs.

Reported by: kris
Tested by: kris
Sponsored by: TCP/IP Optimization Fundraise 2005
MFC after: 3 days

18 years agoAlways read the TOC in acd_read_toc even if MEDIA_CHANGED wasn't set.
Søren Schmidt [Wed, 8 Mar 2006 10:14:39 +0000 (10:14 +0000)]
Always read the TOC in acd_read_toc even if MEDIA_CHANGED wasn't set.
Since we cannot (reliably) detect when media has been removed before we
try to touch it, this could leave stale TOC's around.

18 years agoBail out of afd_sense if ENODEV.
Søren Schmidt [Wed, 8 Mar 2006 09:21:48 +0000 (09:21 +0000)]
Bail out of afd_sense if ENODEV.

18 years agoCollapse strncpy/strncat/strncat into a single snprintf, as suggested
Garance A Drosehn [Wed, 8 Mar 2006 09:15:20 +0000 (09:15 +0000)]
Collapse strncpy/strncat/strncat into a single snprintf, as suggested
by pjd.

MFC after: 3 weeks

18 years agoFix the case where the user specifies an alternate heading for some
Garance A Drosehn [Wed, 8 Mar 2006 08:58:44 +0000 (08:58 +0000)]
Fix the case where the user specifies an alternate heading for some
output-format keyword, and the keyword they picked is an alias to
some other keyword.                 E.g.:   ps -o stat=Zustand $$
('stat' is defined as an alias for 'state')

PR: bin/57833
MFC after: 3 weeks

18 years agoAdd some notes how to properly dump kernel onto gmirror provider.
Pawel Jakub Dawidek [Wed, 8 Mar 2006 08:50:52 +0000 (08:50 +0000)]
Add some notes how to properly dump kernel onto gmirror provider.

Reviewed and corrected by: brueffer
MFC after: 3 days

18 years agoAllow to dump kernel to gmirror providers.
Pawel Jakub Dawidek [Wed, 8 Mar 2006 08:27:33 +0000 (08:27 +0000)]
Allow to dump kernel to gmirror providers.
Some conditions have to be met to make it work properly. This will be
described in the manual page.

MFC after: 3 days

18 years agoRemove leading __ from __(inline|const|signed|volatile). They are
Warner Losh [Wed, 8 Mar 2006 06:31:46 +0000 (06:31 +0000)]
Remove leading __ from __(inline|const|signed|volatile).  They are
obsolete.  This should reduce diffs to NetBSD as well.

18 years agoRemove configure.ac.in and the 'distfile' target from
Tim Kientzle [Wed, 8 Mar 2006 02:49:12 +0000 (02:49 +0000)]
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.

18 years agoDon't set IN_CHANGE and IN_UPDATE on inodes for potentially suspended
Tor Egge [Wed, 8 Mar 2006 02:14:39 +0000 (02:14 +0000)]
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

18 years agoRemove configure.ac.in and reorganize a few other things. This is
Tim Kientzle [Wed, 8 Mar 2006 01:56:06 +0000 (01:56 +0000)]
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.

18 years agoFix a bug in NFSv3 READDIRPLUS reply processing
Chuck Lever [Wed, 8 Mar 2006 01:43:01 +0000 (01:43 +0000)]
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

18 years agoIgnore dirty pages owned by "dead" objects.
Tor Egge [Wed, 8 Mar 2006 00:51:00 +0000 (00:51 +0000)]
Ignore dirty pages owned by "dead" objects.

18 years agoSet SNF_SYNC flag for timer, as the timer notification should be
David Xu [Wed, 8 Mar 2006 00:34:54 +0000 (00:34 +0000)]
Set SNF_SYNC flag for timer, as the timer notification should be
serialized.

18 years agoStyle nit.
John Baldwin [Tue, 7 Mar 2006 22:17:26 +0000 (22:17 +0000)]
Style nit.

18 years agoClean up the way we handle auxiliary commands for a given ddb command
John Baldwin [Tue, 7 Mar 2006 22:17:06 +0000 (22:17 +0000)]
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.

18 years agoUse the Alpha PCC as a cpu ticker for process runtime accounting. This is
John Baldwin [Tue, 7 Mar 2006 22:12:09 +0000 (22:12 +0000)]
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().

18 years ago- Simplify the i8254 timecounter for the alpha since we don't actually have
John Baldwin [Tue, 7 Mar 2006 21:44:20 +0000 (21:44 +0000)]
- 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

18 years agoFurther refine the bridge hack in the arp code. Only do the special arp
Andrew Thompson [Tue, 7 Mar 2006 21:40:44 +0000 (21:40 +0000)]
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

18 years agoFor consistency sake, use >= MINCLSIZE rather than > MINCLSIZE to determine
John Baldwin [Tue, 7 Mar 2006 21:31:20 +0000 (21:31 +0000)]
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)

18 years agoDisable 802.11e support for now. Did some cleanup while I'm here.
Damien Bergamini [Tue, 7 Mar 2006 20:48:23 +0000 (20:48 +0000)]
Disable 802.11e support for now.  Did some cleanup while I'm here.

18 years agoRemove trailing dot from the servername in the serverlist to be able
Hajimu UMEMOTO [Tue, 7 Mar 2006 19:13:00 +0000 (19:13 +0000)]
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

18 years agoCorrect handling of HTTP_PROXY_AUTH. A password may have `:'.
Hajimu UMEMOTO [Tue, 7 Mar 2006 19:04:16 +0000 (19:04 +0000)]
Correct handling of HTTP_PROXY_AUTH.  A password may have `:'.

Approved by: cperciva
MFC after: 2 days

18 years agoFix incorrect command line examples.
Hiroki Sato [Tue, 7 Mar 2006 18:34:18 +0000 (18:34 +0000)]
Fix incorrect command line examples.

Submitted by: Yoshihiko Sarumaru (mistral at imasy dot or dot jp)
PR: docs/94158
MFC after: 2 days

18 years agoFix version number when the feature was added.
Hiroki Sato [Tue, 7 Mar 2006 18:25:03 +0000 (18:25 +0000)]
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

18 years agoAdd a serial number for requests so we don't just depend on a request pointer
Matt Jacob [Tue, 7 Mar 2006 17:56:40 +0000 (17:56 +0000)]
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.

18 years agoPoll device for readiness before trying to get geometry etc.
Søren Schmidt [Tue, 7 Mar 2006 16:05:38 +0000 (16:05 +0000)]
Poll device for readiness before trying to get geometry etc.

18 years agoOnly look for ICRC and CORR errors on ATA devices not ATAPI.
Søren Schmidt [Tue, 7 Mar 2006 14:27:54 +0000 (14:27 +0000)]
Only look for ICRC and CORR errors on ATA devices not ATAPI.

18 years agoNOMAN --> NO_MAN
Hajimu UMEMOTO [Tue, 7 Mar 2006 14:26:17 +0000 (14:26 +0000)]
NOMAN --> NO_MAN

18 years ago- New sentence should start from the new line
Marcus Alves Grando [Tue, 7 Mar 2006 12:56:37 +0000 (12:56 +0000)]
- New sentence should start from the new line
- Forget to bump .Dd

Reported by: maxim
Approved by: maxim
MFC after: 1 day

18 years agoTwo years ago, in rev. 1.12, a typo slipped in etc/isdn/Makefile:
Yaroslav Tykhiy [Tue, 7 Mar 2006 09:53:11 +0000 (09:53 +0000)]
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

18 years agoRemove stale comments.
David Xu [Tue, 7 Mar 2006 08:42:02 +0000 (08:42 +0000)]
Remove stale comments.

18 years ago1. Always call user callback function in newly created thread, it seems
David Xu [Tue, 7 Mar 2006 08:28:07 +0000 (08:28 +0000)]
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.

18 years agoAdd a check for Linux' "libacl" library and headers.
Tim Kientzle [Tue, 7 Mar 2006 06:07:41 +0000 (06:07 +0000)]
Add a check for Linux' "libacl" library and headers.

18 years agoChange the output of --version to match GNU "gnits" standards.
Tim Kientzle [Tue, 7 Mar 2006 06:05:38 +0000 (06:05 +0000)]
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

18 years agoFix a format mismatch (%d integer format, platform-dependent
Tim Kientzle [Tue, 7 Mar 2006 06:02:09 +0000 (06:02 +0000)]
Fix a format mismatch (%d integer format, platform-dependent
argument type).

18 years agoupdate for v0.4.8 import of wpa_supplicant and hostapd
Sam Leffler [Tue, 7 Mar 2006 05:54:20 +0000 (05:54 +0000)]
update for v0.4.8 import of wpa_supplicant and hostapd

MFC after: 2 weeks

18 years agoresolve merge conflicts
Sam Leffler [Tue, 7 Mar 2006 05:51:52 +0000 (05:51 +0000)]
resolve merge conflicts

MFC after: 2 weeks

18 years agoAdd another inverted amplifier sense quirk for Kvazar-Micro Senator 3592XT.
Ariff Abdullah [Tue, 7 Mar 2006 05:48:14 +0000 (05:48 +0000)]
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

18 years agoThis commit was generated by cvs2svn to compensate for changes in r156373,
Sam Leffler [Tue, 7 Mar 2006 05:47:04 +0000 (05:47 +0000)]
This commit was generated by cvs2svn to compensate for changes in r156373,
which included commits to RCS files with non-trunk default branches.

18 years agoImport of hostapd 0.4.8
Sam Leffler [Tue, 7 Mar 2006 05:47:04 +0000 (05:47 +0000)]
Import of hostapd 0.4.8

18 years agoresolve merge conflicts
Sam Leffler [Tue, 7 Mar 2006 05:44:45 +0000 (05:44 +0000)]
resolve merge conflicts

MFC after: 2 weeks

18 years agoThis commit was generated by cvs2svn to compensate for changes in r156369,
Sam Leffler [Tue, 7 Mar 2006 05:26:33 +0000 (05:26 +0000)]
This commit was generated by cvs2svn to compensate for changes in r156369,
which included commits to RCS files with non-trunk default branches.

18 years agoImport of WPA supplicant 0.4.8
Sam Leffler [Tue, 7 Mar 2006 05:26:33 +0000 (05:26 +0000)]
Import of WPA supplicant 0.4.8

18 years agouse m_dup instead of m_copypacket when doing internal bridging
Sam Leffler [Tue, 7 Mar 2006 03:55:05 +0000 (03:55 +0000)]
use m_dup instead of m_copypacket when doing internal bridging
in case packets are modified (e.g. encrypted)

MFC after: 1 week

18 years agoCorrect a couple of typos.
Xin LI [Tue, 7 Mar 2006 02:29:21 +0000 (02:29 +0000)]
Correct a couple of typos.

Obtained from: The FreeBSD Simplified Chinese Project

18 years agoAllocate proper amount of memory. Otherwise, we pass the end of a buffer,
Wojciech A. Koszek [Mon, 6 Mar 2006 22:31:25 +0000 (22:31 +0000)]
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)

18 years agoAdd an override (DONTSTRIP) so that one can easily install debugable
David E. O'Brien [Mon, 6 Mar 2006 21:52:59 +0000 (21:52 +0000)]
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.

18 years agofixups
Sam Leffler [Mon, 6 Mar 2006 21:51:27 +0000 (21:51 +0000)]
fixups

Submitted by: ru
MFC after: 3 days

18 years agoRevert parts of 1.51 and add a missing \& after "i.e." that is not the
Giorgos Keramidas [Mon, 6 Mar 2006 17:37:42 +0000 (17:37 +0000)]
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.

18 years agodeliver an l2uf frame on sta join to prime the bridge
Sam Leffler [Mon, 6 Mar 2006 17:26:16 +0000 (17:26 +0000)]
deliver an l2uf frame on sta join to prime the bridge

Obtained from: madwifi
MFC after: 1 week

18 years agowhen scanning channels marked passive defer probe request until
Sam Leffler [Mon, 6 Mar 2006 17:23:26 +0000 (17:23 +0000)]
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

18 years agoFix the build. %ju prints uintmax_t not unsigned long long (which is
Max Laier [Mon, 6 Mar 2006 16:02:06 +0000 (16:02 +0000)]
Fix the build.  %ju prints uintmax_t not unsigned long long (which is
actually "longer" than uintmax_t for the understanding of printf).

18 years agoMFi386 revision 1.1220: options TDFX_LINUX --> device tdfx_linux
Yaroslav Tykhiy [Mon, 6 Mar 2006 15:29:28 +0000 (15:29 +0000)]
MFi386 revision 1.1220: options TDFX_LINUX --> device tdfx_linux

18 years agoAdd appropriate xrefs.
Yaroslav Tykhiy [Mon, 6 Mar 2006 13:15:12 +0000 (13:15 +0000)]
Add appropriate xrefs.

MFC after: 3 days

18 years agoManaging login.access is no longer a responsibility of login(1).
Yaroslav Tykhiy [Mon, 6 Mar 2006 13:07:17 +0000 (13:07 +0000)]
Managing login.access is no longer a responsibility of login(1).
Therefore give a xref, not details.

MFC after: 3 days

18 years agos/MOUSE_BUTTONEVENT/MOUSE_BUTTON_EVENT/g
Markus Brueffer [Mon, 6 Mar 2006 13:05:50 +0000 (13:05 +0000)]
s/MOUSE_BUTTONEVENT/MOUSE_BUTTON_EVENT/g
s/MOUSE_MOTIONEVENT/MOUSE_MOTION_EVENT/g

Approved by: brueffer
MFC after: 3 days

18 years agoRemove the last reference to LOGIN_ACCESS from login(1).
Yaroslav Tykhiy [Mon, 6 Mar 2006 12:56:35 +0000 (12:56 +0000)]
Remove the last reference to LOGIN_ACCESS from login(1).

MFC after: 3 days

18 years agologin.access.5 and login_access.c are no longer used
Yaroslav Tykhiy [Mon, 6 Mar 2006 12:54:03 +0000 (12:54 +0000)]
login.access.5 and login_access.c are no longer used
in usr.bin/login because the login.access feature has
moved to PAM completely.

Their counterparts in lib/libpam/modules/pam_login_access
have been found to be in sync with, and even in better shape
than, login.access.5 and login_access.c here.

Therefore cvs rm login.access.5 and login_access.c from
usr.bin/login so that nobody will waste their time on fixing
or developing the files here.

MFC after: 3 days

18 years agologin(1) no longer handles /etc/login.access by itself,
Yaroslav Tykhiy [Mon, 6 Mar 2006 12:38:42 +0000 (12:38 +0000)]
login(1) no longer handles /etc/login.access by itself,
it's PAM's job.

MFC after: 3 days

18 years agoSince the whole login.access feature has moved to PAM,
Yaroslav Tykhiy [Mon, 6 Mar 2006 12:31:25 +0000 (12:31 +0000)]
Since the whole login.access feature has moved to PAM,
login.access.5 will be installed from the respective PAM
module's src directory.

MFC after: 3 days

18 years agoSync with src/usr.bin/login/login.access.5.
Yaroslav Tykhiy [Mon, 6 Mar 2006 12:26:43 +0000 (12:26 +0000)]
Sync with src/usr.bin/login/login.access.5.

src/usr.bin/login/login.access.5 should be removed from use
because the whole login.access feature has moved to this PAM
module.

MFC after: 3 days

18 years agoBy default (for security reasons) syslogd(8) doesn't create log files
Pawel Jakub Dawidek [Mon, 6 Mar 2006 10:36:33 +0000 (10:36 +0000)]
By default (for security reasons) syslogd(8) doesn't create log files
when they don't exist, but sometimes its quite useful (eg. we use
non-standard log files and memory backed /var/, which is populated on
boot).

Add -C option which tells syslogd(8) to create log files if they don't
exist.

Glanced at by: phk
MFC after: 3 days

18 years agoSlightly better markup.
Tom Rhodes [Mon, 6 Mar 2006 10:12:14 +0000 (10:12 +0000)]
Slightly better markup.

Discussed with: ru

18 years agoDon't build IPv6 support if NO_INET6 was defined
Matteo Riondato [Mon, 6 Mar 2006 10:07:52 +0000 (10:07 +0000)]
Don't build IPv6 support if NO_INET6 was defined

PR: kern/73865
Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
MFC after: 3 days

18 years agoImprove the advantech watchdog.
Poul-Henning Kamp [Mon, 6 Mar 2006 07:43:28 +0000 (07:43 +0000)]
Improve the advantech watchdog.

18 years agoFix usage().
Poul-Henning Kamp [Mon, 6 Mar 2006 07:42:52 +0000 (07:42 +0000)]
Fix usage().

Submitted by: Adrian Steinmann <ast@marabu.ch>

18 years agoAdd new 'setkeyboard' method to the /etc/rc.d/syscons. It accepts the
Maksim Yevmenkin [Mon, 6 Mar 2006 06:38:34 +0000 (06:38 +0000)]
Add new 'setkeyboard' method to the /etc/rc.d/syscons. It accepts the
keyboard device name (i.e. /dev/kbd0). This method will do nothing is
kbdmux(4) is the current active keyboard, otherwise it will switch
active keyboard as requested.

Modify ukbd(4) entries in the /etc/devd.conf to use /etc/rc.d/syscons
and new 'setkeyboard' method.

No comments from: freebsd-current@
MFC after: 1 day

18 years agoOnly catch SIGINFO (for dumping thread states) when LIBPTHREAD_DEBUG
Daniel Eischen [Mon, 6 Mar 2006 05:02:28 +0000 (05:02 +0000)]
Only catch SIGINFO (for dumping thread states) when LIBPTHREAD_DEBUG
is defined in the environment.

Requested by: jmg & a few others

18 years agofix for non-i386/amd64 machines
Sam Leffler [Mon, 6 Mar 2006 02:58:25 +0000 (02:58 +0000)]
fix for non-i386/amd64 machines

Submitted by: marcel
MFC after: 3 days

18 years agoIf we miss the LINK_UP event from the network interface then the bridge port
Andrew Thompson [Mon, 6 Mar 2006 02:28:41 +0000 (02:28 +0000)]
If we miss the LINK_UP event from the network interface then the bridge port
will remain in the disabled state until another link event happens in the
future (if at all). Add a timer to periodically check the interface state and
recover.

Reported by: Nik Lam <freebsdnik j2d.lam.net.au>
MFC after: 3 days

18 years agoFix include paths to make this compile.
Mike Silbersack [Sun, 5 Mar 2006 23:27:51 +0000 (23:27 +0000)]
Fix include paths to make this compile.

18 years agoRetire NETSMBCRYPTO as a kernel option and make its functionality
Yaroslav Tykhiy [Sun, 5 Mar 2006 22:52:17 +0000 (22:52 +0000)]
Retire NETSMBCRYPTO as a kernel option and make its functionality
enabled by default in NETSMB and smbfs.ko.

With the most of modern SMB providers requiring encryption by
default, there is little sense left in keeping the crypto part
of NETSMB optional at the build time.

This will also return smbfs.ko to its former properties users
are rather accustomed to.

Discussed with: freebsd-stable, re (scottl)
Not objected by: bp, tjr (silence)
MFC after: 5 days

18 years agoAdd USB modes.
Søren Schmidt [Sun, 5 Mar 2006 21:32:38 +0000 (21:32 +0000)]
Add USB modes.

18 years agoDocument new chipsets (RT2561, RT2561S and RT2661).
Damien Bergamini [Sun, 5 Mar 2006 20:57:25 +0000 (20:57 +0000)]
Document new chipsets (RT2561, RT2561S and RT2661).

Obtained from: OpenBSD

18 years agoImport microcodes for RT2561, RT2561S and RT2661 chipsets.
Damien Bergamini [Sun, 5 Mar 2006 20:41:51 +0000 (20:41 +0000)]
Import microcodes for RT2561, RT2561S and RT2661 chipsets.
With permission from Ralink Technology.

18 years agoAdd support for the second (RT2561/RT2561S) and third (RT2661 MIMO XR)
Damien Bergamini [Sun, 5 Mar 2006 20:38:55 +0000 (20:38 +0000)]
Add support for the second (RT2561/RT2561S) and third (RT2661 MIMO XR)
generations of 802.11abg chipsets from Ralink Technology.
Get rid of the pccard front-end while I'm here since all adapters are
cardbus ones.

18 years agoAdd support for the second (RT2561/RT2561S) and third (RT2661 MIMO XR)
Damien Bergamini [Sun, 5 Mar 2006 20:36:56 +0000 (20:36 +0000)]
Add support for the second (RT2561/RT2561S) and third (RT2661 MIMO XR)
generations of 802.11abg chipsets from Ralink Technology.
Get rid of the pccard front-end while I'm here since all adapters are
cardbus ones.

Obtained from: OpenBSD

18 years agoUpdate atapi-fd to support direct devices such as disks.
Søren Schmidt [Sun, 5 Mar 2006 20:30:54 +0000 (20:30 +0000)]
Update atapi-fd to support direct devices such as disks.

18 years agoAdd some more pthread stubs so that librt can use them.
Daniel Eischen [Sun, 5 Mar 2006 18:10:28 +0000 (18:10 +0000)]
Add some more pthread stubs so that librt can use them.
The thread jump table has been resorted, so you need to
keep libc, libpthread, and libthr in sync.

Submitted by: xu

18 years agoWhen we get an unknown ATAPI comand, try it even if it is not listed,
Poul-Henning Kamp [Sun, 5 Mar 2006 17:52:32 +0000 (17:52 +0000)]
When we get an unknown ATAPI comand, try it even if it is not listed,
in all likelyhood just passing it through will work.

18 years agoAdd two new ATAPI commands.
Søren Schmidt [Sun, 5 Mar 2006 17:43:13 +0000 (17:43 +0000)]
Add two new ATAPI commands.

18 years agoGrammar nits & some mdoc fixes, i.e. use ``.Nm fec<RET>node'' consistently
Giorgos Keramidas [Sun, 5 Mar 2006 15:56:22 +0000 (15:56 +0000)]
Grammar nits & some mdoc fixes, i.e. use ``.Nm fec<RET>node'' consistently
throughout the manpage text.

Reviewed by: wpaul

18 years agoRevert `proto ip' back to the previous behavior. The kernel side of
Hajimu UMEMOTO [Sun, 5 Mar 2006 15:55:46 +0000 (15:55 +0000)]
Revert `proto ip' back to the previous behavior.  The kernel side of
ipfw2 doesn't allow zero as protocol number.

MFC after: 3 days

18 years agoVarious textual improvements.
Giorgos Keramidas [Sun, 5 Mar 2006 15:54:22 +0000 (15:54 +0000)]
Various textual improvements.

18 years ago- Correct grammos in comments and end them with full stops.
Jens Schweikhardt [Sun, 5 Mar 2006 15:53:07 +0000 (15:53 +0000)]
- Correct grammos in comments and end them with full stops.
- Use "if !" instead of empty true branches.
- Don't hardcode script name in usage message, use $0 instead.
- Cleanup some whitespace.

18 years agoEnhance loginfail: it will catch sshd, proftpd and su errors, as well as other programs
Matteo Riondato [Sun, 5 Mar 2006 15:45:38 +0000 (15:45 +0000)]
Enhance loginfail: it will catch sshd, proftpd and su errors, as well as other programs

PR: conf/70973
Submitted by: Ryan Sommers" <ryans@gamersimpact.com>
Approved by: philip (mentor)
MFC after: 3 days

18 years agoBring the zh_CN.GB2312 translation for -HEAD up-to-date with the English
Xin LI [Sun, 5 Mar 2006 15:07:57 +0000 (15:07 +0000)]
Bring the zh_CN.GB2312 translation for -HEAD up-to-date with the English
Revisions.

Obtained from: The FreeBSD Simplified Chinese Project CVS

18 years agoFix spelling error.
Robert Watson [Sun, 5 Mar 2006 13:30:37 +0000 (13:30 +0000)]
Fix spelling error.

Submitted by: remko

18 years agoRemove a useless word.
Christian Brueffer [Sun, 5 Mar 2006 10:32:15 +0000 (10:32 +0000)]
Remove a useless word.

PR: 94087
Submitted by: Tadaaki Nagao <nagao@iij.ad.jp>
MFC after: 3 days

18 years agoAdd another inverted amplifier sense quirk for Sony VAIO Type T.
Ariff Abdullah [Sun, 5 Mar 2006 02:26:51 +0000 (02:26 +0000)]
Add another inverted amplifier sense quirk for Sony VAIO Type T.

PR: kern/94056
Submitted by: Yoshihiko Sarumaru <mistral at imasy.or.jp>
MFC after: 3 days

18 years agoturn some WARNs for unknown events into INFOs
Matt Jacob [Sat, 4 Mar 2006 21:46:34 +0000 (21:46 +0000)]
turn some WARNs for unknown events into INFOs

18 years agoCreate a mac_bsdextended_check_vp function that takes a cred, a
David Malone [Sat, 4 Mar 2006 20:47:19 +0000 (20:47 +0000)]
Create a mac_bsdextended_check_vp function that takes a cred, a
vnode and a mode and checks if a given access mode is permitted.
This centralises the mac_bsdextended_enabled check and the GETATTR
calls and makes the implementation of the mac policy methods simple.

This should make it easier for us to match vnodes on more complex
attributes than just uid and gid in the future, but for now there
should be no functional change.

Approved/Reviewed by: rwatson, trhodes
MFC after: 1 month