]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
16 years agoMFC rev. 1.93-1.94
mav [Sun, 9 Mar 2008 20:05:39 +0000 (20:05 +0000)]
MFC rev. 1.93-1.94
Make session ID generator to use session ID hash.
Make session ID generator thread-safe.
Use more compact LIST instead of TAILQ for session hash.
Add all listening hooks into LIST to simplify searches.
Use ng_findhook() instead of own equal implementation.

16 years agoMFC: Add support for the libalias redirect functionality.
mav [Sun, 9 Mar 2008 20:02:35 +0000 (20:02 +0000)]
MFC: Add support for the libalias redirect functionality.

Submitted by:   Vadim Goncharov <vadim_nuclight@mail.ru>

16 years agoMerge db_input.c:1.38 from HEAD to RELENG_6:
rwatson [Sun, 9 Mar 2008 14:50:28 +0000 (14:50 +0000)]
Merge db_input.c:1.38 from HEAD to RELENG_6:

  When redrawing an input line, count backspaces to get to the beginning of
  the input field from the current cursor location, rather than the end of
  the input line, as the cursor may not be at the end of the line.
  Otherwise, we may overshoot, overwriting a bit of the previous line and
  failing to fully overwrite the current line.

  PR:             119079
  Submitted by:   Michael Plass <mfp49_freebsd@plass-family.net>

16 years agoMFC: sys/conf/files.sparc64 1.94; sys/sparc64/include/md_var.h 1.17;
marius [Sun, 9 Mar 2008 14:34:26 +0000 (14:34 +0000)]
MFC: sys/conf/files.sparc64 1.94; sys/sparc64/include/md_var.h 1.17;
     sys/sparc64/sparc64/ata_machdep.c 1.1

The Sun disk label only uses 16-bit fields for cylinders, heads and
sectors so the geometry of large IDE disks has to be adjusted.

16 years agoMFC: 1.198
marius [Sun, 9 Mar 2008 14:30:49 +0000 (14:30 +0000)]
MFC: 1.198

Add a hook that allows the geometry to be overridden on certain platforms.

16 years agoMFC: 1.11
marius [Sun, 9 Mar 2008 14:10:23 +0000 (14:10 +0000)]
MFC: 1.11

Allow the targeted CPU type to be set via -mcpu instead of
limiting to the hardcoded equivalent of -mcpu=ultrasparc.

PR: 109510

16 years agoMFV: tzdata2008a
edwin [Sun, 9 Mar 2008 11:23:08 +0000 (11:23 +0000)]
MFV: tzdata2008a

Notable changes:

- Chilis DST has been extended for 3 weeks.
- No leapsecond in 2008

Approved by: grog@ (mentor)

16 years agoMFC rev.s 1.18 ipsec_input.c, 1.16 ipsec_output.c, 1.15 xform_ipip.c
bz [Sat, 8 Mar 2008 18:56:22 +0000 (18:56 +0000)]
MFC rev.s 1.18 ipsec_input.c, 1.16 ipsec_output.c, 1.15 xform_ipip.c

  Replace hard coded options by their defined PFIL_{IN,OUT} names.

16 years agoMFC rev. 1.27 key.c
bz [Sat, 8 Mar 2008 18:38:25 +0000 (18:38 +0000)]
MFC rev. 1.27 key.c

  'spi' and the return value of ntohl are unsigned. Remove the extra >=0
  check which was always true.
  Document the special meaning of spi values of 0 and 1-255 with a comment.

  Found with:     Coverity Prevent(tm)
  CID:            2047

16 years agoMFC rev. 1.26 key.c
bz [Sat, 8 Mar 2008 18:37:03 +0000 (18:37 +0000)]
MFC rev. 1.26 key.c

  In case of failure we can directly return ENOBUFS because
  'result' is still NULL and we do not need to free anything.
  That allows us to gc the entire goto parts and a now unused variable.

  Found with:     Coverity Prevent(tm)
  CID:            2519

16 years agoMFC rev. 1.25
bz [Sat, 8 Mar 2008 18:34:17 +0000 (18:34 +0000)]
MFC rev. 1.25

  Add a missing return so that we drop out in case of an error and
  do not continue with a NULL pointer. [1]

  While here change the return of the error handling code path above.
  I cannot see why we should always return 0 there. Neither does KAME
  nor do we in here for the similar check in all the other functions.

  Found with:     Coverity Prevent(tm) [1]
  CID:            2521

16 years agoMFC rev. 1.17 ipsec_input.c
bz [Sat, 8 Mar 2008 18:29:38 +0000 (18:29 +0000)]
MFC rev. 1.17 ipsec_input.c

  Looking at {ah,esp}_input_cb it seems we might be able to end up
  without an mtag in ipsec4_common_input_cb.
  So in case of !IPCOMP (AH,ESP) only change the m_tag_id if an mtag
  was passed to ipsec4_common_input_cb.

  Found with:     Coverity Prevent(tm)
  CID:            2523

16 years agoMFC rev. 1.16 ipsec_input.c
bz [Sat, 8 Mar 2008 18:27:27 +0000 (18:27 +0000)]
MFC rev. 1.16 ipsec_input.c

  s,#,*, in a multi-line comment. This is C.
  No functional change.

16 years agoMFC rev. 1.15 ipsec_input.c
bz [Sat, 8 Mar 2008 18:25:58 +0000 (18:25 +0000)]
MFC rev. 1.15 ipsec_input.c
  Though we are only called for the three security protocols we can
  handle, document those sprotos using an IPSEC_ASSERT so that it will
  be clear that 'spi' will always be initialized when used the first time.

  Found with:     Coverity Prevent(tm)
  CID:            2533

16 years agoMFC rev. 1.13 ipsec_output.c
bz [Sat, 8 Mar 2008 18:23:55 +0000 (18:23 +0000)]
MFC rev. 1.13 ipsec_output.c

  fix typo: s,applyed,applied,g

16 years agoMFC rev. 1.23 ipsec.c
bz [Sat, 8 Mar 2008 18:22:20 +0000 (18:22 +0000)]
MFC rev. 1.23 ipsec.c

Implement ICMPv6 support in ipsec6_get_ulp().
This is needed to make security policies work correctly if ICMPv6 type
and/or code are given. See setkey(8) 'upperspec' para. for details.

16 years agoMFC rev. 1.23 key.c
bz [Sat, 8 Mar 2008 18:19:50 +0000 (18:19 +0000)]
MFC rev. 1.23 key.c

  Add missing
    break;
  so when comparing AF_INET6 addresses, scope and ports we do not run into
  the default case and return 'no match' instead of 'match'.

16 years ago"MFC" (code is different) rev. 1.20 ipsec.c
bz [Sat, 8 Mar 2008 18:17:25 +0000 (18:17 +0000)]
"MFC" (code is different) rev. 1.20 ipsec.c

  s,#if INET*,#ifdef INET*,

16 years agoMFC r1.12:
rpaulo [Sat, 8 Mar 2008 14:14:35 +0000 (14:14 +0000)]
MFC r1.12:
  Validate the id16 values gathered from ACPI (previously a TODO
  item).
  Style changes by me and njl.

  Submitted by:    Takeharu KATO <takeharu1219 at ybb.ne.jp>
  PR:              119350

16 years agoMFC termcap changes for the END/ENTER keys
rafan [Sat, 8 Mar 2008 05:42:52 +0000 (05:42 +0000)]
MFC termcap changes for the END/ENTER keys

  Log:
  - Remove kH and *6 from xterm. They are defined to the same key as @7 (kp_end)
    As ncurses has the limitation that it returns the first matched key symbol,
    you can not use END in ncurses based program, like mutt, with xterm.
  - Add @8 (kp_enter) definition for xterm so you can use ENTER in xterm with
    ncurses based program.

  I also found that NetBSD's xterm does the same thing.

PR:             100150
Reported by:    Arseny Nasokin <tarc at tarc.po.cs.msu.su>
Discussed with: Thomas Dickey, Ulrich Spoerlein <uspoerlein at gmail.com>
Reviewed by:    freebsd-arch@

16 years agoMFC revision 1.108
delphij [Sat, 8 Mar 2008 01:00:39 +0000 (01:00 +0000)]
MFC revision 1.108
date: 2008/01/30 22:11:59;  author: delphij;  state: Exp;  lines: +2 -2
Fix two typos.

16 years agoMFC revision 1.14
delphij [Sat, 8 Mar 2008 00:54:27 +0000 (00:54 +0000)]
MFC revision 1.14
date: 2008/01/29 00:20:00;  author: delphij;  state: Exp;  lines: +1 -1
Don't coredump when executed with -o.

16 years agoMFC: VIA Padlock changes:
jhb [Fri, 7 Mar 2008 20:19:33 +0000 (20:19 +0000)]
MFC: VIA Padlock changes:
- Read the brand string from VIA/IDT CPUs.
- Add a VIA Padlock feature line in dmesg.
- Support the newer Via C7 core (0x6d0).

16 years agoNew errata note: sysinstall(8) X.org hazard.
bmah [Fri, 7 Mar 2008 16:42:16 +0000 (16:42 +0000)]
New errata note:  sysinstall(8) X.org hazard.

16 years agoMFC rev 1.162 umass.c
remko [Fri, 7 Mar 2008 16:00:28 +0000 (16:00 +0000)]
MFC rev 1.162 umass.c
MFC rev 1.338 usbdevs

Add support for the VIA USB2IDE bridge [1].

  PR: usb/95173
  Submitted by: Goegele Hannes <diazepam@gmx.net>
  Ben Kelly <bkelly at vadev dot org>
  Tested by: blackend
  Approved by: imp (mentor, blanket for simple patches)
  X-MFC-After: 1 week

Approved by: imp (mentor, implicit)

16 years agoMFC rev 1.340 usbdevs
remko [Fri, 7 Mar 2008 15:23:32 +0000 (15:23 +0000)]
MFC rev 1.340 usbdevs
MFC rev 1.90 uscanner.c

Add support for the EPSON CX5400 scanner

  PR: usb/120980
  Submitted by: Christophe Etcheverry <cetcheve at gmail dot com>
  MFC after: 3 days
  Approved by: imp (mentor, implicit for trivial changes)

Approved by: imp (mentor, implicit)

16 years agoMFC rev 1.8 drm_pciids.h
remko [Fri, 7 Mar 2008 14:58:50 +0000 (14:58 +0000)]
MFC rev 1.8 drm_pciids.h

   Add support for the 965GM.

   PR:             kern/120978
   Submitted by:   Dominic Fandrey <kamikaze at bsdforen dot de>
   Approved by:    imp (mentor, implicit), anholt (drm maintainer)
   MFC after:      3 days

Approved by: imp (mentor, implicit)

16 years agoMFC: 1.30
ghelmer [Thu, 6 Mar 2008 15:07:37 +0000 (15:07 +0000)]
MFC: 1.30

Fix truncation of lines at LINE_MAX characters by dynamically
extending line buffers.

PR: bin/76578

16 years agoMFC: rev. 1.32
mtm [Thu, 6 Mar 2008 14:13:11 +0000 (14:13 +0000)]
MFC: rev. 1.32
Add the -M command-line option, which will set home directory
permissions. Works both in interactive or batch mode. This is
a heavily modified version of the patch submitted in the PR.

PR: bin/105060

16 years agoMFC: rev. 1.17
brueffer [Thu, 6 Mar 2008 07:20:53 +0000 (07:20 +0000)]
MFC: rev. 1.17

The Sony i.LINK (CXD1947) is _not_ supported.

16 years agoMFC revision 1.5
delphij [Thu, 6 Mar 2008 01:05:30 +0000 (01:05 +0000)]
MFC revision 1.5
date: 2008/02/16 00:16:49;  author: delphij;  state: Exp;  lines: +2 -1
Allow underscore in domain names while resolving.  While having underscore
is a violation of RFC 1034 [STD 13], it is accepted by certain name servers
as well as other popular operating systems' resolver library.

Bugs are mine.

Obtained from:  ume

16 years agoMFC: Make netstat -rn more resilient to having the routing table change out
jhb [Wed, 5 Mar 2008 21:19:25 +0000 (21:19 +0000)]
MFC: Make netstat -rn more resilient to having the routing table change out
from under it while running.

16 years agoMFC: Consolidate the code to generate a new XID for a NFS request.
jhb [Wed, 5 Mar 2008 20:04:16 +0000 (20:04 +0000)]
MFC: Consolidate the code to generate a new XID for a NFS request.

16 years agoMFC: add "server mode" to rfcomm_sppd(1)
emax [Tue, 4 Mar 2008 17:41:58 +0000 (17:41 +0000)]
MFC: add "server mode" to rfcomm_sppd(1)

MFC: Check return value of listen()

PR: bin/102523
Submitted by: Dave Eckhardt, bms, kevlo
Tested by: Dave Eckhardt, Eric Anderson, bms

16 years agoMFC rev. 1.63-1.68
mav [Tue, 4 Mar 2008 12:52:34 +0000 (12:52 +0000)]
MFC rev. 1.63-1.68
Document -instance and -globalport options.
Note that the punch_fw option does not work in securelevel 3.

16 years agoMFC: rev. 1.5
brueffer [Tue, 4 Mar 2008 06:09:13 +0000 (06:09 +0000)]
MFC: rev. 1.5

Move the HARDWARE section below the DESCRIPTION section, like it is
everywhere else.

16 years agoMFC: 1.51 - better recover from unknown encoding, not by core dump
ache [Mon, 3 Mar 2008 12:51:02 +0000 (12:51 +0000)]
MFC: 1.51 - better recover from unknown encoding, not by core dump

16 years agoConditionally acquire Giant based on debug.mpsafenet around entry points
rwatson [Sun, 2 Mar 2008 14:54:48 +0000 (14:54 +0000)]
Conditionally acquire Giant based on debug.mpsafenet around entry points
from if_re taskqueue and other potentially Giant-free spots.  If we don't
do this, Giant may not be held entering KAME IPSEC, etc.

This problem appeared in FreeBSD 6.2 as a result of a move to fast
interrupts, and does not exist in 7.x due to not having debug.mpsafenet.

PR: 118719
Reported by: Dan Lukes <dan at obluda dot cz>
Reviwed by: yongari

16 years agoMFC: rev 1.65.
akiyama [Sun, 2 Mar 2008 13:07:03 +0000 (13:07 +0000)]
MFC: rev 1.65.
o Add module event handler.
o Update copyright year.

16 years agoMFC: rev 1.3: '-n' option which is the opposite of '-N'.
obrien [Sun, 2 Mar 2008 03:11:48 +0000 (03:11 +0000)]
MFC: rev 1.3: '-n' option which is the opposite of '-N'.

16 years agoMFC: rev 1.278: correct typo in comment.
obrien [Sun, 2 Mar 2008 01:35:37 +0000 (01:35 +0000)]
MFC: rev 1.278: correct typo in comment.
Also sync comment layout changes and spelling fixes.

16 years agoSync with HEAD - remove unneeded cases.
obrien [Sat, 1 Mar 2008 18:35:27 +0000 (18:35 +0000)]
Sync with HEAD - remove unneeded cases.

16 years agoMerge mac_mls.c:1.99 from HEAD to RELENG_6:
rwatson [Sat, 1 Mar 2008 14:52:06 +0000 (14:52 +0000)]
Merge mac_mls.c:1.99 from HEAD to RELENG_6:

  Properly return the error from mls_subject_privileged() in the ifnet
  relabel check for MLS rather than returning 0 directly.

  This problem didn't result in a vulnerability currently as the central
  implementation of ifnet relabeling also checks for UNIX privilege, and
  we currently don't guarantee containment for the root user in mac_mls,
  but we should be using the MLS definition of privilege as well as the
  UNIX definition in anticipation of supporting root containment at some
  point.

  Submitted by:   Zhouyi Zhou <zhouzhouyi at gmail dot com>
  Sponsored by:   Google SoC 2007

16 years agoMerge netisr.h:1.34 from HEAD to RELENG_6:
rwatson [Sat, 1 Mar 2008 11:45:14 +0000 (11:45 +0000)]
Merge netisr.h:1.34 from HEAD to RELENG_6:

  Update netisr comment for the SMPng world order: netisr is no longer
  implemented using the ISR facility, and cannot be triggered by calling
  splnet()/splx().

16 years agoMerge uipc_sem.c:1.30 from HEAD to RELENG_6:
rwatson [Sat, 1 Mar 2008 11:43:01 +0000 (11:43 +0000)]
Merge uipc_sem.c:1.30 from HEAD to RELENG_6:

  Free MAC label on a POSIX semaphore when the semaphore is freed.

  Submitted by:   jhb

16 years agoMerge bpf.c:184, bpf.h:1.49 from HEAD to RELENG_6:
rwatson [Sat, 1 Mar 2008 11:38:26 +0000 (11:38 +0000)]
Merge bpf.c:184, bpf.h:1.49 from HEAD to RELENG_6:

  Remove trailing whitespace from lines in BPF.

Minor tweaks to account for minor changes between RELENG_6 and HEAD.

16 years agoMerge nfs_vnops.c:1.277 from HEAD to RELENG_6:
rwatson [Sat, 1 Mar 2008 11:33:22 +0000 (11:33 +0000)]
Merge nfs_vnops.c:1.277 from HEAD to RELENG_6:

  Remove hacks from the NFSv2/3 client intended to handle a lack of a
  server-side RPC retranmission cache for non-idempotent operations: these
  hacks substituted 0 (success) for the expected EEXIST in the event that
  a target name already existed for LINK, SYMLINK, and MKDIR operations,
  under the assumption that EEXIST represented a second application of the
  original RPC rather than a true failure.

  Background: certain NFS operations (in this case, LINK, SYMLINK, and
  MKDIR) are not idempotent, as they leave behind persisting state on the
  server that prevents them from being replayed without an error;if an UDP
  RPC reply is lost leading to a retransmission by theclient, the second
  reply will return EEXIST rather than success, asthe new object has
  already been created.  The NFS client previouslysilently mapped the
  EEXIST return into success to paper over thisproblem.

  However, in all modern NFS server implementations, a reply cache is kept
  in order to retransmit the original reply to a retransmitted request,
  rather than performing the operation a second time, allowing this hack
  to be avoided.  This allows link()-based filelocking over NFS to operate
  correctly, as an application requestingthe creation of a new link for a
  file to tell if it succeededatomically or not.

  Other NFS clients, including Solaris and Linux, generally follow this
  behavior for the same reasons.  Most clients also now default to TCP,
  which also helps avoid the issue of retransmitted but non-idempotent
  requests in most cases.

  Reported by:    Adam McDougall <mcdouga9 at egr dot msu dot edu>,
                  Timo Sirainen <tss at iki dot fi>
  Reviewed by:    mohans

16 years agoNew errata items: Wrong KDE version number, Linux mmap(2) issues,
bmah [Sat, 1 Mar 2008 04:33:14 +0000 (04:33 +0000)]
New errata items:  Wrong KDE version number, Linux mmap(2) issues,
multithreaded programs and fork(2) issue.

16 years agoMFC: rev. 1.25
brueffer [Thu, 28 Feb 2008 06:09:23 +0000 (06:09 +0000)]
MFC: rev. 1.25

Add missing words.

16 years agoMFC rev 1.131 if_ti.c
remko [Tue, 26 Feb 2008 19:28:34 +0000 (19:28 +0000)]
MFC rev 1.131 if_ti.c

Set the baudrate for if_ti.

  PR: kern/40516
  Submitted by: "Jin Guojun[VFF]" <jin at adsl-63-198-35-122 dot dsl dot snfc21 dot pacbell dot net>
  Approved by: imp (mentor, implicit for minor changes)
  MFC After: 1 week

Approved by: imp (mentor, implicit)

16 years agoBack out MFC of "eradicate caddr_t".
obrien [Tue, 26 Feb 2008 18:19:49 +0000 (18:19 +0000)]
Back out MFC of "eradicate caddr_t".
Turn's out Kris' suspisions were right - from a suttle code compatability
point of view.  Robert Watson found that ARLA code had something like this:
typedef int (*foo_t)(caddr_t); ... foo_t fred;
The compile gets all snarky when it finds int fred(void *) { .. }.

16 years agoMFC rev. 1.147
mav [Tue, 26 Feb 2008 12:40:06 +0000 (12:40 +0000)]
MFC rev. 1.147
Fix incorrect constant used in rev. 1.146 that broke node writer locking.

16 years agoo Backout rev. 1.252.2.39 rc.conf and rev. 1.256.2.35 rc.conf.5:
maxim [Tue, 26 Feb 2008 10:30:19 +0000 (10:30 +0000)]
o Backout rev. 1.252.2.39 rc.conf and rev. 1.256.2.35 rc.conf.5:
there is TCP_DROP_SYNFIN in RELENG_6 still.

PR: kern/120587

16 years agoMFC rev. 1.11: allow setkey(8) to recognize esp as a protocol
maxim [Tue, 26 Feb 2008 09:44:36 +0000 (09:44 +0000)]
MFC rev. 1.11: allow setkey(8) to recognize esp as a protocol
name for spdadd.

16 years agoMFC rev. 1.226: correct EasyMP3 EM732X usb 2.0 flash mp3 player revision.
maxim [Tue, 26 Feb 2008 09:38:09 +0000 (09:38 +0000)]
MFC rev. 1.226: correct EasyMP3 EM732X usb 2.0 flash mp3 player revision.

16 years agoMFC: Mostly sync kgdb with HEAD including the following changes:
jhb [Mon, 25 Feb 2008 22:20:13 +0000 (22:20 +0000)]
MFC: Mostly sync kgdb with HEAD including the following changes:
- Add a new 'add-kld <kld>' command to locate a kld and load its symbols.
- If the quiet flag is specified, don't dump the unread portion of the
  message buffer on startup.
- Remove the warnx() from kgdb_lookup() and add it in callers where a
  failed lookup is warning worthy.
- Add a shared library backend for kernel files that treats klds as shared
  libraries and auto-load symbols for klds on startup.
- Build a section table from the kernel file so that 'info files' output
  looks sane.

16 years agoMFC 1.69: Create a thread to handle passive cooling for 1st zone
ume [Mon, 25 Feb 2008 15:34:46 +0000 (15:34 +0000)]
MFC 1.69: Create a thread to handle passive cooling for 1st zone
which has _PSV, _TSP, _TC1 and _TC2.

16 years agoMFC rev. 1.35
mav [Mon, 25 Feb 2008 13:53:13 +0000 (13:53 +0000)]
MFC rev. 1.35
Fix shutdown bug made by previous commit.

16 years agoMFC: rev 1.295: adjust maxfilesize for UFS1 and old 4.4 FFS.
obrien [Mon, 25 Feb 2008 10:36:09 +0000 (10:36 +0000)]
MFC: rev 1.295: adjust maxfilesize for UFS1 and old 4.4 FFS.
     UFS1: increase the limit to (max block - 1) * bsize.
     4.4 FFS: decrease the limit from 0.5 TB to 2 GB - 1.

16 years agoMFC: size the NFS server dupreq cache on the basis of nmbclusters.
obrien [Mon, 25 Feb 2008 10:20:34 +0000 (10:20 +0000)]
MFC: size the NFS server dupreq cache on the basis of nmbclusters.

16 years agoMFC: fix spelling, sync comments, malloc type short descriptions, don't
obrien [Mon, 25 Feb 2008 10:03:07 +0000 (10:03 +0000)]
MFC: fix spelling, sync comments, malloc type short descriptions, don't
use function initializers in varible definitions, add GJOURNAL place holder

16 years agoMFC: rev 1.52: remove the buffers from the bufobj properly.
obrien [Mon, 25 Feb 2008 10:00:19 +0000 (10:00 +0000)]
MFC: rev 1.52: remove the buffers from the bufobj properly.
 rev 1.53: rearrange the recover code to do the ffs_blkfree() after
           second ffs_syncvnode(), that clears the pointers chain.

16 years agoMFC: use *_EMPTY macros when appropriate.
obrien [Mon, 25 Feb 2008 09:52:12 +0000 (09:52 +0000)]
MFC: use *_EMPTY macros when appropriate.

16 years agoMFC: fix livelock that could occur when snapshoting UFS with quotas.
obrien [Mon, 25 Feb 2008 09:39:37 +0000 (09:39 +0000)]
MFC: fix livelock that could occur when snapshoting UFS with quotas.
     (ffs_softdep.c rev 1.221 & ufs_inode.c rev 1.69)

16 years agoMFC: fix spelling, sync comments, malloc type short descriptions, don't
obrien [Mon, 25 Feb 2008 09:30:00 +0000 (09:30 +0000)]
MFC: fix spelling, sync comments, malloc type short descriptions, don't
use function initializers in varible definitions, add GJOURNAL place holder

16 years agoMFC: rev 1.29: call pbgetvp() and pbrelvp() instead of setting b_vp directly.
obrien [Mon, 25 Feb 2008 09:12:43 +0000 (09:12 +0000)]
MFC: rev 1.29: call pbgetvp() and pbrelvp() instead of setting b_vp directly.

16 years agoMFC: Eradicate caddr_t from the VFS API.
obrien [Mon, 25 Feb 2008 08:55:02 +0000 (08:55 +0000)]
MFC: Eradicate caddr_t from the VFS API.

16 years agoMFC: rev 1.140: drop two unnecessary casts.
obrien [Mon, 25 Feb 2008 08:37:54 +0000 (08:37 +0000)]
MFC: rev 1.140: drop two unnecessary casts.

16 years agoMFC: rev 1.12: fix an pointer/int cast warning that shows up on 64bit systems
obrien [Mon, 25 Feb 2008 07:54:09 +0000 (07:54 +0000)]
MFC: rev 1.12: fix an pointer/int cast warning that shows up on 64bit systems

16 years agoMFC: rev 1.82: panic gives the nice error message with details.
obrien [Mon, 25 Feb 2008 07:47:54 +0000 (07:47 +0000)]
MFC: rev 1.82: panic gives the nice error message with details.

16 years agoMFC: Turn most ffs 'DIAGNOSTIC's into INVARIANTS.
obrien [Mon, 25 Feb 2008 06:30:24 +0000 (06:30 +0000)]
MFC: Turn most ffs 'DIAGNOSTIC's into INVARIANTS.

16 years agoMFC rev 1.11 100.chksetuid
remko [Sun, 24 Feb 2008 20:09:52 +0000 (20:09 +0000)]
MFC rev 1.11 100.chksetuid

  Eliminate xargs in favor of find -exec {} +

Requested by: ceri
Approved by: imp (mentor, implicit trivial changes)

16 years agoRemove ZFS from the search list. ZFS is not available on
remko [Sun, 24 Feb 2008 16:47:19 +0000 (16:47 +0000)]
Remove ZFS from the search list. ZFS is not available on
RELENG_6.

Noticed by: rink

16 years agoMFC rev 1.9 to 1.10 100.chksetuid
remko [Sun, 24 Feb 2008 14:25:18 +0000 (14:25 +0000)]
MFC rev 1.9 to 1.10 100.chksetuid

  rev 1.9
  Also check setuid executables on ZFS.

  rev 1.10
  Rewrite to consume significantly less memory, by using find -s instead of
  find | sort.  As a bonus, this simplifies the logic considerably.  Also
  remove the bogus "overruning the args to ls" comment and the corresponding
  "-n 20" argument to xargs; the whole point with xargs is precisely that it
  knows how large the argument list can safely get.

  Note that the first run of the updated script may hypotheticall produce
  false positives due to differences between find's and sort's sorting
  algorithm.  I haven't seen this during testing, but others might.

  MFC after: 2 weeks

Approved by: imp (mentor, implicit for trivial changes), des
(doing some MFC's for him)

16 years agoMFC rev 1.11 to 1.14 for ichwd.c
remko [Sun, 24 Feb 2008 14:14:40 +0000 (14:14 +0000)]
MFC rev 1.11 to 1.14 for ichwd.c

  rev 1.11
  Add PCI device support for Intel S7000FC4UR in usb and ichwd, systems
  will not install without the usb changes in the install kernel, so I
  would like to MFC this in time for 7.0 RC

  MFC: 3 days

  rev 1.12
  Tabify

  rev 1.13
  Add device IDs for the ICH9 family.

  PR:           i386/119126
  Submitted by: Dan Lukes <dan@obluda.cz>
  MFC after:    1 week

  rev 1.14
  Add support for ICH8M.

  PR:           kern/119351
  Submitted by: Takeharu KATO <takeharu1219@ybb.ne.jp>
  MFC after:    1 week

MFC rev 1.5 to 1.8 for ichwd.h

  rev 1.5
  Add PCI device support for Intel S7000FC4UR in usb and ichwd, systems
  will not install without the usb changes in the install kernel, so I
  would like to MFC this in time for 7.0 RC

  MFC: 3 days

  rev 1.6
  Tabify.

  rev 1.7
  Add device IDs for the ICH9 family.

  PR:           i386/119126
  Submitted by: Dan Lukes <dan@obluda.cz>
  MFC after:    1 week

  rev 1.8
  Add support for ICH8M.

  PR:           kern/119351
  Submitted by: Takeharu KATO <takeharu1219@ybb.ne.jp>
  MFC after:    1 week

Approved by:    imp (mentor, implicit for trivial changes), des
                ( I am doing some MFC's for him)

16 years agoMFC rev 1.26 verify.c
remko [Sun, 24 Feb 2008 13:55:43 +0000 (13:55 +0000)]
MFC rev 1.26 verify.c

  When applying a spec, traverse the existing directory tree in lexical
  order.  This allows direct comparison of the output of two different
  runs, regardless of the order in which readdir(2) returns directory
  entries.

  MFC after: 3 weeks

Approved by: imp (mentor, implicit for trivial changes), des
(I am doing several MFC's for him).

16 years agoPartial MFC rev. 1.23-1.24
mav [Sun, 24 Feb 2008 13:21:13 +0000 (13:21 +0000)]
Partial MFC rev. 1.23-1.24
 - Avoid data copying. bpf_filter() is able to work directly on mbuf chain
 - Prepare hooks direct pointers on setup to avoid heavy ng_findhook() calls
during operarion.
Merge is 'Partial' due to lack of JITTER support on 6.x.

16 years agoMFC: Fix quoting for the dnsbl example -- m4 misparses quoted strings with
gshapiro [Sun, 24 Feb 2008 01:03:33 +0000 (01:03 +0000)]
MFC: Fix quoting for the dnsbl example -- m4 misparses quoted strings with
     commas due to our deconstruction of the line in cf/feature/dnsbl.m4.

     PR:             120038
     Submitted by:   mattijs vreeling

     Revision  Changes    Path
     1.36      +1 -1      src/etc/sendmail/freebsd.mc

16 years agoMFC: Use better examples (and comment them out for safety).
gshapiro [Sun, 24 Feb 2008 01:00:07 +0000 (01:00 +0000)]
MFC: Use better examples (and comment them out for safety).

     PR:             118837
     Submitted by:   Matthew Seaman

     Revision  Changes    Path
     1.4       +13 -6     src/etc/mail/access.sample

16 years agoMention 6.3-RELEASE
remko [Fri, 22 Feb 2008 20:14:30 +0000 (20:14 +0000)]
Mention 6.3-RELEASE

PR: misc/120760
Submitted by: pluknet <pluknet at gmail dot com>

16 years agoFix reference counting for already existing addresses in in_addmulti()
ups [Fri, 22 Feb 2008 19:13:56 +0000 (19:13 +0000)]
Fix reference counting for already existing addresses in in_addmulti()

Reviewed by: gnn@

16 years agoMFC r1.6
rpaulo [Wed, 20 Feb 2008 23:52:04 +0000 (23:52 +0000)]
MFC r1.6
 Don't attach to non Core CPUs. This is needed because on the PIII,
 querying the number of sensors returns > 0.

PR:             120541
Approved by:    njl (mentor)

16 years agoMFC r1.70
rpaulo [Wed, 20 Feb 2008 15:55:35 +0000 (15:55 +0000)]
MFC r1.70
 Skip validation of the C3 state if we disabled C3 by software (i.e.,
 via quirk).

Approved by:    njl (mentor)

16 years agoMFC r1.68
rpaulo [Wed, 20 Feb 2008 15:49:50 +0000 (15:49 +0000)]
MFC r1.68
 Allow the user to override the current active cooling state if state
 is currently TZ_ACTIVE_NONE

Approved by:  njl (mentor)

16 years agoMFC rev 1.15 pf.conf.5
remko [Wed, 20 Feb 2008 10:45:03 +0000 (10:45 +0000)]
MFC rev 1.15 pf.conf.5

  MFOpenBSD rev 1.393 pf.conf.5

    do not describe `/' as solidus; from Allen (freebsd pr120484);

  PR: 120484
  Submitted by: Allen <alandsidel at 1001islington dot com>
  MFC After: 3 days

16 years agoMFC version 1.3
dds [Mon, 18 Feb 2008 09:17:12 +0000 (09:17 +0000)]
MFC version 1.3
Fix collation order for accented characters.

16 years agoNew errata: SA-08:03.sendfile.
bmah [Sat, 16 Feb 2008 16:28:08 +0000 (16:28 +0000)]
New errata:  SA-08:03.sendfile.

16 years agoMFC rev. 1.50:
markus [Sat, 16 Feb 2008 16:21:26 +0000 (16:21 +0000)]
MFC rev. 1.50:

  Fix calculation of descriptor tag checksums. According to ECMA-167, Part 4,
  7.2.3, bytes 0-3 and 5-15 are used to calculate the checksum of a descriptor
  tag.

Approved by:    emax (mentor)

16 years agoMFC: SA-08:03.sendfile.
bmah [Sat, 16 Feb 2008 16:08:04 +0000 (16:08 +0000)]
MFC:  SA-08:03.sendfile.

16 years agoMFC 1.66: Add sysctl mibs for _TSP, _TC1 and _TC2 which is user
ume [Sat, 16 Feb 2008 12:45:26 +0000 (12:45 +0000)]
MFC 1.66: Add sysctl mibs for _TSP, _TC1 and _TC2 which is user
overridable but is blocked on user_override mib.
Not a few people want to use a passive cooling without their ACPI
BIOS support.

16 years agoMFC: rev. 1.3
brueffer [Sat, 16 Feb 2008 09:00:02 +0000 (09:00 +0000)]
MFC: rev. 1.3

The hptrr driver first appeared in 6.3, not 5.3.

16 years agoMFC rev 1.96
rafan [Sat, 16 Feb 2008 05:36:22 +0000 (05:36 +0000)]
MFC rev 1.96

- Remove duplicate tputs.3 from MLINK. As we use termcap in the bsae, remove
  the one links to curs_terminfo.

Submitted by:   David Naylor <blackdragon at highveldmail.co.za>

16 years agoMFC: Fix a typo when testing for the NO_C3 quirk.
jhb [Fri, 15 Feb 2008 17:05:39 +0000 (17:05 +0000)]
MFC: Fix a typo when testing for the NO_C3 quirk.

16 years agoMFC: Fix some bugs in dealing with DCMD's without data. MegaCli was sending
jhb [Fri, 15 Feb 2008 16:57:22 +0000 (16:57 +0000)]
MFC: Fix some bugs in dealing with DCMD's without data.  MegaCli was sending
down some DCMD's without any data.  Thanks to Dell and LSI for helping
to provide clues to figure out this problem.  Now MegaCli can upgrade
the firmware and should work identical when run on Linux.

16 years agoMFC revision 1.13: Use case-insensitive comparisons for HTTP header keywords.
cperciva [Fri, 15 Feb 2008 16:15:10 +0000 (16:15 +0000)]
MFC revision 1.13: Use case-insensitive comparisons for HTTP header keywords.

16 years agoMFC: rev. 1.325
brueffer [Fri, 15 Feb 2008 10:29:40 +0000 (10:29 +0000)]
MFC: rev. 1.325

Remove dublicate MLINK.

16 years agoMFC: netstat.h 1.53; route.c 1.86, 1.87
marius [Thu, 14 Feb 2008 21:52:38 +0000 (21:52 +0000)]
MFC: netstat.h 1.53; route.c 1.86, 1.87

Fix netname() (though for RELENG_6 more or less cosmetic only) and
routename() on big-endian LP64 archs.

16 years agoMFC: rev. 1.26
brueffer [Thu, 14 Feb 2008 20:20:06 +0000 (20:20 +0000)]
MFC: rev. 1.26

Add missing \n.

Approved by: rwatson (mentor), aradford@amcc.com

16 years agoMFC: Merge the MSI-X, "multi-slice" version of the mxge driver
gallatin [Thu, 14 Feb 2008 20:13:14 +0000 (20:13 +0000)]
MFC: Merge the MSI-X, "multi-slice" version of the mxge driver
and firmware

16 years agoMFC: sys/amd64/linux32/linux32_machdep.c 1.46
jkim [Thu, 14 Feb 2008 18:41:00 +0000 (18:41 +0000)]
MFC: sys/amd64/linux32/linux32_machdep.c 1.46
sys/i386/linux/linux_machdep.c 1.80

Fix Linux mmap with MAP_GROWSDOWN flag.