rafan [Tue, 30 Oct 2007 01:30:42 +0000 (01:30 +0000)]
Restore ctype(3) ABI forward compatibility in 6.x world. This was broken
with last ctype(3) single-byte and multi-byte separation for fixing
operating on UTF-8 locale. To be specific, we introduced a new symbol in
libc. And this symbol is referred via inline functions here. So, you can
not run a binary built with this version of libc on an older system. To
restore the compatibility, make these functions built as non-inlined
form (see lib/libc/nomarco.c) and MFC rev 1.32 which drops the usage of
that symbol in question for __isctype(). As this may impact performance,
I only intend to fix in 6.x, but not 7 (not yet released) and 8 (it's HEAD).
Discussed on: cvs-src
Requested by: scottl
Reviewed by: ache, delphij
Approved by: re (kensmith)
Implement new apply callback mechanism to handle item forwarding.
When item forwarded, refence counter is incremented, when item
processed, counter decremented. When counter reaches zero,
apply handler is getting called.
It allows to report connect() call status only when it is really completed.
sam [Sun, 28 Oct 2007 17:46:39 +0000 (17:46 +0000)]
MFC 1.87: Close longstanding race dropping inactive stations; grab
a reference to the node before starting the work, otherwise the
node may go away before a reference is made in ieee80211_send_mgmt.
dougb [Sun, 28 Oct 2007 00:30:18 +0000 (00:30 +0000)]
MFC version 1.27:
1. Determine the location of the rndc* binaries relative to $command
2. Make the stop routine work more like rc.subr's, but try rndc first
3. Allow the rndc.key file to be owned by root OR the named_uid user
scottl [Fri, 26 Oct 2007 23:51:46 +0000 (23:51 +0000)]
Update to version 3.60.04.006. This adds support newer SAS controllers. This
is a partial MFC of what went into HEAD/RELENG_7; the locking changes that
constitude the other part do not apply to RELENG_6.
Many thanks to 3Ware/AMCC for their continued support of FreeBSD.
Submitted by: Manjunath Ranganathaiah
Approved by: re
ariff [Fri, 26 Oct 2007 20:48:18 +0000 (20:48 +0000)]
MFC: (revision 1.45)
- Gigabyte G33-S2H fixup, due to the present of multiple competing
codecs. Codec at address 0 seems purely digital, or perhaps an HDMI
interface. Let the driver skip it and continue scanning the codecs
starting with address 2 (Realtek ALC885).
* Due to possibilities of future similar cases, put enough logic
in hdac_scan_codecs() to force codec scanning starting from
XX address via tunable "hint.pcm.%d.codec_index".
Reported / Tested by: Toomas Pelberg <toomasp@gmx.net>
- Trivial headphone / speaker automute fixup for Fujitsu-Siemens
AMILO Si 1848 laptop.
- Some smart vendor trying to create interplanetary wormhole by
screwing pci config space during their BIOS update. The side effects
of their failure attempt includes mutilated hardware id, broken
speaker automuting and loosing the entire analog CD connectivity,
thus causing enough collateral damages to collapse the entire
universe. Move along with it.
Please exercise extra cautious when applying BIOS updates.
Reported / Tested by: Pietro Cerutti <gahr@gahr.ch>
- assembled laptop, based on the MSI-1034
(662) which is now becoming MSI-034A.
- Fix no sound issues (on headphones) for Lenovo ThinkCentre A55 due
to global automute table entry which is not applicable for
non-laptops.
Reported / Tested by: Piotr Smyrak <piotr.smyrak@heron.pl>
- Speaker mute control for HP DC7700 since the front headphone jack
does not generate any interesting unsolicited signal/response.
delphij [Thu, 25 Oct 2007 19:52:22 +0000 (19:52 +0000)]
Bump __FreeBSDversion for wide and single byte ctype separation
MFC. While the change does not break backward binary
compatibility, it will potentially cause programs compiled on
a new world not to run on older RELENG_6 systems, so we have
to make it possible to distungish between old and new states.
mtm [Thu, 25 Oct 2007 17:20:22 +0000 (17:20 +0000)]
MFC: rev. 1.6 and 1.7
revision 1.6
date: 2007/05/17 11:33:08; author: mtm; state: Exp; lines: +3 -3
o Use the --detach option to kdc(8) instead of using the shell
background operator '&'.
PR: conf/102722
o No need to include $kerberos5_server_flags in $command_args as
rc.subr(8) will take care of this.
revision 1.7
Partial backout of rev. 1.6, but instead of putting kerberos5_server_flags
back in command_args, put it where rc.subr(8) expects it: kerberos5_flags.
mtm [Thu, 25 Oct 2007 14:36:12 +0000 (14:36 +0000)]
MFC:
Eliminate global symbols starting with an underscore from rc.d
scripts, except for mdconfig* and jail. Such symbols are reserved
for the rc.subr internals. Most scripts can be fixed by just
declaring _foo symbols as local: few scripts actually need them to
be global.
mtm [Thu, 25 Oct 2007 14:04:19 +0000 (14:04 +0000)]
MFC:
o Implement the stop_boot subroutine [1]. This subroutine can be used by
scripts in rc.d to stop rc(8) from booting into multi-user mode when
a critical or severe error condition is encountered.
o Modify scripts in etc/rc.d that already implemented this functionality
independently.
o Document it.
[1] - This subroutine was implemented in FreeBSD in rc.d/fsck. I moved it
to rc.subr(8). Our version differs slightly in that it takes an
optional argument to stop the boot even if "autoboot" is not set.
rafan [Thu, 25 Oct 2007 06:45:29 +0000 (06:45 +0000)]
- Add a note about ctype(3) breakage. A proper fix is being working on,
should be committed soon. Before that, advice users not to upgrade
world. Also add instructions about how to recover from it.
simokawa [Thu, 25 Oct 2007 06:10:19 +0000 (06:10 +0000)]
Temporary fix for polling.
- fwohci_arcv() has a problem if the number of packets to be processed
is limited.
- RELENG_7 and -current already have a same workaround.
edwin [Thu, 25 Oct 2007 03:52:42 +0000 (03:52 +0000)]
MFC of 1.11
Teach makewhatis.c to treat .SS with the same severity as .SH.
At least one port (net-mgmt/net-snmp) creates man-pages which are
in the format:
.SH NAME
The Net-SNMP agent \- The snmp agent responds to SNMP queries from manag
ement stations.
.PP
.SS "Modules"
At this moment, makewhatis determines the end of the .SH NAME section
as where it finds .SH again, but there is none here, is it "terminated"
by the .SS.
dougb [Wed, 24 Oct 2007 21:36:09 +0000 (21:36 +0000)]
MFC revisions 1.13 of NETWORKING and 1.37 of resolv:
1. Make resolv order deterministic by REQUIRE'ing it in NETWORKING,
and having resolv REQUIRE netif.
2. Tighten up the code and fix whitespace in resolv
dougb [Wed, 24 Oct 2007 21:09:34 +0000 (21:09 +0000)]
Bring all files up to date with HEAD, which includes:
1. Misc. typo fixes
2. Lots of duplicate removal in the limerick file
3. Some updates to freebsd-tips
And most recently:
MFC fortunes 1.242: The original version of "The Guy in the Glass" with
proper attribution. See also http://www.theguyintheglass.com/
MFC fortunes 1.243, fortunes-o.real 1.23, and limerick 1.12:
Fix a few small typos and remove a duplicate
daichi [Tue, 23 Oct 2007 03:37:10 +0000 (03:37 +0000)]
MFC:
Added whiteout behavior option. ``-o whiteout=always'' is default mode
(it is established practice) and ``-o whiteout=whenneeded'' is less
disk-space using mode especially for resource restricted environments
like embedded environments. (Contributed by Ed Schouten. Thanks)
daichi [Tue, 23 Oct 2007 03:32:17 +0000 (03:32 +0000)]
MFC:
- It has been become MPSAFE.
- Fixed lock panic issue under MPSAFE.
- Fixed panic issue whenever it locks vnode with reclaim.
- Fixed lock implementations not conforming to vnode_if.src style.
daichi [Tue, 23 Oct 2007 03:28:22 +0000 (03:28 +0000)]
MFC:
- Added support for vfs_cache on unionfs. As a result, you can use
applications that use procfs on unionfs.
- Removed unionfs internal cache mechanism because it has
vfs_cache support instead. As a result, it just simplified code of
unionfs.
- Fixed kern/111262 issue.
mtm [Fri, 19 Oct 2007 08:16:30 +0000 (08:16 +0000)]
MFC:
rmuser.8 rev. 1.24,1.24 : Typo fixes.
adduser.8 rev. 1.57-1.59: Typo and markup fixes
rev. 1.56:
Add adding_user.8 to SEE ALSO, note that usernames may
contain any character but not being with a hyphen,
similar to adding_user.8.
kientzle [Thu, 18 Oct 2007 05:19:44 +0000 (05:19 +0000)]
MFC 1.15: Return EOF immediately for non-regular files, don't
return an empty block first. In particular, this fixes a bogus
warning from bsdtar when restoring directories from ZIP archives.
Also, correct the return values at EOF to include the correct
offset.
cognet [Wed, 17 Oct 2007 23:29:02 +0000 (23:29 +0000)]
MFC:
arm/xscale/i80321/i80321_timer.c 1.8
arm/xscale/i80321/std.iq31244 rev 1.3
conf/options.arm rev 1.6
The IQ80321 clock is 200MHz, but the IQ31244 is 198MHz, so add a kernel option
to override the frequency
cognet [Tue, 16 Oct 2007 21:13:59 +0000 (21:13 +0000)]
MFC rev 1.33/
date: 2007/06/10 12:33:01; author: cognet; state: Exp; lines: +2 -1
Initialize the dma tag's bounce_zone to NULL if we didn't allocate it.
thompsa [Thu, 11 Oct 2007 20:28:53 +0000 (20:28 +0000)]
MFC if_bridge.c r1.103, if_bridge.4 r1.29
Allow additional packet filtering on the physical interface for locally
destined packets, disabled by default.