]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agonuke compatibility cruft
sam [Mon, 11 Dec 2006 00:32:15 +0000 (00:32 +0000)]
nuke compatibility cruft

MFC after: 1 month

17 years agoKTR entry contained invalid context reference - ifdef out
kmacy [Sun, 10 Dec 2006 18:09:44 +0000 (18:09 +0000)]
KTR entry contained invalid context reference - ifdef out

17 years agoAdd a new turkish mirror
erwin [Sun, 10 Dec 2006 16:33:38 +0000 (16:33 +0000)]
Add a new turkish mirror

Submitted by:   Evren Yurtesen <yurtesen@ispro.net>
Reviewed by:    simon
MFC after:      3 days

17 years agoBack out revision 1.264.
bms [Sun, 10 Dec 2006 13:44:00 +0000 (13:44 +0000)]
Back out revision 1.264.

Fixing the IP accounting issue, if we plan to do so, needs to be better
thought out; the 'fix' introduces a hash lookup and a possible kernel panic.

Reported by: Mark Tinguely

17 years agoWhen directory is given as an argument for unlink(2), EPERM is returned
pjd [Sun, 10 Dec 2006 13:04:36 +0000 (13:04 +0000)]
When directory is given as an argument for unlink(2), EPERM is returned
not matter if this is regular directory or a mount point.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r165078,
dougb [Sun, 10 Dec 2006 07:12:50 +0000 (07:12 +0000)]
This commit was generated by cvs2svn to compensate for changes in r165078,
which included commits to RCS files with non-trunk default branches.

17 years agoChanges to generated files related to the 9.3.3 import.
dougb [Sun, 10 Dec 2006 07:11:04 +0000 (07:11 +0000)]
Changes to generated files related to the 9.3.3 import.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r165071,
dougb [Sun, 10 Dec 2006 07:09:56 +0000 (07:09 +0000)]
This commit was generated by cvs2svn to compensate for changes in r165071,
which included commits to RCS files with non-trunk default branches.

17 years agoVendor import of BIND 9.3.3
dougb [Sun, 10 Dec 2006 07:09:56 +0000 (07:09 +0000)]
Vendor import of BIND 9.3.3

17 years agoStyle: Shorten a couple of lines with u_int and u_long.
imp [Sun, 10 Dec 2006 06:36:41 +0000 (06:36 +0000)]
Style: Shorten a couple of lines with u_int and u_long.

17 years agoFix AD1986A (and possibily other codecs too) microphone issues.
ariff [Sun, 10 Dec 2006 06:13:41 +0000 (06:13 +0000)]
Fix AD1986A (and possibily other codecs too) microphone issues.

Tested by: xride (using skype, xanalyser, etc. ; play/record)

17 years agoremove more uses of trap_conversion to get more meaningful trap messages
kmacy [Sun, 10 Dec 2006 06:00:09 +0000 (06:00 +0000)]
remove more uses of trap_conversion to get more meaningful trap messages
add a printf for when we fault on the direct area (should never happen)

17 years agoRemember to include isp_library.o when building an isp module.
mjacob [Sun, 10 Dec 2006 05:51:27 +0000 (05:51 +0000)]
Remember to include isp_library.o when building an isp module.

17 years agoMake cam_xpt's pronouncements match camcontrol
mjacob [Sun, 10 Dec 2006 05:37:48 +0000 (05:37 +0000)]
Make cam_xpt's pronouncements match camcontrol
(Tagged -> Command) Queueing.

17 years agoMake MAXPHYS and DFLTPHYS options (finally).
mjacob [Sun, 10 Dec 2006 04:23:23 +0000 (04:23 +0000)]
Make MAXPHYS and DFLTPHYS options (finally).

17 years agoDo explicit bounds checking as a function of the actual size of the
kmacy [Sun, 10 Dec 2006 04:18:03 +0000 (04:18 +0000)]
Do explicit bounds checking as a function of the actual size of the
reloc_target_bitmask array as opposed to the (known) index of the last value.
This change fixes CID 691.

17 years agobetter handle the case of hw.physmemstart being hw.physmem not being set,
kmacy [Sun, 10 Dec 2006 04:14:29 +0000 (04:14 +0000)]
better handle the case of hw.physmemstart being hw.physmem not being set,
previously we were acting as if physmem was being set when it was not

17 years agoThe MODULE_NAME should "ispfw" unless overriden, not "isp".
mjacob [Sun, 10 Dec 2006 03:42:57 +0000 (03:42 +0000)]
The MODULE_NAME should "ispfw" unless overriden, not "isp".

17 years agoRemove dependency on ispfw and firmware as modules.
mjacob [Sun, 10 Dec 2006 03:41:48 +0000 (03:41 +0000)]
Remove dependency on ispfw and firmware as modules.
Either they're there early and the ispfw sets have
registered themselves, or they're not.

The module dependency stuff isn't quite what we want
anyway. If the user doesn't want the load placed on
system memory by loading the firmware, they don't
specify it to be loaded (either by being linked in
or via being a module to be loaded and then hooked
in with firmware(9)). It doesn't then make sense to
then override what they want by pulling it in anyway.

This might be able to work if we were able to pull in
just exactly what we needed for the card we have- but
that's an optimization left for the future.

17 years agoAdd hw.physmemstart loader variable to enable the user to specify the address
kmacy [Sun, 10 Dec 2006 01:52:46 +0000 (01:52 +0000)]
Add hw.physmemstart loader variable to enable the user to specify the address
at which the kernel should start allocating physical memory. The primary
purpose of this is to test 64-bit cleanness of the data path by setting
hw.physmemstart=4G so that all physical allocations are above 4GB. AMD64
and i386/PAE could also benefit from having this option.

17 years agoMake mpt_pci depend on pci and mpt_cam depend on CAM.
mjacob [Sun, 10 Dec 2006 01:13:56 +0000 (01:13 +0000)]
Make mpt_pci depend on pci and mpt_cam depend on CAM.

PR: 106536
Suggested by: Norikatsu Shigemura
MFC after: 3 days

17 years agoAs Bernd Walter points out, the rlphy is used for more things than
imp [Sun, 10 Dec 2006 01:10:08 +0000 (01:10 +0000)]
As Bernd Walter points out, the rlphy is used for more things than
just the intenral phy on parts supported by the rl and re drivers, the
RTL8201BL for example.  He also sent me a nice picture of hundreds of
these chips in a tray to boulder his claim.  :-) Therefore remove a
comment that suggested that they were...

17 years agoIf the named file has its immutable or append-only flag set, utimes(2)
pjd [Sat, 9 Dec 2006 23:13:05 +0000 (23:13 +0000)]
If the named file has its immutable or append-only flag set, utimes(2)
returns EPERM.

17 years agoFix handling of the hw.physmem loader variable use real_phys_avail[] which
kmacy [Sat, 9 Dec 2006 23:11:30 +0000 (23:11 +0000)]
Fix handling of the hw.physmem loader variable use real_phys_avail[] which
is already bounded by hw.physmem to calculate phys_avail[] - previously only
real_phys_avail[] was being bound by hw.physmem so we were allocating memory
that wasn't mapped in the direct map

17 years agoIf the parent directory of the named file has its immutable flag set,
pjd [Sat, 9 Dec 2006 23:06:01 +0000 (23:06 +0000)]
If the parent directory of the named file has its immutable flag set,
mkfifo(2) returns EPERM.

17 years agoIf the parent directory of the destination file has its immutable flag set,
pjd [Sat, 9 Dec 2006 23:01:38 +0000 (23:01 +0000)]
If the parent directory of the destination file has its immutable flag set,
symlink(2) returns EPERM.

17 years ago- If the source file has its immutable or append-only flag set, link(2)
pjd [Sat, 9 Dec 2006 22:56:40 +0000 (22:56 +0000)]
- If the source file has its immutable or append-only flag set, link(2)
  returns EPERM.
- If the parent directory of the destination file has its immutable flag set,
  link(2) returns EPERM.

17 years agoIf the named file has its immutable or append-only flag set, truncate(2)
pjd [Sat, 9 Dec 2006 22:49:28 +0000 (22:49 +0000)]
If the named file has its immutable or append-only flag set, truncate(2)
and ftruncate(2) return EPERM.

Note, that if the append-only flag is set even increasing size of the file
is not permitted.

17 years agoIf the named file has its immutable flag set, chown(2) returns EPERM.
pjd [Sat, 9 Dec 2006 22:41:26 +0000 (22:41 +0000)]
If the named file has its immutable flag set, chown(2) returns EPERM.

17 years agoIf the named file has its immutable flag set, chmod(2) returns EPERM.
pjd [Sat, 9 Dec 2006 22:41:01 +0000 (22:41 +0000)]
If the named file has its immutable flag set, chmod(2) returns EPERM.

17 years agoAdd reference to chflags(2).
pjd [Sat, 9 Dec 2006 22:39:28 +0000 (22:39 +0000)]
Add reference to chflags(2).

17 years agoIf the parent directory of the named file has its immutable flag set,
pjd [Sat, 9 Dec 2006 22:35:55 +0000 (22:35 +0000)]
If the parent directory of the named file has its immutable flag set,
mkdir(2) returns EPERM.

17 years agoInstead of explicitly initializing variables to avoid compiler warnings,
syrinx [Sat, 9 Dec 2006 20:58:26 +0000 (20:58 +0000)]
Instead of explicitly initializing variables to avoid compiler warnings,
add a default case to handle the situation when the variables are not
initialized.
Furthermore, abort() if the snmp agent passes an invalid option to the
bridge module. As the option (SET, GET, GETNEXT, COMMIT, ROLLBACK) is
determined by the snmp agent based on the operation requested by user,
this behaviour is unlikely to be abused as a source for a DoS, but if
ever hit will likely reveal a problem in the snmp agent or bridge
module.

Approved by:    bz (mentor)

17 years agofix handling of ssid "-" etc; we're writing 1 byte past the
sam [Sat, 9 Dec 2006 20:11:55 +0000 (20:11 +0000)]
fix handling of ssid "-" etc; we're writing 1 byte past the
end of the result buffer

Noticed by: Sepherosa Zieha
Reviewed by: cperciva
MFC after: 2 weeks

17 years ago- If the directory to be removed has its immutable, undeletable or append-only
pjd [Sat, 9 Dec 2006 19:44:38 +0000 (19:44 +0000)]
- If the directory to be removed has its immutable, undeletable or append-only
  flag set, rmdir(2) returns EPERM.
- If the parent directory of the directory to be removed has its immutable or
  append-only flag set, rmdir(2) returns EPERM.

17 years ago- If the parent directory of the file pointed at by the from argument has its
pjd [Sat, 9 Dec 2006 19:42:58 +0000 (19:42 +0000)]
- If the parent directory of the file pointed at by the from argument has its
  immutable or append-only flag set, rename(2) returns EPERM.
- If the parent directory of the file pointed at by the to argument has its
  immutable flag set, rename(2) returns EPERM.

17 years agoCorrect last commit. The parent directory of the file to be removed can
pjd [Sat, 9 Dec 2006 19:40:24 +0000 (19:40 +0000)]
Correct last commit. The parent directory of the file to be removed can
have undeletable flag set.

17 years agoWhen immutable, undeletable or append-only flag is set, rename(2)
pjd [Sat, 9 Dec 2006 19:19:46 +0000 (19:19 +0000)]
When immutable, undeletable or append-only flag is set, rename(2)
return EPERM.

17 years agoWhen undeletable flag is set, unlink(2) return EPERM.
pjd [Sat, 9 Dec 2006 19:18:39 +0000 (19:18 +0000)]
When undeletable flag is set, unlink(2) return EPERM.

17 years ago- Fix headphone/speakers automute on Lenovo 3000 N100.
ariff [Sat, 9 Dec 2006 17:52:54 +0000 (17:52 +0000)]
- Fix headphone/speakers automute on Lenovo 3000 N100.

Tested by: xride

- GPIO commit cleanups and fixes for possible breakage during
  previous commit.

17 years agoRemove unused variable in unionfs_root().
rodrigc [Sat, 9 Dec 2006 17:24:18 +0000 (17:24 +0000)]
Remove unused variable in unionfs_root().

Submitted by: daichi, Masanori OZAWA

17 years agoUse vfs_mount_error() in a few places to give more descriptive mount error
rodrigc [Sat, 9 Dec 2006 17:21:25 +0000 (17:21 +0000)]
Use vfs_mount_error() in a few places to give more descriptive mount error
messages.

17 years agoAdd locking around calls to unionfs_get_node_status()
rodrigc [Sat, 9 Dec 2006 16:51:09 +0000 (16:51 +0000)]
Add locking around calls to unionfs_get_node_status()
in unionfs_ioctl() and unionfs_poll().

Submitted by: daichi, Masanori OZAWA <ozawa@ongs.co.jp>
Prompted by: kris

17 years agoIn unionfs_readdir(), prevent a possible NULL dereference.
rodrigc [Sat, 9 Dec 2006 16:34:37 +0000 (16:34 +0000)]
In unionfs_readdir(), prevent a possible NULL dereference.

CID: 1667
Found by: Coverity Prevent (tm)

17 years agoIn unionfs_hashrem(), use LIST_FOREACH_SAFE when iterating over
rodrigc [Sat, 9 Dec 2006 16:27:50 +0000 (16:27 +0000)]
In unionfs_hashrem(), use LIST_FOREACH_SAFE when iterating over
the list of nodes to free them.

CID: 1668
Found by: Coverity Prevent (tm)

17 years agoMake the generated message from `elf_errmsg(-1)' a little more readable.
jkoshy [Sat, 9 Dec 2006 16:27:15 +0000 (16:27 +0000)]
Make the generated message from `elf_errmsg(-1)' a little more readable.

17 years agoUse explicit braces to avoid ambiguous else.
delphij [Sat, 9 Dec 2006 15:23:20 +0000 (15:23 +0000)]
Use explicit braces to avoid ambiguous else.

17 years agoDo not exit without printing the id information if the uid of the
mpp [Sat, 9 Dec 2006 12:58:14 +0000 (12:58 +0000)]
Do not exit without printing the id information if the uid of the
user executing the command cannot be looked up in the password file.

17 years ago- remove restriction on OFW kernel allocations being 4M
kmacy [Sat, 9 Dec 2006 05:22:22 +0000 (05:22 +0000)]
- remove restriction on OFW kernel allocations being 4M
- shuffle memory range following kernel to the beginning of phys_avail
- have the direct area use 256MB pages where possible
- remove dead code from the end of pmap_bootstrap
- have pmap_alloc_contig_pages check all memory ranges in phys_avail before
  giving up

- informal benchmarking indicates a ~5% speedup on buildworld

17 years agoChange formatting to be more compliant with style(9). Doubtless
grog [Sat, 9 Dec 2006 02:44:09 +0000 (02:44 +0000)]
Change formatting to be more compliant with style(9).  Doubtless
others will find more things to change.

17 years agoChange copyright notice to the FreeBSD 2 clause notice.
grog [Sat, 9 Dec 2006 02:33:26 +0000 (02:33 +0000)]
Change copyright notice to the FreeBSD 2 clause notice.

Approved by: John Wehle <john\@feith.com>

17 years agoAdd copyright notice.
grog [Sat, 9 Dec 2006 02:31:24 +0000 (02:31 +0000)]
Add copyright notice.

17 years agoSet channel utility for Hauuapuge PVR-250 and PVR-350.
grog [Sat, 9 Dec 2006 02:27:45 +0000 (02:27 +0000)]
Set channel utility for Hauuapuge PVR-250 and PVR-350.

This s part of an import of the PVR-250 driver.  Originally it was
calleed pvr250-setchannel, but it seems better to improve this program
to work for any tuner card, so I'm starting with a more generic name.
That shouldn't mislead anybody: currently the program only works with
the (yet to be committed) cxm driver.

Contributed by: John Wehle <john\@feith.com>

17 years agoMinor cleanup. If we are doing a mount update, and we pass in
rodrigc [Sat, 9 Dec 2006 01:49:19 +0000 (01:49 +0000)]
Minor cleanup.  If we are doing a mount update, and we pass in
an "export" flag indicating that we are trying to NFS export the
filesystem, and the MSDOSFS_LARGEFS flag is set on the filesystem,
then deny the mount update and export request.  Otherwise,
let the full mount update proceed normally.
MSDOSFS_LARGES and NFS don't mix because of the way inodes are calculated
for MSDOSFS_LARGEFS.

MFC after: 3 days

17 years agoclarify a comment slightly
mjacob [Sat, 9 Dec 2006 01:33:55 +0000 (01:33 +0000)]
clarify a comment slightly

17 years agoFind another spot where tagged command queueing got
mjacob [Sat, 9 Dec 2006 01:30:05 +0000 (01:30 +0000)]
Find another spot where tagged command queueing got
accidentally nuked.

17 years agoExplicitly emphasize a facet of m_pullup() that some people seem to
julian [Fri, 8 Dec 2006 23:44:30 +0000 (23:44 +0000)]
Explicitly emphasize a facet of m_pullup() that some people seem to
frequently forget. i.e. that you can not keep using pointers to
within the old chain.

17 years ago- Added my entry in calendar.freebsd
nivit [Fri, 8 Dec 2006 23:12:28 +0000 (23:12 +0000)]
- Added my entry in calendar.freebsd

Approved by: alexbl (mentor)

17 years agoDocument the following change in behavior:
ru [Fri, 8 Dec 2006 21:50:48 +0000 (21:50 +0000)]
Document the following change in behavior:

: fdisk.c revision 1.74
: date: 2004/06/14 07:21:19;  author: phk;  state: Exp;  lines: +3 -3
: Make fdisk initialize the first instead of the last slice by default.

17 years agoDisable IPv6 configuration for interfaces in pccard_ether_start().
hrs [Fri, 8 Dec 2006 15:48:42 +0000 (15:48 +0000)]
Disable IPv6 configuration for interfaces in pccard_ether_start().

After a change of devd.conf, devd(8) handles NIC attach/detach event
by using /etc/pccard_ether with the interface name as the argument.
This model does not work properly with IPv6 configuration because the
implementation of IPv6 stateless auto-configuration in the FreeBSD
rc.d scripts depends on whether there are any explicit configurations
for interfaces or not.  It works this way: if no manual configuration,
it will perform auto-configuration, but otherwise no
auto-configuration will be performed.  So, this behavior can only be
determined by all of the interfaces on a system, not a single one.
For this reason, the network6_interface_setup() function called from
the pccard_ether_start() does not work with a single interface name.
And what is worse, this combination of devd.conf and
pccard_ether_start() caused a bad side-effect that when
ipv6_enable=YES, all of interfaces marked as DOWN would be UP
unconditionally (and router solicitation was sent) just after devd(8)
was invoked.  This should be fixed in a more sophisticated way.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r165009,
harti [Fri, 8 Dec 2006 14:45:15 +0000 (14:45 +0000)]
This commit was generated by cvs2svn to compensate for changes in r165009,
which included commits to RCS files with non-trunk default branches.

17 years agoVendor patch that adds a microsecond timer function.
harti [Fri, 8 Dec 2006 14:45:15 +0000 (14:45 +0000)]
Vendor patch that adds a microsecond timer function.

17 years agoFix an oscure bug triggered by a recent change in kern_socket.c.
luigi [Fri, 8 Dec 2006 10:36:45 +0000 (10:36 +0000)]
Fix an oscure bug triggered by a recent change in kern_socket.c.
The symptoms were that outgoing DHCP requests for diskless kernels
had the IP header corrupt. After long investigations, the source of
the problem was found in ether_output() - for SIMPLEX interfaces
and broadcast traffic, a copy of the packet is passed back to the kernel
through if_simloop(). However if_simloop() modifies the mbuf, while
the copy obtained through m_copym() is a readonly one.

The bug has been there forever, but it has been triggered only recently
by a change in sosend_dgram() which passed down mbufs with sufficient
space to prepend the header.

This fix is trivial - use m_dup() instead of m_copy() to create
the copy. As an alternative, we could try and modify if_simloop()
to play safely with readonly mbufs, but i don't think it is worthwhile
because 1) this is a relatively infrequent code path so we do not need
to worry too much about performance, and 2) the cost of doing an
extra m_pullup in if_simloop() is probably the same as doing the
copy of the cluster, anyways.

MFC after: 1 week

17 years agoRemove the requirement that phys_avail be sorted in ascending order
kmacy [Fri, 8 Dec 2006 08:44:47 +0000 (08:44 +0000)]
Remove the requirement that phys_avail be sorted in ascending order
by explicitly finding the lowest and highest addresses when calculating
the size of the vm_pages array

Reviewed by :alc

17 years agoStyle(9) fixes, thanks to Ruslan.
kientzle [Fri, 8 Dec 2006 07:47:08 +0000 (07:47 +0000)]
Style(9) fixes, thanks to Ruslan.

17 years agoThe ISO9660 spec does allow files up to 4G. Change the i_size
kientzle [Fri, 8 Dec 2006 07:43:53 +0000 (07:43 +0000)]
The ISO9660 spec does allow files up to 4G.  Change the i_size
field to "unsigned long" so that it actually works.
Thanks to Robert Sciuk for sending me a DVD that
demonstrated ISO9660-formatted media with a file >2G.
I've now fixed this both in libarchive and in the cd9660
filesystem.

MFC after: 14 days

17 years agoSupport the "-f" option by simply ignoring it.
kientzle [Fri, 8 Dec 2006 07:19:51 +0000 (07:19 +0000)]
Support the "-f" option by simply ignoring it.
This allows script compatibility with Linux, whose
"hostname" is the same as BSD "hostname -s".
With this change, "hostname -f" is the same on
both systems.

MFC after: 7 days

17 years agoAdd a link-local address to the lo0 even when ipv6_enable="NO".
hrs [Fri, 8 Dec 2006 06:34:06 +0000 (06:34 +0000)]
Add a link-local address to the lo0 even when ipv6_enable="NO".

A kernel with INET6 always has ::1 on lo0, so in the case of
ipv6_enable="NO" the lo0 can have ::1 with no link-local address.
This is a violation of the IPv6 specification.  As a workaround for
this situation, fe80::1 is added in rc.d/auto_linklocal when lo0 has
no link-local address.  This should not be harmful for IPv4-only users.

17 years agoMinor refactoring; move the FreeBSD-specific config info into
kientzle [Fri, 8 Dec 2006 06:13:49 +0000 (06:13 +0000)]
Minor refactoring; move the FreeBSD-specific config info into
config_freebsd.h.  archive_platform.h decides which config file
to bring in and uses some of those selectors to define wrapper
macros and other compatibility glue.

17 years ago- Revert the parts of the previous revision which reloaded the watchdog
marius [Fri, 8 Dec 2006 03:18:16 +0000 (03:18 +0000)]
- Revert the parts of the previous revision which reloaded the watchdog
  timer in xl_txeof()/xl_txeof_90xB(); xl_poll_locked() unconditionally
  invokes xl_txeof()/xl_txeof_90xB(), effectively circumventing that
  the watchdog ever fires in the DEVICE_POLLING case as its timer is
  constantly reloaded.
- Remove the banal and pedantically outdated comment regarding setting
  xl_wdog_timer to 0 in xl_txeof().

Pointed out by: bde

17 years agoPH! Forgot to do my cross-compile check. Also now rearranged things so
mjacob [Thu, 7 Dec 2006 23:51:00 +0000 (23:51 +0000)]
PH! Forgot to do my cross-compile check. Also now rearranged things so
the ENDIAN defines are consistent between mpt.h and mpt.c.

17 years agoAdd support for RSTP (RFC4318) to the SNMP bridge monitoring module.
syrinx [Thu, 7 Dec 2006 22:36:17 +0000 (22:36 +0000)]
Add support for RSTP (RFC4318) to the SNMP bridge monitoring module.

Approved by: bz (mentor)

17 years agoMFP4: principally to reapply tagged command support to FC and SAS cards.
mjacob [Thu, 7 Dec 2006 22:02:28 +0000 (22:02 +0000)]
MFP4: principally to reapply tagged command support to FC and SAS cards.

17 years agoFix DESTDIR.
hrs [Thu, 7 Dec 2006 17:45:45 +0000 (17:45 +0000)]
Fix DESTDIR.

Spotted by: bmah

17 years agoFix a build breakage due to undefined DESTDIR.
hrs [Thu, 7 Dec 2006 17:22:00 +0000 (17:22 +0000)]
Fix a build breakage due to undefined DESTDIR.

17 years agoAdd support for multiple FAST handlers.
marcel [Thu, 7 Dec 2006 17:08:16 +0000 (17:08 +0000)]
Add support for multiple FAST handlers.

Reviewed & tested by: grehan@

17 years agoAdd header files <sys/lock.h> and <sys/mutex.h> for mtx_init() and friends.
kevlo [Thu, 7 Dec 2006 15:24:38 +0000 (15:24 +0000)]
Add header files <sys/lock.h> and <sys/mutex.h> for mtx_init() and friends.

Approved by: cognet

17 years agoUpdate the URL for the list of supported products.
ru [Thu, 7 Dec 2006 10:56:27 +0000 (10:56 +0000)]
Update the URL for the list of supported products.

17 years agoDon't try to workaround broken apps (if any). If this still the case,
ariff [Thu, 7 Dec 2006 07:48:58 +0000 (07:48 +0000)]
Don't try to workaround broken apps (if any). If this still the case,
lets fix the broken apps instead.

17 years agoRemove comment that is no longer relevant since previous
ariff [Thu, 7 Dec 2006 07:48:20 +0000 (07:48 +0000)]
Remove comment that is no longer relevant since previous
buffering fix.

17 years agoRegenerate per the instructions.
mjacob [Thu, 7 Dec 2006 05:41:59 +0000 (05:41 +0000)]
Regenerate per the instructions.

17 years agoPass a char buffer parameter with name "errmsg" to nmount().
rodrigc [Thu, 7 Dec 2006 03:24:43 +0000 (03:24 +0000)]
Pass a char buffer parameter with name "errmsg" to nmount().
For filesystems which use vfs_mount_error() to log an error, this
char buffer will be populated with a string error message.
If nmount() fails, in addition to printing out strerror(errno),
print out the "errmsg" populated by vfs_mount_error().

17 years agoUse vfs_mount_error() to log mount errors in a few places with human
rodrigc [Thu, 7 Dec 2006 02:57:00 +0000 (02:57 +0000)]
Use vfs_mount_error() to log mount errors in a few places with human
readable strings which can be retrieved if an "errmsg" parameter is
passed into nmount().

17 years agofix CID 1671 by freeing listp before exit from vnex_attach
kmacy [Thu, 7 Dec 2006 02:09:06 +0000 (02:09 +0000)]
fix CID 1671 by freeing listp before exit from vnex_attach

17 years agofix CID 1670 by freeing pointer listp before returning
kmacy [Thu, 7 Dec 2006 02:05:13 +0000 (02:05 +0000)]
fix CID 1670 by freeing pointer listp before returning

17 years agofix CID 1672 by initializing variable clock
kmacy [Thu, 7 Dec 2006 02:04:25 +0000 (02:04 +0000)]
fix CID 1672 by initializing variable clock

17 years agoFix CID 1669 by removing dead sf_buf code
kmacy [Thu, 7 Dec 2006 02:03:18 +0000 (02:03 +0000)]
Fix CID 1669 by removing dead sf_buf code

17 years agoCompleting the process of UUCP migration to ports.
avatar [Thu, 7 Dec 2006 01:24:38 +0000 (01:24 +0000)]
Completing the process of UUCP migration to ports.

MFC after: 1 month

17 years agoHandle a missing NPE firmware file better; if it's missing print a
sam [Thu, 7 Dec 2006 00:49:33 +0000 (00:49 +0000)]
Handle a missing NPE firmware file better; if it's missing print a
(somewhat) meaningful message and terminate the build.  It'd be
nice to print a proper URL from which to fetch the file but that
seems problematic.  Leave a suggested starting point in this file
(TBD: add it to the man page).

Submitted by: ru

17 years agoUnbreak build for Skyeye: do not attempt to do any DMA, as Skyeye doesn't
cognet [Thu, 7 Dec 2006 00:24:15 +0000 (00:24 +0000)]
Unbreak build for Skyeye: do not attempt to do any DMA, as Skyeye doesn't
emulate it.

Reported by: ru

17 years agoFix compile with BCE_DEBUG. The last one tripped up gcc 2.95 on 4.x even
jhb [Wed, 6 Dec 2006 22:53:22 +0000 (22:53 +0000)]
Fix compile with BCE_DEBUG.  The last one tripped up gcc 2.95 on 4.x even
with BCE_DEBUG turned off.

17 years agoDrop the iwi softc lock when calling back into net80211 on rx. This fixes a
mlaier [Wed, 6 Dec 2006 21:23:51 +0000 (21:23 +0000)]
Drop the iwi softc lock when calling back into net80211 on rx.  This fixes a
LOR with direct dispatch in the netisr.

Reported and tested by: Munehiro Matsuda
Submitted by: jhb
LOR id: 194

17 years agoNew release note: SA-06:25.kmem.
bmah [Wed, 6 Dec 2006 19:53:49 +0000 (19:53 +0000)]
New release note:  SA-06:25.kmem.

17 years agoAllow machdep.cpu_idle_hlt to be set from the loader. This should allow
sobomax [Wed, 6 Dec 2006 18:27:17 +0000 (18:27 +0000)]
Allow machdep.cpu_idle_hlt to be set from the loader. This should allow
to workaround the problem with SMP kernels on Turion64 X2 processors
described in kern/104678 and may be useful in other situations too.

MFC after: 3 days

17 years agoTeach release builds and release documentation snapshots that release
bmah [Wed, 6 Dec 2006 18:07:40 +0000 (18:07 +0000)]
Teach release builds and release documentation snapshots that release
notes are no longer MD documents.

17 years agoReorganize the release notes to better support multiple architectures.
bmah [Wed, 6 Dec 2006 18:04:52 +0000 (18:04 +0000)]
Reorganize the release notes to better support multiple architectures.
Rather than rendering a different version of the release notes for
every architecture, we now produce a single release notes document
that covers all architectures.

This change makes document maintenence easier (because there is no
longer a need to support each architecture specifically in the
src/release/doc/ and www/ build infrastructures).  It's also
easier to read because there is now exactly one release notes document,
and readers can see changes that affected various subsets of
architectures.

Discussed on: -doc@

17 years agoIgnore any breakpoint instructions (int 3) we encounter in vm86 mode
jhb [Wed, 6 Dec 2006 17:45:35 +0000 (17:45 +0000)]
Ignore any breakpoint instructions (int 3) we encounter in vm86 mode
rather than treating them as a fatal exception and halting.  At least one
storage BIOS (some newer mpt(4) parts) have a breakpoint instruction in
their disk read routine.

MFC after: 3 days

17 years agoFix some edge cases in detach() as well as a memory leak if we fail to
jhb [Wed, 6 Dec 2006 15:10:11 +0000 (15:10 +0000)]
Fix some edge cases in detach() as well as a memory leak if we fail to
talk to the BMC.

Reported by: Alexander Logvinov : ports at logvinov_com
MFC after: 1 week

17 years agoo confstr(3) returns 0 on error. Check the return value accordingly.
maxim [Wed, 6 Dec 2006 12:00:26 +0000 (12:00 +0000)]
o confstr(3) returns 0 on error.  Check the return value accordingly.

PR: misc/106414
MFC after: 1 week

17 years agoCorrect a signedness bug which allowed members of the operator
cperciva [Wed, 6 Dec 2006 09:13:51 +0000 (09:13 +0000)]
Correct a signedness bug which allowed members of the operator
group to read kernel memory.

Security: FreeBSD-SA-06:25.kmem