]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
18 years agoRevert to setting vlan and vlandev parametes synchronously, as soon
yar [Thu, 9 Mar 2006 14:58:09 +0000 (14:58 +0000)]
Revert to setting vlan and vlandev parametes synchronously, as soon
as both have been read from the command line.  Still use the callback,
but this time only to verify that both vlan and vlandev have been
found on the command line.

This should allow for control over the relative order of processing
parameters, which is needed to satisfy some caveats of the if_vlan
driver.  E.g., MTU cannot be changed on a vlan interface until it's
attached to its parent.

PR:             bin/94028
Reviewed by:    ru
MFC after:      3 days

18 years agoAdd -F option to not fail on already installed packages.
phk [Thu, 9 Mar 2006 14:49:19 +0000 (14:49 +0000)]
Add -F option to not fail on already installed packages.

Submitted by:   Eugene Grosbein <eugen@grosbein.pp.ru>

18 years agoIn addition to -b (suppress builds) add -k (suppress kernel build) and
phk [Thu, 9 Mar 2006 14:43:07 +0000 (14:43 +0000)]
In addition to -b (suppress builds) add -k (suppress kernel build) and
-w (suppress world).

18 years agoDon't acquire a lock before calling vlan_unconfig().
ru [Thu, 9 Mar 2006 14:42:51 +0000 (14:42 +0000)]
Don't acquire a lock before calling vlan_unconfig().
This fixes a panic when doing "ifconfig ... -vlandev".

OK'ed by: glebius

18 years agoAfter revision 1.4 of `src/usr.sbin/bsnmpd/bsnmpd/Makefile' the
keramida [Thu, 9 Mar 2006 12:55:02 +0000 (12:55 +0000)]
After revision 1.4 of `src/usr.sbin/bsnmpd/bsnmpd/Makefile' the
gensnmptree utility is required at "make depend" time, because it
is used to generate `oid.h' for bsnmpd.

This means that all versions of HEAD before 2004/01/23 16:22:49 need
gensnmptree as a bootstrap util when it's not already installed as
part of the base system.  The first __FreeBSD_version that we can
assume this can work is 700014 which happened after the gensnmptree
change (in -r 1.263 of `src/sys/sys/param.h', at 2006/02/17 14:14:15).

For __FreeBSD_version values before 700014 add gensnmptree to the
bootstrap tools, to allow upgrades from versions of FreeBSD before
that date.

Approved by: ru, harti

18 years agoOnly use the channel in the request given to ata_completed if its
sos [Thu, 9 Mar 2006 10:25:35 +0000 (10:25 +0000)]
Only use the channel in the request given to ata_completed if its
still present.

18 years agotypo.
sos [Thu, 9 Mar 2006 10:24:03 +0000 (10:24 +0000)]
typo.

18 years agoOops, forgot newline.
phk [Thu, 9 Mar 2006 09:44:10 +0000 (09:44 +0000)]
Oops, forgot newline.

18 years agoAdd slop to "backwards" cpu accounting messages, 3 usec or 1% whichever
phk [Thu, 9 Mar 2006 09:33:17 +0000 (09:33 +0000)]
Add slop to "backwards" cpu accounting messages, 3 usec or 1% whichever
triggers.

This should eliminate all the trivial messages which result from minor
increases in cpu_tick frequency.

Machines which don't du cpu clock fiddling shouldn't issue "backwards"
messages now.

Laptops and other machines where the initial estimate of cputicks may be
waaaay off will still issue warnings.

18 years agosilence cpu_tick calibration and notice only (under bootverbose)
phk [Thu, 9 Mar 2006 09:30:33 +0000 (09:30 +0000)]
silence cpu_tick calibration and notice only (under bootverbose)
when the frequency increases.

18 years agoIgnore kenv strings which overflow the room we have, rather than pretend
phk [Thu, 9 Mar 2006 09:29:41 +0000 (09:29 +0000)]
Ignore kenv strings which overflow the room we have, rather than pretend
we have room for them.

18 years agoGet rid of all the "long long"/"maxint" casting around in printf's.
sos [Thu, 9 Mar 2006 08:34:44 +0000 (08:34 +0000)]
Get rid of all the "long long"/"maxint" casting around in printf's.
On all our platforms intmax == int64_t so simply using %j to print
int64_t's is safe all over, and doesn't pullute the code.

18 years agoRemove _STOPEVENT call, it is already called in issignal, simplify
davidxu [Thu, 9 Mar 2006 08:31:51 +0000 (08:31 +0000)]
Remove _STOPEVENT call, it is already called in issignal, simplify
code for SIGKILL signal.

18 years agons_name_skip was not prefixed by `__'.
ume [Thu, 9 Mar 2006 03:47:11 +0000 (03:47 +0000)]
ns_name_skip was not prefixed by `__'.

Obtained from: BIND9

18 years agoWhen a process is de-configuring a log file, also stop all of its
jkoshy [Thu, 9 Mar 2006 02:08:12 +0000 (02:08 +0000)]
When a process is de-configuring a log file, also stop all of its
PMCs that require a log file to operate.  This change should fix
PR 90269.

PR: kern/90269
MFC after: 1 week

18 years agoNow that we now spell NO_MAN=xxx MAN=, update the docs.
imp [Thu, 9 Mar 2006 01:33:38 +0000 (01:33 +0000)]
Now that we now spell NO_MAN=xxx MAN=, update the docs.

Submitted by: John Hein

18 years agoConnect librt to buildworld.
davidxu [Thu, 9 Mar 2006 01:03:58 +0000 (01:03 +0000)]
Connect librt to buildworld.

18 years agocorrect ni_txrate when using a fixed rate; fixes current rate reporting
sam [Thu, 9 Mar 2006 00:28:44 +0000 (00:28 +0000)]
correct ni_txrate when using a fixed rate; fixes current rate reporting

MFC after: 3 days

18 years agoRemove mqueue and timer, now they are in librt.
davidxu [Wed, 8 Mar 2006 23:47:04 +0000 (23:47 +0000)]
Remove mqueue and timer, now they are in librt.

18 years agoUse vn_start_secondary_write() and vn_finished_secondary_write() as a
tegge [Wed, 8 Mar 2006 23:43:39 +0000 (23:43 +0000)]
Use vn_start_secondary_write() and vn_finished_secondary_write() as a
replacement for vn_write_suspend_wait() to better account for secondary write
processing.

Close race where secondary writes could be started after ffs_sync() returned
but before the file system was marked as suspended.

Detect if secondary writes or softdep processing occurred during vnode sync
loop in ffs_sync() and retry the loop if needed.

18 years agoRemove mq.c, the POSIX mqueue is implemented in librt.
davidxu [Wed, 8 Mar 2006 23:42:41 +0000 (23:42 +0000)]
Remove mq.c, the POSIX mqueue is implemented in librt.

Suggested by: deischen

18 years agoSwitch these makefiles to use 'MAN=' to indicate they will not generate
gad [Wed, 8 Mar 2006 22:28:12 +0000 (22:28 +0000)]
Switch these makefiles to use 'MAN=' to indicate they will not generate
a man page, instead of 'NO_MAN='.  'NO_MAN=' is something users would
set, not something a makefile should be using.

Based on comments by: des

18 years agoFix overriding jail_list from command line.
fjoe [Wed, 8 Mar 2006 20:40:37 +0000 (20:40 +0000)]
Fix overriding jail_list from command line.

MFC after: 3 days

18 years agoFix exec_map resource leaks.
ups [Wed, 8 Mar 2006 20:21:54 +0000 (20:21 +0000)]
Fix exec_map resource leaks.

Tested by: kris@

18 years agoWhen parsing an RPC request in nfsrv_dorec(), KASSERT that there
simon [Wed, 8 Mar 2006 20:21:15 +0000 (20:21 +0000)]
When parsing an RPC request in nfsrv_dorec(), KASSERT that there
actually is an mbuf to process.  This catches the missing mbuf before it
would otherwise causes a NULL pointer dereference, which could be
triggered by a 0 length RPC record before the check for such records was
added in rev 1.97.

Approved by: cperciva (mentor)

18 years agokernel install script (missed in previous commit)
sam [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 [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 [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
sos [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.
jhb [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.
pjd [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 [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 [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.
sos [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.
sos [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
gad [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
gad [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.
pjd [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.
pjd [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
imp [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
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
tegge [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
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
cel [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.
tegge [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
davidxu [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.
jhb [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
jhb [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
jhb [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
jhb [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
thompsa [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
jhb [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 [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
ume [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 `:'.
ume [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.
hrs [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.
hrs [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
mjacob [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.
sos [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.
sos [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
ume [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
mnag [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:
yar [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.
davidxu [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
davidxu [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.
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.
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
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 [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 [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 [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 [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 [Tue, 7 Mar 2006 05:47:04 +0000 (05:47 +0000)]
Import of hostapd 0.4.8

18 years agoresolve merge conflicts
sam [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 [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 [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 [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.
delphij [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,
wkoszek [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
obrien [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 [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
keramida [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 [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 [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
mlaier [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
yar [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.
yar [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).
yar [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 [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).
yar [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
yar [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,
yar [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,
yar [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.
yar [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
pjd [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.
trhodes [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 [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.
phk [Mon, 6 Mar 2006 07:43:28 +0000 (07:43 +0000)]
Improve the advantech watchdog.

18 years agoFix usage().
phk [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
emax [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