]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoMFC: SA-07:01.jail. Bump copyright date while here.
bmah [Thu, 11 Jan 2007 19:48:51 +0000 (19:48 +0000)]
MFC:  SA-07:01.jail.  Bump copyright date while here.

17 years agoFix jail rc.d script privilege escalation via symlink attack against
simon [Thu, 11 Jan 2007 18:18:57 +0000 (18:18 +0000)]
Fix jail rc.d script privilege escalation via symlink attack against
/var/log/console.log and mount points.

Security: FreeBSD-SA-07:01.jail

17 years agoMFC: Use a regular mutex instead of a spin mutex and remove unneeded locking
jhb [Thu, 11 Jan 2007 16:31:47 +0000 (16:31 +0000)]
MFC: Use a regular mutex instead of a spin mutex and remove unneeded locking
during attach.

17 years agoMFC: rev. 1.5
brueffer [Thu, 11 Jan 2007 11:33:34 +0000 (11:33 +0000)]
MFC: rev. 1.5

Sync the hardware list with the driver and with what I could find on
the Areca website.
Also remove the module from the FILES section, it's already covered in
the SYNOPSIS.

17 years agoMFC: ipfw2.c, 1.101:
mlaier [Wed, 10 Jan 2007 11:34:51 +0000 (11:34 +0000)]
MFC: ipfw2.c, 1.101:
  Fix a parsing bug when specifying more than one address with dotted
  decimal netmask.

  Reported by: Igor Anishchuk
  PR: kern/107565

17 years agoThe pc98 porting team's copyright year should be 2003, when
delphij [Wed, 10 Jan 2007 01:29:46 +0000 (01:29 +0000)]
The pc98 porting team's copyright year should be 2003, when
5.0-RELEASE, the first release including pc98 is released.

Noticed by: hrs
Confirmed by: nyan

17 years agoMFC: Use the vnode interlock to close a vnode destroy race.
jhb [Tue, 9 Jan 2007 18:04:58 +0000 (18:04 +0000)]
MFC: Use the vnode interlock to close a vnode destroy race.

17 years agoMFC rev 1.25:
brooks [Tue, 9 Jan 2007 03:29:49 +0000 (03:29 +0000)]
MFC rev 1.25:
Pull in /etc/rc.conf.d/network so that ifconfig_<if> variables can be
set there. This is required for consistency with /etc/rc.d/netif.

PR: conf/103893
Submitted by: Nick Hibma <nick at anywi.com>

17 years agoMFC 1.25: document recent change to return ECONNRESET for tcp sockets
sam [Mon, 8 Jan 2007 18:12:34 +0000 (18:12 +0000)]
MFC 1.25: document recent change to return ECONNRESET for tcp sockets

17 years agoMFC 1.142: change error codes returned by protocol operations when an
sam [Mon, 8 Jan 2007 18:10:12 +0000 (18:10 +0000)]
MFC 1.142: change error codes returned by protocol operations when an
  incpb is dropped [revised for RELENG_6 code base]

Reviewed by: rwatson, Eric Huss

17 years agoAdd rudimentary release documentation for PowerPC.
marcel [Sun, 7 Jan 2007 18:37:59 +0000 (18:37 +0000)]
Add rudimentary release documentation for PowerPC.

17 years agoAdd proc-ia64.sgml to SRCS.
marcel [Sun, 7 Jan 2007 18:18:27 +0000 (18:18 +0000)]
Add proc-ia64.sgml to SRCS.

17 years agoMFC: The nfsm_srvpathsiz() macro in nfsrv_symlink() in nfs_serv.c
hrs [Sun, 7 Jan 2007 13:20:24 +0000 (13:20 +0000)]
MFC: The nfsm_srvpathsiz() macro in nfsrv_symlink() in nfs_serv.c
should check length of the pathname in the range 0<=n<=NFS_MAXPATHLEN,
not 0<n<=NFS_MAXPATHLEN.  This fixes a minor interoperability problem
that the FreeBSD NFS server did not allow a symlink pointing the empty
pathname.

17 years agoMFC rev. 1.101: grammar.
maxim [Sun, 7 Jan 2007 09:50:01 +0000 (09:50 +0000)]
MFC rev. 1.101: grammar.

17 years agoUp the event class reporting from EVT_CLASS_DEBUG to EVT_CLASS_INFO.
scottl [Sun, 7 Jan 2007 06:44:37 +0000 (06:44 +0000)]
Up the event class reporting from EVT_CLASS_DEBUG to EVT_CLASS_INFO.

Submitted by: Doug Ambrisko

17 years agoMFC (1.67): Completing the process of UUCP migration to ports.
avatar [Sun, 7 Jan 2007 02:40:37 +0000 (02:40 +0000)]
MFC (1.67): Completing the process of UUCP migration to ports.

17 years agoMFC 1.14: ata_generic_hw() takes a device, not a channel.
marcel [Sun, 7 Jan 2007 01:07:22 +0000 (01:07 +0000)]
MFC 1.14: ata_generic_hw() takes a device, not a channel.

17 years agoMFC 1.89: Build gperf(1) on PowerPC.
marcel [Sun, 7 Jan 2007 00:34:00 +0000 (00:34 +0000)]
MFC 1.89: Build gperf(1) on PowerPC.

17 years agoMFC 1.58: Enable gmon on PowerPC.
marcel [Sun, 7 Jan 2007 00:12:24 +0000 (00:12 +0000)]
MFC 1.58: Enable gmon on PowerPC.

17 years agoMFC rev 1.21: Use the proper definition for the minbrk symbol.
marcel [Sun, 7 Jan 2007 00:10:53 +0000 (00:10 +0000)]
MFC rev 1.21: Use the proper definition for the minbrk symbol.

17 years agoMFC 1.56:
rodrigc [Sat, 6 Jan 2007 22:17:15 +0000 (22:17 +0000)]
MFC 1.56:
  Fix mount update from read-only to read-write for FAT-16 and FAT-32.

PR: 105412
Tested by: Eugene Grosbein <eugen grosbein pp ru>

17 years agoMFC 1.41: Add a chip timeout to ENABLE/MODIFY/DISABLE lun calls.
mjacob [Sat, 6 Jan 2007 04:20:29 +0000 (04:20 +0000)]
MFC 1.41: Add a chip timeout to ENABLE/MODIFY/DISABLE lun calls.

17 years agoMFC: Merge MPEG2-TS/HDV support for fwcontrol.
imp [Sat, 6 Jan 2007 01:09:56 +0000 (01:09 +0000)]
MFC: Merge MPEG2-TS/HDV support for fwcontrol.

Submitted by: Petr Holub
PR: bin/98134

17 years agoMFC: Whitespace fixes.
jhb [Fri, 5 Jan 2007 21:38:46 +0000 (21:38 +0000)]
MFC: Whitespace fixes.

17 years agoMFC 1.33: Use a single comma instead of comma and space to separate
stefanf [Fri, 5 Jan 2007 14:46:54 +0000 (14:46 +0000)]
MFC 1.33: Use a single comma instead of comma and space to separate
additional group entries.

17 years agoMFC pkill(1) totally. Besides bugfixes, this brings in the following
yar [Fri, 5 Jan 2007 14:03:21 +0000 (14:03 +0000)]
MFC pkill(1) totally.  Besides bugfixes, this brings in the following
visible changes:

* a new option -I for interactive killing;
* a new syntax for jail wildcards: -j any, -j none; -j0 is deprecated now.

MFC the regression tests for pkill(1), too, to make sure it works well.

Approved by: gad, pjd, re
Tested by: the regression tests

17 years agoMFC all the recent fixes to systat(1). As a pleasant
yar [Fri, 5 Jan 2007 11:55:35 +0000 (11:55 +0000)]
MFC all the recent fixes to systat(1).  As a pleasant
side-effect, this reduces its difference against HEAD
almost to zero.

Idea by: bde
OK by: re

17 years agoMFC
kib [Fri, 5 Jan 2007 09:51:14 +0000 (09:51 +0000)]
MFC
rev. 1.167 of src/sys/dev/md/md.c
rev. 1.514, 1.515 of src/sys/kern/vfs_bio.c
rev. 1.319, 1.320 of src/sys/sys/vnode.h

Resolve two deadlocks that could be caused by busy md device backed by
vnode.

17 years agoMFC 1.14, 1.15:
rodrigc [Fri, 5 Jan 2007 05:50:36 +0000 (05:50 +0000)]
MFC 1.14, 1.15:
marcel      2006-12-21 05:40:46 UTC

  Unbreak 64-bit little-endian systems that do require alignment.
  The fix involves using le16dec(), le32dec(), le16enc() and
  le32enc(). This eliminates invalid casts and duplicated logic.

PR:             106703
Tested by: Axel Gonzalez <loox e-shell net>

17 years agoMFC: Fix kenv() function prototype.
jhb [Thu, 4 Jan 2007 19:59:41 +0000 (19:59 +0000)]
MFC: Fix kenv() function prototype.

17 years agoMFC: pf_ioctl.c 1.27:
mlaier [Thu, 4 Jan 2007 18:31:43 +0000 (18:31 +0000)]
MFC: pf_ioctl.c 1.27:
  Clean up pfr_kentry_pl2 as well.  This fixes a kernel panic in the vm.zone
  sysctl after unloading pf.

  Submitted by: Earl Lapus

17 years agoMFC of rev. 1.164:
kib [Thu, 4 Jan 2007 17:39:17 +0000 (17:39 +0000)]
MFC of rev. 1.164:

- Conditionally acquire Giant in mdstart_vnode(), mdcreate_vnode(), and
  mddestroy() only if the file is from a non-MPSAFE fs.
There, to accommodate for the vn_open() difference with HEAD, use
VFS_LOCK_GIANT after vn_open (since vn_open(..., -1) assumes caller is not
MP-safe).
- No longer unconditionally hold Giant in the md kthread for vnode-backed
  kthreads.
- Improve the handling of the thread exit race when destroying an md
  device.

No objections from: jhb

17 years agoMFC:
brueffer [Thu, 4 Jan 2007 09:05:37 +0000 (09:05 +0000)]
MFC:

Xref uark(4)

17 years agoMFC 3 fixes from -current. All having to do with the case where the same
mohans [Wed, 3 Jan 2007 20:19:02 +0000 (20:19 +0000)]
MFC 3 fixes from -current. All having to do with the case where the same
filehandle is looked up by 2 or more processes.
- Don't vrele() the losing vnode, as vfs_hash_insert() vput()'s it.
- Initialize mutexes on the losing nfsnode (as these get destroyed in the
  nfsnode reclaim path).
- Move the initialization of the filehandle to before the vfs_insert, to
  close some races which could result in multiple vnodes for the same
  filehandle being inserted into the hash.

17 years agoMFC:
cperciva [Tue, 2 Jan 2007 12:35:07 +0000 (12:35 +0000)]
MFC:
  Correct spelling of "accommodate", "guarantee", "guaranteed", "guard",
  "return", "ridiculous", and "success".

17 years agoJail_ip and jail_interface local variables were renamed to _ip and _interface
flz [Tue, 2 Jan 2007 11:14:07 +0000 (11:14 +0000)]
Jail_ip and jail_interface local variables were renamed to _ip and _interface
in a previous commit to avoid namespace collisions, unfortunately I missed two
of them. This leads to the ip alias being incorrectly removed in some cases
when using the stop command.

Reported by: Philipp Wuensche <cryx-freebsd@h3q.com>

17 years ago- Sync with -HEAD
danger [Mon, 1 Jan 2007 21:26:32 +0000 (21:26 +0000)]
- Sync with -HEAD

Approved by: trhodes (mentor), keramida (mentor)

17 years agoSync with -HEAD.
ceri [Sun, 31 Dec 2006 18:57:31 +0000 (18:57 +0000)]
Sync with -HEAD.

17 years agoMFC revisions 1.20 and 1.23:
ceri [Sun, 31 Dec 2006 18:46:42 +0000 (18:46 +0000)]
MFC revisions 1.20 and 1.23:
  1.20: Markup fixes.
  1.23: Remove duplicate "clear" subcommand.

Revisions 1.21 and 1.22 do not currently apply to RELENG_6.

17 years agoMFC quotacheck.8 revision 1.17, quotacheck.c revision 1.26:
ceri [Sun, 31 Dec 2006 18:40:05 +0000 (18:40 +0000)]
MFC quotacheck.8 revision 1.17, quotacheck.c revision 1.26:
  Document the -l option.

Approved by: ru

17 years agoMFC revisions 1.371 and 1.372.
ceri [Sun, 31 Dec 2006 18:34:58 +0000 (18:34 +0000)]
MFC revisions 1.371 and 1.372.
  1.371: Fix typos in comments.
  1.372: Remove a warning regarding disk entries in /dev.

Approved by: ru

17 years agoMFC revisions 1.90, 1.91 and 1.93:
ceri [Sun, 31 Dec 2006 18:28:46 +0000 (18:28 +0000)]
MFC revisions 1.90, 1.91 and 1.93:
  1.90: Fix typos in comments.
  1.91: Add /lib and /libexec to the list of directories that have the
        schg flag removed prior to an upgrade.
  1.93: Fix a pair of user-visible typos.

Approved by: ru

17 years agoMFC revision 1.158:
ceri [Sun, 31 Dec 2006 18:08:22 +0000 (18:08 +0000)]
MFC revision 1.158:
  When using sysinstall on a running system and editing a disk label
  fails, suggest setting kern.geom.debugflags to 16.

PR: bin/94409

17 years agoMFC revision 1.25:
ceri [Sun, 31 Dec 2006 17:49:38 +0000 (17:49 +0000)]
MFC revision 1.25:
  Ensure that the load of rules into the alternate ruleset worked before
  loading them into the live one too.

PR: conf/97311
Approved by: ru

17 years agoMFC revisions 1.4 and 1.5.
ceri [Sun, 31 Dec 2006 17:41:49 +0000 (17:41 +0000)]
MFC revisions 1.4 and 1.5.

Approved by: ru

17 years agoMFC the cr_cansee.9 and p_cansee.9 manuals.
ceri [Sun, 31 Dec 2006 17:41:19 +0000 (17:41 +0000)]
MFC the cr_cansee.9 and p_cansee.9 manuals.

Approved by: ru

17 years agoWelcome to 2007
delphij [Sun, 31 Dec 2006 16:35:29 +0000 (16:35 +0000)]
Welcome to 2007

17 years agoMFC rev. 1.166 (with mods for RELENG_6): do not leave uninitialized
maxim [Sun, 31 Dec 2006 07:34:40 +0000 (07:34 +0000)]
MFC rev. 1.166 (with mods for RELENG_6): do not leave uninitialized
birthtime, set ctime to mtime.

17 years agoMFC: Note that updates aren't available for -CURRENT or -STABLE.
cperciva [Sun, 31 Dec 2006 05:14:41 +0000 (05:14 +0000)]
MFC: Note that updates aren't available for -CURRENT or -STABLE.

17 years agoMFC: Include the style fix I had included in the other MFC's for the
jhb [Sat, 30 Dec 2006 17:58:46 +0000 (17:58 +0000)]
MFC: Include the style fix I had included in the other MFC's for the
inpcb fixes.

17 years agoMFC uark(4), a driver for Arkmicro Technologies ARK3116 based serial
maxim [Sat, 30 Dec 2006 17:55:15 +0000 (17:55 +0000)]
MFC uark(4), a driver for Arkmicro Technologies ARK3116 based serial
adapters.

17 years agoMerge tcp_subr.c:1.251 from HEAD to RELENG_6:
rwatson [Sat, 30 Dec 2006 16:03:44 +0000 (16:03 +0000)]
Merge tcp_subr.c:1.251 from HEAD to RELENG_6:

  Fix race conditions on enumerating pcb lists by moving the initialization
  (and where appropriate the destruction) of the pcb mutex to the
  init/finit functions of the pcb zones.  This allows locking of the pcb
  entries and race condition free comparison of the generation count.
  Rearrange locking a bit to avoid extra locking operation to update the
  generation count in in_pcballoc().  (in_pcballoc now returns the pcb
  locked)

  I am planning to convert pcb list handling from a type safe to a
  reference count model soon.  (As this allows really freeing the PCBs)

  Reviewed by:    rwatson, mohans

This was missed in jhb's earlier MFC, and lead to a panic when creating
TCP sockets.

Reported by: Larry Rosenman <ler at lerctr dot org>
Henrik Brix Andersen <henrik at brixandersen dot dk>
Karol Kwiatkowski <freebsd at orchid dot homeunix dot org>
Danny Braniss <danny at cs dot huji dot ac dot il>
Torfinn Ingolfsen <torfinn dot ingolfsen at broadpark dot no>

17 years agoMFC rev. 1.62:
pav [Sat, 30 Dec 2006 15:42:11 +0000 (15:42 +0000)]
MFC rev. 1.62:

  Call vnode_create_vobject() in VOP_OPEN.  Makes mmap work on UDF filesystem.

17 years agoMFC 1.39: Add support for 945G/GM AGP chipsets.
luigi [Sat, 30 Dec 2006 11:48:02 +0000 (11:48 +0000)]
MFC 1.39: Add support for 945G/GM AGP chipsets.

Approved by: Eric Anholt

17 years agoMFC:
danger [Fri, 29 Dec 2006 23:35:08 +0000 (23:35 +0000)]
MFC:
- Markup fixes.
- clock_gettime is in time.h instead of sys/time.h

Approved by: trhodes (mentor), keramida (mentor)

17 years agoMFC:
danger [Fri, 29 Dec 2006 23:23:59 +0000 (23:23 +0000)]
MFC:
- add some files to FILES section and provide their description
- reference devfs.conf and devfs.rules in SEE ALSO section

Approved by: keramida (mentor), trhodes (mentor)

17 years agoMFC: Close some races between enumerating inpcb's and tearing them down by
jhb [Fri, 29 Dec 2006 19:25:49 +0000 (19:25 +0000)]
MFC: Close some races between enumerating inpcb's and tearing them down by
making the mutex portion of struct inpcb type-stable and never destroying
it.

17 years agoMFC: Add "nojail" keyword to prevent a spurious error message.
hrs [Fri, 29 Dec 2006 16:01:12 +0000 (16:01 +0000)]
MFC: Add "nojail" keyword to prevent a spurious error message.

Spotted by: Keve Nagy
PR: conf/107083

17 years agoMFC: Fix tab lossage and get rid of redundant whitespace.
ru [Fri, 29 Dec 2006 07:27:06 +0000 (07:27 +0000)]
MFC: Fix tab lossage and get rid of redundant whitespace.

17 years agoMFC: Make the ACPI and OpenFirmware PCI bus drivers subclasses of the
jhb [Thu, 28 Dec 2006 22:20:41 +0000 (22:20 +0000)]
MFC: Make the ACPI and OpenFirmware PCI bus drivers subclasses of the
generic PCI bus driver.

17 years agoMFC: When loading a driver that is a subclass of another driver don't set
jhb [Thu, 28 Dec 2006 22:13:26 +0000 (22:13 +0000)]
MFC: When loading a driver that is a subclass of another driver don't set
the devclass's parent pointer if the two drivers share the same devclass.

17 years agoMFC:
jhb [Thu, 28 Dec 2006 22:09:47 +0000 (22:09 +0000)]
MFC:
- Make pcib_devclass private to sys/dev/pci/pci_pci.c and change all the
  various pcib drivers to use their own private devclass_t variables for
  their modules.
- Use the DEFINE_CLASS_0() macro to declare drivers for the various pcib
  drivers while I'm here.

17 years agoMFC: Use pci_find_extcap() in drm(4) and agp(4).
jhb [Thu, 28 Dec 2006 21:54:50 +0000 (21:54 +0000)]
MFC: Use pci_find_extcap() in drm(4) and agp(4).

17 years agoBump __FreeBSD_version for pci_find_extcap().
jhb [Thu, 28 Dec 2006 21:48:42 +0000 (21:48 +0000)]
Bump __FreeBSD_version for pci_find_extcap().

17 years agoMFC: Add the PCI_FIND_EXTCAP() method to the PCI bus interface to lookup
jhb [Thu, 28 Dec 2006 21:40:55 +0000 (21:40 +0000)]
MFC: Add the PCI_FIND_EXTCAP() method to the PCI bus interface to lookup
specific extended capability registers by capability ID.

Requested by: scottl

17 years agoMFC cosmetic fixes to the asf(8) usage line and manpage,
yar [Wed, 27 Dec 2006 06:31:57 +0000 (06:31 +0000)]
MFC cosmetic fixes to the asf(8) usage line and manpage,
thus eliminating the difference from HEAD completely in
this module.

17 years agoMFC:
yar [Wed, 27 Dec 2006 06:22:44 +0000 (06:22 +0000)]
MFC:

  Allow for module-path being a semicolon-separated list of dirs.
  This is consistent with kern.module_path sysctl and also compensates
  for the unconventional syntax of asf(8) where the last of multiple
  arguments is the output file, which prevents us from using the
  traditional Unix syntax "foo file ..." to specify multiple module
  dirs.

asf.c rev. 1.12
asf.8 rev. 1.11

17 years agoMFC revisions 1.35-1.37.
dds [Tue, 26 Dec 2006 20:09:40 +0000 (20:09 +0000)]
MFC revisions 1.35-1.37.
Correct handling of format strings with escaped % specifications.
Prevent buffer overflow when forcibly terminating an escape character.

17 years agoMFC: 1.7
marius [Tue, 26 Dec 2006 09:45:19 +0000 (09:45 +0000)]
MFC: 1.7

Fix a typo in __fpu_ftox() that caused long double to long (and long long)
conversion of negative numbers to always result in -1.
While at it, rearrange the nearby comment so it fits in 80 chars per line,
like the rest of this file does.

PR: 107130

17 years agoMFC revisions 1.68-1.71 of bsdtar.c, 1.25 of bsdtar.h:
cperciva [Tue, 26 Dec 2006 05:27:49 +0000 (05:27 +0000)]
MFC revisions 1.68-1.71 of bsdtar.c, 1.25 of bsdtar.h:
* Remove nonexistant -F option from getopts string.
* Correct the names of some options.
* Check for -U and --strip-components options in inappropriate contexts.

17 years agoMFC: arcmsr(4) 1.20.00.13, libc resolver from BIND 9.3.3.
bmah [Sun, 24 Dec 2006 22:54:25 +0000 (22:54 +0000)]
MFC:  arcmsr(4) 1.20.00.13, libc resolver from BIND 9.3.3.

17 years agoMFC:
ariff [Sun, 24 Dec 2006 05:44:10 +0000 (05:44 +0000)]
MFC:

Add inverted amplifier sense quirk for HP Compaq nx4300 and few
NEC VersaPro.

PR: kern/106104, kern/104715
Submitted by: Shun-ichi Kobayashi <koba@mbox.kudpc.kyoto-u.ac.jp>
              KAWATA Masahiko <kawata@mta.biglobe.ne.jp>

Add support for Nvidia Nforce MCP04 AC97 controller.

PR: kern/106829
Submitted by: Frédéric Petit <fredantispam@free.fr>

17 years agoMFC 1.171-1.173- check in xpt_init for result of xpt_bus_register.
mjacob [Sun, 24 Dec 2006 03:23:43 +0000 (03:23 +0000)]
MFC 1.171-1.173- check in xpt_init for result of xpt_bus_register.

17 years agoMFC 1.16: clarify shortcut return
sam [Sun, 24 Dec 2006 00:15:55 +0000 (00:15 +0000)]
MFC 1.16: clarify shortcut return

17 years agoMFC 1.13: add fls
sam [Sun, 24 Dec 2006 00:09:56 +0000 (00:09 +0000)]
MFC 1.13: add fls

17 years agoMFC 1.24: mark struct ether_header packed for arm
sam [Sun, 24 Dec 2006 00:08:46 +0000 (00:08 +0000)]
MFC 1.24: mark struct ether_header packed for arm

While here bring along similar changes to pack struct ether_addr
and do compile-time asserts that structures are the expected sizes.

17 years agoMFC wpa_passphrase
sam [Sat, 23 Dec 2006 22:44:47 +0000 (22:44 +0000)]
MFC wpa_passphrase

17 years agoMFC 1.67: honor nolockd flag in root mount options
sam [Sat, 23 Dec 2006 22:40:56 +0000 (22:40 +0000)]
MFC 1.67: honor nolockd flag in root mount options

17 years agoMFC 1.12: add missing bits for crypto support
sam [Sat, 23 Dec 2006 21:46:56 +0000 (21:46 +0000)]
MFC 1.12: add missing bits for crypto support

17 years agoMFC: Add support for the second (RT2561/RT2561S) and third
fjoe [Sat, 23 Dec 2006 07:14:42 +0000 (07:14 +0000)]
MFC: Add support for the second (RT2561/RT2561S) and third
(RT2661 MIMO XR) generations of 802.11abg chipsets from Ralink Technology.

17 years agoMFC rev 1.111:
erwin [Fri, 22 Dec 2006 10:59:55 +0000 (10:59 +0000)]
MFC rev 1.111:
  - Add geography and spanish ports categories
  - Use "related to" instead of "relating to" consistently [1]

  Submitted by:   Rostislav Krasny <rosti.bsd@gmail.com> [1]
  Reviewed by:    simon

17 years agoMFC: Merge BIND9 9.3.3 into main chunk.
ume [Fri, 22 Dec 2006 07:33:20 +0000 (07:33 +0000)]
MFC: Merge BIND9 9.3.3 into main chunk.

include/arpa/nameser_compat.h: 1.6
lib/libc/inet/inet_cidr_ntop.c: 1.1.1.2
lib/libc/inet/inet_net_ntop.c: 1.3
lib/libc/isc/eventlib_p.h: 1.4
lib/libc/resolv/mtctxres.c: 1.3
lib/libc/resolv/res_init.c: 1.4
lib/libc/resolv/res_send.c: 1.5

17 years agoPartially back out revs 1.134 and 1.50 of if_bge.c and if_bgereg.h,
scottl [Thu, 21 Dec 2006 21:53:54 +0000 (21:53 +0000)]
Partially back out revs 1.134 and 1.50 of if_bge.c and if_bgereg.h,
respectively.  A lot more is needed to support these chips than just PCI
IDs, and the code added to 7-CURRENT isn't ready for FreeBSD 6 yet.

Approved by: re

17 years agoMFC 1.10: avoid some divide by zero cases in calculating geometry.
mjacob [Thu, 21 Dec 2006 19:51:53 +0000 (19:51 +0000)]
MFC 1.10: avoid some divide by zero cases in calculating geometry.

17 years agoMFC Rev. 1.267
mbr [Thu, 21 Dec 2006 16:24:22 +0000 (16:24 +0000)]
MFC Rev. 1.267

Retest tp->t_session because Giant might have been temporarily dropped
while waiting for proctree_lock, allowing for an intervening tty_close()
that cleared tp->t_session.

Submitted by: tegge

17 years agoMFC if_rl.c, 1.166 to RELENG_6.
yongari [Thu, 21 Dec 2006 12:57:06 +0000 (12:57 +0000)]
MFC if_rl.c, 1.166 to RELENG_6.
  Don't assume IF_LLADDR returns aligned memory address.
  Because accessing ID registers in rtl81x9 needs 32bit register access
  and RL_IDR6/RL_IDR7 registers are reservered registers bzero() is
  needed before copying ethernet address.
  This fixes unaligned memory accesses panic in sparc64.

17 years agoMFC 1.13 (by ps):
delphij [Thu, 21 Dec 2006 08:03:03 +0000 (08:03 +0000)]
MFC 1.13 (by ps):

Add E200, E200i, P400, and P400i storage controllers to
supported list.  Remove the E400 since it is not a real
product.

17 years agoThis commit was manufactured by cvs2svn to create branch 'RELENG_6'.
cvs2svn [Wed, 20 Dec 2006 22:02:46 +0000 (22:02 +0000)]
This commit was manufactured by cvs2svn to create branch 'RELENG_6'.

17 years agoMFC rev. 1.94:
kib [Wed, 20 Dec 2006 14:05:41 +0000 (14:05 +0000)]
MFC rev. 1.94:
Support __start_<section> and __end_<section> special symbols.

Requested by: grehan

17 years agoMFC rev. 1.80: We should return the name in cp, not printf it.
yar [Wed, 20 Dec 2006 12:47:50 +0000 (12:47 +0000)]
MFC rev. 1.80: We should return the name in cp, not printf it.

17 years agoMFC rev. 1.18:
yar [Wed, 20 Dec 2006 12:29:40 +0000 (12:29 +0000)]
MFC rev. 1.18:

  Improve cleartmp in a number of aspects:

  + Use rc.subr(8) features properly.
  + Do the whole job of obliterating /tmp contents in find(1).
  + Leave lost+found and quota.{user,group} in /tmp only if root-owned.
  + Make the overall structure clearer by first removing the X dirs
    (perhaps along with the rest of /tmp) and then re-creating them.
  + Use "find -exec rm -rf {} +" for efficiency: each rm instance gets
    a chance to kill as much files in /tmp as ARG_MAX permits.

17 years agoMFC rev. 1.13:
yar [Wed, 20 Dec 2006 12:24:32 +0000 (12:24 +0000)]
MFC rev. 1.13:

De-uglify messages from the ipfw script.

17 years agoMFC rev. 1.4:
yar [Wed, 20 Dec 2006 12:23:57 +0000 (12:23 +0000)]
MFC rev. 1.4:

  Use more rc.subr(8) features.
  Skip useless work when ${natd_interface} is unset.
  Double quote user-supplied vars unless there is a reason not to.

17 years agoMFC fixes to comments and messages to reduce diff against HEAD.
yar [Wed, 20 Dec 2006 12:04:00 +0000 (12:04 +0000)]
MFC fixes to comments and messages to reduce diff against HEAD.

17 years agoMFC rev. 1.65, 1.66:
yar [Wed, 20 Dec 2006 11:55:16 +0000 (11:55 +0000)]
MFC rev. 1.65, 1.66:

- Avoid ps(1) output truncation to 80 columns.
- Eliminate header line(s) from ps(1) output instead of skipping over them.

17 years agoMFC rev. 1.9: Use load_kld().
yar [Wed, 20 Dec 2006 11:45:40 +0000 (11:45 +0000)]
MFC rev. 1.9: Use load_kld().

17 years agoMFC load_kld().
yar [Wed, 20 Dec 2006 11:43:04 +0000 (11:43 +0000)]
MFC load_kld().

Prodded by: delphij, emax

17 years agoMFC: 1.17: Unbreak column(1) by jumping to the next column
ru [Wed, 20 Dec 2006 11:28:35 +0000 (11:28 +0000)]
MFC: 1.17: Unbreak column(1) by jumping to the next column
instead of always skipping it.

17 years agoMFC rev. 1.197: X-Micro Flash Disk quirk.
maxim [Tue, 19 Dec 2006 19:19:16 +0000 (19:19 +0000)]
MFC rev. 1.197: X-Micro Flash Disk quirk.

17 years agoMFC rev. 1.50: fix 8.3 capitalization.
maxim [Tue, 19 Dec 2006 19:15:44 +0000 (19:15 +0000)]
MFC rev. 1.50: fix 8.3 capitalization.