]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoMFC: mmc/sd support
imp [Mon, 20 Nov 2006 07:18:24 +0000 (07:18 +0000)]
MFC: mmc/sd support

17 years agoMFC: Start merging the sd/mmc support.
imp [Mon, 20 Nov 2006 07:16:28 +0000 (07:16 +0000)]
MFC: Start merging the sd/mmc support.

17 years agoMFC: 1.41: Document that visual bell is the global property, while
ru [Sun, 19 Nov 2006 12:37:30 +0000 (12:37 +0000)]
MFC: 1.41: Document that visual bell is the global property, while
other bell types can be programmed individually for each vty.

17 years agoMFC: Replace magic numbers for console bell types with defines.
ru [Sun, 19 Nov 2006 12:36:38 +0000 (12:36 +0000)]
MFC: Replace magic numbers for console bell types with defines.

17 years agoMFC:
ru [Sun, 19 Nov 2006 12:30:31 +0000 (12:30 +0000)]
MFC:

Remove the -C option as it does more harm than good.  To be fully
compatible, it would have to (at least):

- support the "compat-compat" -T option,
- *not* support the -l, -O, and -v options,
- default to soft updates being disabled.

Worse, the compatibility mode made it impossible to mount_mfs(8)
a file system from fstab(5) with soft updates disabled (-S).  [1]

Now, the only difference when called as "mount_mfs" or "mfs" (as
opposed to "mdmfs") is that the file mode of the mount point is
set by default to 01777.  All options available to mdmfs(8) are
also available to mount_mfs(8); the -C option is still recognized
but ignored for backward compatibility.

PR: bin/98860 [1]

17 years agoFix PMTU discovery in IPsec case by using an MTU hint in ICMP unreachable
bz [Sun, 19 Nov 2006 10:07:08 +0000 (10:07 +0000)]
Fix PMTU discovery in IPsec case by using an MTU hint in ICMP unreachable
fragmentation needed other then 0 when we cannot get a security policy.
This changes the code path to match what we have had in HEAD since
rev. 1.312.

PR: kern/91412
Submitted by: Tom Judge <tom tomjudge.com>

17 years agoMFC: Teach an IPV6CP to pppd(8).
ume [Sun, 19 Nov 2006 07:27:42 +0000 (07:27 +0000)]
MFC: Teach an IPV6CP to pppd(8).
The eui64.[ch] and ipv6cp.[ch] were taken from ppp-2.3.11.
However, our stock pppd(8) doesn't provide option_t nor some
utility functions.  So, I made some hacks to adjust to our
stock pppd(8).
The sys_bsd.c part was taken from NetBSD with some
modifications to adjust to our stock pppd(8).

usr.sbin/pppd/Makefile: 1.31
usr.sbin/pppd/eui64.c: 1.2
usr.sbin/pppd/eui64.h: 1.1
usr.sbin/pppd/ipv6cp.c: 1.2
usr.sbin/pppd/ipv6cp.h: 1.2
usr.sbin/pppd/main.c: 1.22
usr.sbin/pppd/options.c: 1.25
usr.sbin/pppd/pathnames.h: 1.11
usr.sbin/pppd/pppd.8: 1.27
usr.sbin/pppd/pppd.h: 1.14
usr.sbin/pppd/sys-bsd.c: 1.21

17 years agoMFC: Teach an IPv6 to ppp(4).
ume [Sun, 19 Nov 2006 07:17:22 +0000 (07:17 +0000)]
MFC: Teach an IPv6 to ppp(4).

sys/modules/if_ppp/Makefile: 1.37
sys/net/if_ppp.c: 1.118
sys/net/if_pppvar.h: 1.25

17 years agoMFC: Document that jot(1), rs(1), and lam(1) first appeared in 4.2BSD.
cperciva [Sun, 19 Nov 2006 00:43:39 +0000 (00:43 +0000)]
MFC: Document that jot(1), rs(1), and lam(1) first appeared in 4.2BSD.

Accuracy confirmed by: grog, by inspection of CSRG CDs

17 years agoMFC revs. 1.107 - 1.109: OpenBSD 4.0, NetBSD 3.0.2, NetBSD 3.1, cosmetic.
maxim [Sat, 18 Nov 2006 21:55:33 +0000 (21:55 +0000)]
MFC revs. 1.107 - 1.109: OpenBSD 4.0, NetBSD 3.0.2, NetBSD 3.1, cosmetic.

17 years agoMFC: 1.11 (automatically re-stir)
ache [Sat, 18 Nov 2006 21:35:13 +0000 (21:35 +0000)]
MFC: 1.11 (automatically re-stir)

17 years agoMFC: 1.14-1.17 (position bugfixes)
ache [Sat, 18 Nov 2006 21:16:55 +0000 (21:16 +0000)]
MFC: 1.14-1.17 (position bugfixes)

17 years agoOn RELENG_6, vn_open() will drop Giant aquired for calls into
kib [Sat, 18 Nov 2006 20:59:50 +0000 (20:59 +0000)]
On RELENG_6, vn_open() will drop Giant aquired for calls into
non-MP-safe filesystem if fdx == -1, assuming the in-kernel callers are
not MP-safe. On HEAD, vn_open() after rev. 1.240 of sys/kern/vfs_vnops.c
would keep the Giant locked when the MPSAFE flag is given.

The difference in the API caused the auditctl() syscall code to try to
unlock non-locked Giant for non-MP-safe filesystems, for instance, UFS
when QUOTA is compiled in.

This is direct commit to RELENG_6 to accomodate for RELENG_6' vn_open().

Reported by: Steve Wills (steve at stevenwills com)
Reviewed by: rwatson
Approved by: re (bmah)
X-MFC to RELENG_6_2 after: 3 days

17 years agoThis commit was manufactured by cvs2svn to create branch 'RELENG_6'.
cvs2svn [Sat, 18 Nov 2006 03:53:17 +0000 (03:53 +0000)]
This commit was manufactured by cvs2svn to create branch 'RELENG_6'.

17 years agoFix ARM build:
obrien [Fri, 17 Nov 2006 00:32:53 +0000 (00:32 +0000)]
Fix ARM build:
1. NO_FORTH needs to be defined
2. bootpd.c rev 1.24: make tv_sec a time_t
3. authpf.c rev 1.7: handle timeval.tv_sec change from long to time_t

Approved by: re(BMAH)

17 years agoMFC 1.58:
trhodes [Tue, 14 Nov 2006 20:42:40 +0000 (20:42 +0000)]
MFC 1.58:
Fake the link count until we have no choice but to load data from the
MFT.

PR: 86965
Submitted by: Lowell Gilbert <lgfbsd@be-well.ilk.org>
Approved by: re (kensmith)

17 years agoMFC 1.139:
trhodes [Tue, 14 Nov 2006 19:28:37 +0000 (19:28 +0000)]
MFC 1.139:

Close a race condition where num can be larger than tmp, giving the user
too large of a boundary.

Reported by: Ilja Van Sprundel

Approved by: re (kensmith)

17 years agoUnbreak ppc kernel build by removing zs driver.
grehan [Tue, 14 Nov 2006 16:14:43 +0000 (16:14 +0000)]
Unbreak ppc kernel build by removing zs driver.

Approved by: re (Ken Smith)

17 years agoMFC:
ariff [Tue, 14 Nov 2006 13:08:11 +0000 (13:08 +0000)]
MFC:
DMA alignment fixup.

Approved by: re (kensmith)

17 years agoMFC:
flz [Tue, 14 Nov 2006 12:54:39 +0000 (12:54 +0000)]
MFC:

  Add support for Epson USB Scanners (3590 [1] and 4990 [2]).
  Add entries in the uscanner.4 man page (along with missing 3500).
  Add quirk for Logitech iFeel MouseMan USB mouse. [3]
  Add support for Familiar Linux powered iPaq handhelds to cdce(4). [4]
  Add a quirk for the Belkin FC6550-AVR UPS. [5]
  Add support for Netgear FA101 ethernet USB NIC. [6]
  Add support for Psion Gold Port Ethernet USB NIC. [7]
  Add support for Epson Stylus CX4200 in uscanner(4). [8]
  Add support for Novatech NV902 wireless NIC in ural(4). [9]
  Add SCSI da(4) quirk for the iRiver H10. [10]
  Add a SCSI da(4) quirk for Rekam USB Camera. [11]
  Add a USB quirk for Motorola A41x/V32x USB phones. [12]
  Add a USB quirk for CMOTECH CDMA USB modem. [13]
  Add a USB umass(4) quirk for Panasonic KXL-840AN CD-R drive. [14]

      src/share/man/man4/aue.4: rev 1.24 -> 1.25
      src/sys/dev/usb/if_aue.c: rev 1.99 -> 1.100
      src/sys/dev/usb/usbdevs: rev 1.264 -> 1.275
      src/sys/dev/usb/if_cdce.c: rev 1.15 -> 1.16
      src/sys/dev/usb/umass.c: rev 1.137 -> 1.138
      src/share/man/man4/uscanner.4: rev 1.27 -> 1.29
      src/share/man/man4/ural.4: rev 1.10 -> 1.11
      src/sys/dev/usb/usb_quirks.c: rev 1.50 -> 1.54
      src/sys/dev/usb/uscanner.c: rev 1.74 -> 1.76
      src/sys/cam/scsi/scsi_da.c: rev 1.192 -> 1.194
      src/sys/dev/usb/if_kue.c: rev 1.70 -> 1.71
      src/share/man/man4/kue.4: rev 1.23 -> 1.24
      src/sys/dev/usb/if_ural.c: rev 1.45 -> 1.46

PR: usb/100957 [1], usb/100992 [2], usb/101066 [3],
usb/103865 [4], usb/102260 [5], usb/102286 [6],
usb/102296 [7], usb/102851 [8], usb/102852 [9],
usb/102547 [10], usb/98713 [11], usb/97512 [12],
usb/97948 [13], usb/81073 [14]
Submitted by: Jim Teresco <terescoj@teresco.org> [1],
Walter C. Pelissero <walter.pelissero@iesy.net> [2],
Heiko Przybyl <zuxez@uni.de> [3],
Alexey Roslyakov <internetworking@mail.ru> [4],
David Grochowski <grocho98@students.rowan.edu> [5],
Volker <volker@vwsoft.com> [6,7],
Jonathan Fosburgh <jonathan@fosburgh.org> [8,9],
Sven Esbjerg <freebsd-pr@xbsd.net> [10],
Alex <goo@t72.ru> [11],
Mark Diekhans <markd@kermodei.com> [12],
Alexei Volkov <kot@kotzone.ru> [13],
James E. Flemer <jflemer@alum.rpi.edu> [14]
Approved by: re (kensmith)

17 years agoMFC 1.88: Remove X11BASE from here.
lesi [Tue, 14 Nov 2006 12:05:54 +0000 (12:05 +0000)]
MFC 1.88: Remove X11BASE from here.

Approved by: re (hrs)

17 years agoMFC Rev. 1.2. Add a (commented out) line that loads the snmp_hostres(3)
harti [Tue, 14 Nov 2006 08:09:24 +0000 (08:09 +0000)]
MFC Rev. 1.2. Add a (commented out) line that loads the snmp_hostres(3)
module.

Approved by: re (bmah)
Suggested by: Ulrich Spoerlein

17 years agoMFen 1.883.2.51 -> 1.883.2.52
delphij [Tue, 14 Nov 2006 05:54:15 +0000 (05:54 +0000)]
MFen 1.883.2.51 -> 1.883.2.52

Approved by: re (zh_CN.GB2312 relnotes blanket)

17 years agoMFC: traceroute(8) -D.
bmah [Mon, 13 Nov 2006 20:31:31 +0000 (20:31 +0000)]
MFC:  traceroute(8) -D.

Approved by: re (implicitly)

17 years agoMFC: sys/dev/dc/if_dc.c 1.185, 1.186 (partial); sys/dev/dc/if_dcreg.h 1.52
marius [Mon, 13 Nov 2006 17:24:24 +0000 (17:24 +0000)]
MFC: sys/dev/dc/if_dc.c 1.185, 1.186 (partial); sys/dev/dc/if_dcreg.h 1.52

- Consistently use if_printf() only in interface methods: if_start(),
  if_watchdog, etc., or in functions used only in these methods.
  In all other functions in the driver use device_printf().
- Use __func__ instead of typing function name.
- Wrap code optimized for architectures without alignment constraints
  in #ifdef __NO_STRICT_ALIGNMENT rather than #ifdef __i386__. This
  means that amd64 now also uses the optimized code.
  While at it, fix a nearby style(9) bug.
- In dc_setcfg() suppress printing a warning when forcing the receiver
  and transceiver to idle state times out for chips where the status
  bits in question just never change (observed in detail with DM9102A)
  and therefore the warning would be highly likely false positive.
- In dc_ifmedia_sts() add a missing DC_UNLOCK().

Approved by: re (kensmith)

17 years agoSync with -current:
dwmalone [Mon, 13 Nov 2006 16:25:13 +0000 (16:25 +0000)]
Sync with -current:
1) Add -D flag to print diff of probe packet and ICMP quotation.
2) Make synopsis match usage better.

Approved by: re

17 years agoMFC: sbin/ggate/shared/ggate.c 1.6
pjd [Mon, 13 Nov 2006 15:13:05 +0000 (15:13 +0000)]
MFC: sbin/ggate/shared/ggate.c 1.6

- Handle timeouts from recv(2) properly.
- Increase timeout to 8 seconds (should be made configurable).

Reported by: Kazuaki ODA <kaakun@highway.ne.jp>
Reported by: Ulrich Spoerlein <uspoerlein@gmail.com>
Reported by: Christian Laursen <xi@borderworlds.dk>
PR: kern/104829
Approved by: re (bmah)

17 years agoMFen 1.883.2.50 -> 1.883.2.51
delphij [Mon, 13 Nov 2006 02:49:26 +0000 (02:49 +0000)]
MFen 1.883.2.50 -> 1.883.2.51

Approved by: re (zh_CN.GB2312 relnotes blanket)

17 years agoMFC: ng_ether(4) MAC address behavior, tun(4) kqueue(2) support,
bmah [Mon, 13 Nov 2006 01:46:08 +0000 (01:46 +0000)]
MFC:  ng_ether(4) MAC address behavior, tun(4) kqueue(2) support,
fsdb(8) findblk.

Also fix extra "the" in fsdb(8) btime note. [1]

Submitted by: ceri [1]
Approved by: re (implicitly)

17 years agoMFen 1.73.2.33 -> 1.73.2.34
delphij [Mon, 13 Nov 2006 00:54:40 +0000 (00:54 +0000)]
MFen 1.73.2.33 -> 1.73.2.34

Approved by: re (blanket)

17 years agoSince SA-06:24.libarchive affects -STABLE after the latest release
delphij [Mon, 13 Nov 2006 00:53:04 +0000 (00:53 +0000)]
Since SA-06:24.libarchive affects -STABLE after the latest release
that this errata documents, the change should be documented in
relnotes only, but not this errata.

Discussed with: security-officer (simon), re (bmah)
Approved by: re (bmah)

17 years agoMFC 1.4: sync pf.os with OpenBSD.
delphij [Sun, 12 Nov 2006 18:20:29 +0000 (18:20 +0000)]
MFC 1.4: sync pf.os with OpenBSD.

Approved by: re (bmah)

17 years agoMFen 1.883.2.47 -> 1.883.2.50
delphij [Sun, 12 Nov 2006 15:08:53 +0000 (15:08 +0000)]
MFen 1.883.2.47 -> 1.883.2.50

Approved by: re (zh_CN.GB2312 relnotes blanket)

17 years agoMFen 1.73.2.32 -> 1.73.2.33
delphij [Sun, 12 Nov 2006 14:51:06 +0000 (14:51 +0000)]
MFen 1.73.2.32 -> 1.73.2.33

Approved by: re (blanket)

17 years agoMFC:
phk [Sat, 11 Nov 2006 22:29:44 +0000 (22:29 +0000)]
MFC:
Keep the MIB in sync with -current.

Approved by: re (ken)

17 years agoMFC: rev. 1.22 - 1.24
brueffer [Sat, 11 Nov 2006 19:23:36 +0000 (19:23 +0000)]
MFC: rev. 1.22 - 1.24

Add Soekris Engineering information.

Approved by: re (bmah)

17 years agoMFC: ata(4) update, isp(4) update, fsdb(8) btime, ping(8) -W, zlib
bmah [Sat, 11 Nov 2006 19:19:06 +0000 (19:19 +0000)]
MFC:  ata(4) update, isp(4) update, fsdb(8) btime, ping(8) -W, zlib
1.2.3.

The ata(4) and isp(4) items are admittedly pretty vague, but I figured
it was important to at least mention that they had been resynced with
CURRENT.  Attempts at better text welcomed.

Approved by: re (implicitly)

17 years agoMFC: bce(4), em(4) 6.2.9, OpenSSH 4.5p1.
bmah [Sat, 11 Nov 2006 18:50:54 +0000 (18:50 +0000)]
MFC:  bce(4), em(4) 6.2.9, OpenSSH 4.5p1.

The bce(4) and em(4) notes are almost entirely new texts that apply
only to RELENG_6.

Approved by: re (implicitly)

17 years agoMFC: added PCI ID's for:
rink [Sat, 11 Nov 2006 10:47:46 +0000 (10:47 +0000)]
MFC: added PCI ID's for:

- 0x1065: Intel 82562ET/EZ/GT/GZ PRO/100 VE Ethernet [1], as found on
  Tyan GS14 barebones.
- 0x1094: Intel Pro/100 946GZ (ICH7) Network Connection [2], as found on
  Intel 946GZis motherboards.

[1] Submitted by: myself
[2] Submitted by: Mike Tancsa <mike@sentex.net>
Reviewed by: imp (mentor), jfv
Approved by: re (kensmith), imp (mentor)

17 years agoInstaMFC: OpenSSH 4.5p1
des [Sat, 11 Nov 2006 00:51:29 +0000 (00:51 +0000)]
InstaMFC: OpenSSH 4.5p1

Approved by: re (kensmith)

17 years agoMFC: Don't drop reference to tty in tty_close() if TS_ISOPEN is already
tegge [Fri, 10 Nov 2006 20:43:54 +0000 (20:43 +0000)]
MFC: Don't drop reference to tty in tty_close() if TS_ISOPEN is already
     cleared.

Approved by: re (kensmith)

17 years agoMFC: getdate.y 1.7
kientzle [Fri, 10 Nov 2006 16:09:13 +0000 (16:09 +0000)]
MFC: getdate.y 1.7

Fix "1 day ago", "yesterday" and similar relative-time phrases
when parsing dates.

PR: bin/104934: bug in some date handling of bsdtar
Approved by: re

17 years agoThis patch redesigns the watchdog timer. The old version had SMP
jfv [Fri, 10 Nov 2006 09:30:27 +0000 (09:30 +0000)]
This patch redesigns the watchdog timer. The old version had SMP
vulnerabilities. It also has the FAST_INTR code as a compile option.

Submitted by: jfv
Reviewed by: scottl
Approved by: re, scottl

17 years agoMFC:
emax [Thu, 9 Nov 2006 17:59:31 +0000 (17:59 +0000)]
MFC:

Properly htole16() PSM in sockaddr_l2cap

Approved by: re (bmah)

17 years agoMFC rev. 1.7: document ServeRAID 7x support.
maxim [Thu, 9 Nov 2006 11:14:22 +0000 (11:14 +0000)]
MFC rev. 1.7: document ServeRAID 7x support.

Approved by: re (bmah)

17 years agoMFC rev. 1.17: there is no securenets(5) man page, refer to ypserv(8).
maxim [Thu, 9 Nov 2006 11:08:46 +0000 (11:08 +0000)]
MFC rev. 1.17: there is no securenets(5) man page, refer to ypserv(8).

Approved by: re (bmah)

17 years agoMFC rev. 1.14: fix incorrect function name.
maxim [Thu, 9 Nov 2006 11:07:28 +0000 (11:07 +0000)]
MFC rev. 1.14: fix incorrect function name.

Approved by: re (bmah)

17 years agoMFC rev. 1.17: fix incorrect function name.
maxim [Thu, 9 Nov 2006 11:06:27 +0000 (11:06 +0000)]
MFC rev. 1.17: fix incorrect function name.

Approved by: re (bmah)

17 years agoNew errata: SA-06:24.libarchive.
bmah [Wed, 8 Nov 2006 17:37:18 +0000 (17:37 +0000)]
New errata:  SA-06:24.libarchive.

Approved by: re (implicitly)

17 years agoMFC: SA-06:24.libarchive.
bmah [Wed, 8 Nov 2006 17:25:24 +0000 (17:25 +0000)]
MFC:  SA-06:24.libarchive.

Approved by: re (implicitly)

17 years ago Log:
csjp [Wed, 8 Nov 2006 16:28:34 +0000 (16:28 +0000)]
  Log:
  Fix possible leak when bridge is in monitor mode. Use m_freem() which will
  free the entire chain, instead of using m_free() which will free just the
  mbuf that was passed.

Approved by: re@ (kensmith)

17 years agoMFC 1.9:
simon [Wed, 8 Nov 2006 14:05:40 +0000 (14:05 +0000)]
MFC 1.9:

Fix infinite loop in corrupt archives handling in libarchive(3).

Submitted by: kientzle
Reported by: rink
Security: FreeBSD-SA-06:24.libarchive
Approved by: re (kensmith)

17 years agoMFC the upgrade to BIND 9.3.2-P2. This is mostly a noop in the base,
dougb [Wed, 8 Nov 2006 01:32:16 +0000 (01:32 +0000)]
MFC the upgrade to BIND 9.3.2-P2. This is mostly a noop in the base,
since if you're compiling the base with this upgraded, you've already
got your openssl upgraded, but it's a good idea to include this for
completeness sake.

Approved by: re (hrs)

17 years agoMFC:
lawrance [Tue, 7 Nov 2006 19:52:12 +0000 (19:52 +0000)]
MFC:
  Document return values for res_query and res_search.
  h_errno is not an extern int, just a macro providing an integer lvalue.

  PR:             doc/50573
  Submitted by:   Ronald F.Guilmette <rfg at monkeys.com>
  Reviewed by:    trhodes

Approved by: re (bmah)

17 years agoMFC
kib [Tue, 7 Nov 2006 16:56:11 +0000 (16:56 +0000)]
MFC
sys/ufs/ffs/ffs_inode.c rev. 1.107
sys/ufs/ffs/ffs_snapshot.c rev. 1.131
sys/ufs/ffs/ffs_vnops.c rev. 1.161
sys/ufs/ufs/inode.h rev. 1.51
sys/ufs/ufs/ufs_vnops.c rev. 1.280

Do not translate the IN_ACCESS inode flag into the IN_MODIFIED while filesystem
is suspending/suspended. Doing so may result in deadlock. Instead, set the
(new) IN_LAZYACCESS flag, that becomes IN_MODIFIED when suspend is lifted.

Change the locking protocol in order to set the IN_ACCESS and timestamps
without upgrading shared vnode lock to exclusive (see comments in the
inode.h). Before that, inode was modified while holding only shared
lock.

Tested on RELENG_6 by: Peter Holm
Approved by: re (kensmith)

17 years agoMFC r1.84
thompsa [Tue, 7 Nov 2006 16:29:40 +0000 (16:29 +0000)]
MFC r1.84
   When the packet is for the bridge then note which interface to send the reply
   to, previously it was always broadcast to all interfaces (a bug). This is
   useful when the bridge is the default gateway and vlans are used to isolate
   each client, the reply is now kept private to the vlan which the client
   resides.

Approved by: re (kensmith)

17 years agoMFC pf.conf.5, 1.10:
mlaier [Mon, 6 Nov 2006 16:47:27 +0000 (16:47 +0000)]
MFC pf.conf.5, 1.10:
  Mention that we do not support route labels in the BUGS section.

  PR: docs/93590
  Reported by: Niki Denev

Approved by: re (bmah)

17 years agoMFC network.subr, 1.176:
mlaier [Mon, 6 Nov 2006 16:46:06 +0000 (16:46 +0000)]
MFC network.subr, 1.176:
  Do not try to rtsol on pflog or pfsync devices.

Approved by: re (bmah)

17 years agoTweak the FreeBSD/ARM settings.
obrien [Mon, 6 Nov 2006 07:20:23 +0000 (07:20 +0000)]
Tweak the FreeBSD/ARM settings.

Approved by: re(KEN)

17 years agoMFC: configure for for big endian if __ARMEB__ or TARGET_BYTES_BIG_ENDIAN
obrien [Mon, 6 Nov 2006 02:31:43 +0000 (02:31 +0000)]
MFC: configure for for big endian if __ARMEB__ or TARGET_BYTES_BIG_ENDIAN
     is defined.

Approved by: re(KEN)

17 years agoMFC: ARM support.
obrien [Mon, 6 Nov 2006 02:20:28 +0000 (02:20 +0000)]
MFC: ARM support.

Approved by: re(KEN)

17 years agoMFC: 1.16
marius [Sun, 5 Nov 2006 13:32:58 +0000 (13:32 +0000)]
MFC: 1.16

In the replacement text of the __bswapN_const() macros encapsulate the
argument in parentheses so these macros are safe to use and invocations
with an expression as the argument like __bswap32_const(42 << 23 | 13)
work as expected. Additionally, mask all the individually shifted bytes
as appropriate so the bytes which exceed the width of the respective
__bswapN_const() macro in invocations like __bswap16_const(0xdead600d)
are ignored like it's the case with the corresponding __bswapN_var()
function.

Approved by: re (hrs)

17 years agoMFC of the following:
hrs [Sun, 5 Nov 2006 08:50:38 +0000 (08:50 +0000)]
MFC of the following:

- sys/modules/md/Makefile rev 1.14:

  Rename GEOM class kernel module g_md.ko to geom_md.ko for
  consistency with the rest.  The g_md.ko is now a hardlink of
  geom_md.ko for backward compatibility.

- sys/sys/mdioctl.h rev 1.21:

  Removed (now unused) #define.

- sys/boot/forth/loader.conf rev 1.102:

  Add more GEOM classes to defaults/loader.conf. Add references to
  manual pages to those already present.

- sbin/mdconfig/mdconfig.c rev 1.45:

  Simplify mdmaybeload() function.

Reviewed by: ru and pjd
Approved by: re (kensmith)

17 years agoMake it compile again for RE6.
mjacob [Sat, 4 Nov 2006 19:02:18 +0000 (19:02 +0000)]
Make it compile again for RE6.

Approved by: re (hrs)

17 years agoMFC 1.197:
trhodes [Sat, 4 Nov 2006 01:45:50 +0000 (01:45 +0000)]
MFC 1.197:

  Provide a less cryptic panic message in place of just "found inode."

Approved by: re (hrs)

17 years agoMFC:
trhodes [Sat, 4 Nov 2006 00:27:14 +0000 (00:27 +0000)]
MFC:
  Remove mention of "lomac" as it's been gone for a good while now (at least
  two years).

  Revision  Changes    Path
  1.25      +2 -2      src/sbin/kldload/kldload.8

Approved by: re (bmah)

17 years agoMFC rev.1.3: Suppress a spurious warning message when a kernel without
hrs [Fri, 3 Nov 2006 17:35:23 +0000 (17:35 +0000)]
MFC rev.1.3: Suppress a spurious warning message when a kernel without
INET6 is used.

Spotted by:     ru
Reviewed by:    ume
Approved by: re (kensmith)

17 years agoMFC rev. 1.202:
kib [Fri, 3 Nov 2006 11:43:47 +0000 (11:43 +0000)]
MFC rev. 1.202:
Aquire Giant in the softdep_flush for clear_remove() and clear_inodedeps()
processing when QUOTA is set.

Approved by: re (hrs)

17 years agoSync up to CURRENT:
trhodes [Fri, 3 Nov 2006 10:40:02 +0000 (10:40 +0000)]
Sync up to CURRENT:
  Kill reference to ndisapi.9 here as well, it doesn't exist.

  PR:             82114

  Point users to ndisgen(8) over directly interacting with ndiscvt(8) as the
  former is easier to use.

  PR:             97231

Approved by: re (hrs)

17 years agoMFC 1.43 (markup fixes by ru) and 1.44:
trhodes [Fri, 3 Nov 2006 09:24:52 +0000 (09:24 +0000)]
MFC 1.43 (markup fixes by ru) and 1.44:
  Mark up keywords with .Cm.

  PR:             95039
  Sumitted by:    SeaD (older version)
  Reviewed by:    ru

Approved by: re (hrs)

17 years agoMFC:
trhodes [Fri, 3 Nov 2006 09:18:41 +0000 (09:18 +0000)]
MFC:
  Remove ndisapi.9 Xref.

  PR:     97375

Approved by: re (hrs)

17 years agoMFC rev. 1.25
kib [Fri, 3 Nov 2006 09:18:31 +0000 (09:18 +0000)]
MFC rev. 1.25
Use correct linux32 signal trampoline length.

Approved by: re (hrs)

17 years agoMFC rev. 1.166:
kib [Fri, 3 Nov 2006 09:16:48 +0000 (09:16 +0000)]
MFC rev. 1.166:
Fix leak in NAMEI zone caused by nfs server when VOP_RENAME fails.

Approved by: re (hrs)

17 years agoMFC rev. 1.427:
kib [Fri, 3 Nov 2006 09:15:55 +0000 (09:15 +0000)]
MFC rev. 1.427:
The attempt to rename "." with MAC framework compiled in would cause attempt
to twice unlock the vnode. Check that ni_vp and ni_dvp are different before
doing second unlock.

Approved by: re (hrs)

17 years agoMFC:
trhodes [Fri, 3 Nov 2006 09:14:24 +0000 (09:14 +0000)]
MFC:
  Note that the -v option may be used to expand long SSIDs.
  Use .Fl inplace of .Cm (ru change).

  PR:             102118
  Reviewed by:    sam

Approved by: re (hrs)

17 years agoSync up to CURRENT and note the -P option is not supported on FreeBSD.
trhodes [Fri, 3 Nov 2006 09:05:44 +0000 (09:05 +0000)]
Sync up to CURRENT and note the -P option is not supported on FreeBSD.

PR: 99831
Reviewed by: ru
Approved by: re (hrs)

17 years agoMFC:
trhodes [Fri, 3 Nov 2006 09:03:17 +0000 (09:03 +0000)]
MFC:
  Add information on how to escape a literal colon in a value or name.

  PR:     101262

Approved by: re (hrs)

17 years agoParitially sync with CURRENT, kills hard sentence breaks, fixes some markup.
trhodes [Fri, 3 Nov 2006 09:00:18 +0000 (09:00 +0000)]
Paritially sync with CURRENT, kills hard sentence breaks, fixes some markup.

MFC: 1.197
  Add a note about rule syntax compared to the shell used so users do not get
  frustraited when:
  ipfw add 201 deny ip from any to table(2) in via xl1
  returns "Badly placed ( )'s"

  PR:     73638

Approved by: re (hrs)

17 years agoMFC:
trhodes [Fri, 3 Nov 2006 08:50:26 +0000 (08:50 +0000)]
MFC:
  The SIOCSIFNETMASK ioctl was removed from tun.c, thus remove mention of
  it in the tun.4 manual page.

  PR:             98541
  Submitted by:   David Gilbert (In actuality it was submitted by bz@)

Approved by: re (hrs)

17 years agoMFC:
trhodes [Fri, 3 Nov 2006 08:43:37 +0000 (08:43 +0000)]
MFC:
  Note the naming convention of files in share/skel and explain the "dot"
  prefix is removed.

  PR:     103828

Approved by: re (hrs)

17 years agoMFC:
trhodes [Fri, 3 Nov 2006 08:38:26 +0000 (08:38 +0000)]
MFC:
o Note the value from getenv() should not be modified by applications[1];
o getenv.3: Put "is" on a line with other words. [2]
o getobjformat.3: "takes precedence over" is not an envrionment variable. [2]

[1]: PR: 60544 Reviewed by: ru
[2]: PR: 75545 Submitted by: n-kogane@syd.odn.ne.jp

Approved by: re (hrs)

17 years agoMFC: Make EWOULDBLOCK a recoverable error so that the request is
mohans [Thu, 2 Nov 2006 19:48:17 +0000 (19:48 +0000)]
MFC: Make EWOULDBLOCK a recoverable error so that the request is
retransmitted. This bug results in data corruption. Writes are
silently dropped on EWOULDBLOCK (caused because socket send buffer is
full and sockbuf timer fires - with NFS/TCP).
Reviewed by: ups@
Approved by: re

17 years agoMFC Adaptec ServeRAID 7x IDs.
maxim [Thu, 2 Nov 2006 14:57:22 +0000 (14:57 +0000)]
MFC Adaptec ServeRAID 7x IDs.

Approved by: re (kensmith)

17 years agoMFC: 1.98: Handle vnode_if.h dependencies right.
ru [Wed, 1 Nov 2006 18:55:32 +0000 (18:55 +0000)]
MFC: 1.98: Handle vnode_if.h dependencies right.

Approved by: re (hrs)

17 years agoMFC (1.12): Re-sync'ing pf rules in post command as we already did for
avatar [Tue, 31 Oct 2006 03:29:27 +0000 (03:29 +0000)]
MFC (1.12): Re-sync'ing pf rules in post command as we already did for
ipfilter.

Approved by: re (kensmith)

17 years agoMFC: Change the x86 interrupt code to suspend/resume interrupt controllers
jhb [Mon, 30 Oct 2006 18:03:04 +0000 (18:03 +0000)]
MFC: Change the x86 interrupt code to suspend/resume interrupt controllers
(PICs) rather than interrupt sources.  As a result, always reset the 8259As
on resume and reset the local APIC of the BSP on resume.

Approved by: re (hrs)

17 years agoSync with HEAD including support for reading any %crX register as well
jhb [Mon, 30 Oct 2006 17:32:39 +0000 (17:32 +0000)]
Sync with HEAD including support for reading any %crX register as well
as some space savings.

Approved by: re (kensmith)

17 years agoThe correct date for RELENG_X manpages is not the last time the
keramida [Mon, 30 Oct 2006 17:01:16 +0000 (17:01 +0000)]
The correct date for RELENG_X manpages is not the last time the
manpage was modified in the RELENG_X branch, but its last
modification date in HEAD.

Suggested by: ru
Approved by: re (bmah)

17 years agoMFC revision 1.35 and bump date.
keramida [Mon, 30 Oct 2006 16:09:24 +0000 (16:09 +0000)]
MFC revision 1.35 and bump date.

: The 'device fd' line became obsolete some years ago, when the transition
: to device hints was committed.  The GENERIC kernel configuration lost
: its 'device fd' line at revision 1.260, committed by peter@ on
: 2000/06/13 22:28:46 UTC.
:
: Delete the reference to 'device fd', to avoid kernel build breakage like
: the one described in the PR audit trail.
:
: PR:           docs/91448
: Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>
: MFC after:    1 week

Approved by: re (bmah)

17 years agoMFC rev. 1.138.
kib [Mon, 30 Oct 2006 15:46:29 +0000 (15:46 +0000)]
MFC rev. 1.138.
Update the access and modification times for dev while still holding
thread reference on it.

Approved by: re (hrs)

17 years agoMFC
kib [Mon, 30 Oct 2006 15:43:56 +0000 (15:43 +0000)]
MFC
rev. 1.137 src/sys/fs/devfs/devfs_vnops.c
rev. 1.200 src/sys/kern/kern_conf.c
rev. 1.230 src/sys/sys/conf.h

Fix the race between devfs_fp_check and devfs_reclaim.

Approved by: re (hrs)

17 years agoMFC
kib [Mon, 30 Oct 2006 15:40:53 +0000 (15:40 +0000)]
MFC
rev. 1.31  src/sys/fs/devfs/devfs.h
rev. 1.48  src/sys/fs/devfs/devfs_devs.c
rev. 1.3   src/sys/fs/devfs/devfs_int.h
rev. 1.136 src/sys/fs/devfs/devfs_vnops.c

Properly lock the vnode around vgone() calls. Unlock the vnode in
devfs_close() while calling into the driver d_close() routine.

Approved by: re (hrs)

17 years agoMFC rev. 1.135.
kib [Mon, 30 Oct 2006 15:36:31 +0000 (15:36 +0000)]
MFC rev. 1.135.
Fix the bug in rev. 1.134 (unlocking of not locked dm_lock).

Approved by: re (hrs)

17 years agoMFC:
kib [Mon, 30 Oct 2006 15:33:38 +0000 (15:33 +0000)]
MFC:
rev. 1.30   src/sys/fs/devfs/devfs.h
rev. 1.47   src/sys/fs/devfs/devfs_devs.c
rev. 1.51   src/sys/fs/devfs/devfs_vfsops.c
rev. 1.134  src/sys/fs/devfs/devfs_vnops.c

Resolve the devfs deadlock caused by LOR between devfs_mount->dm_lock
and vnode lock in devfs_allocv. Add hold counters for both devfs_mount
and devfs_dirent, and DE_DOOMED flag for devfs_dirent.

Approved by: re (hrs)
PR:             kern/102335

17 years agoMFC rev. 1.132.
kib [Mon, 30 Oct 2006 15:27:57 +0000 (15:27 +0000)]
MFC rev. 1.132.
Add vnode interlocking to devfs.

Approved by: re (hrs)

17 years agoMFC rev. 1.130.
kib [Mon, 30 Oct 2006 15:24:28 +0000 (15:24 +0000)]
MFC rev. 1.130.
Add a bogus vhold/vdrop around vgone() in devfs_revoke.

Approved by: re (hrs)

17 years agoMFC rev. 1.29.
kib [Mon, 30 Oct 2006 15:23:00 +0000 (15:23 +0000)]
MFC rev. 1.29.
Remove unused prototypes.

Approved by: re (hrs)

17 years agoMFC rev. 1.4, 1.5.
kib [Mon, 30 Oct 2006 13:55:25 +0000 (13:55 +0000)]
MFC rev. 1.4, 1.5.
Remove the const qualifier from ap argument for __v2printf.

Approved by: re (kensmith)

17 years agoMFC:
ru [Mon, 30 Oct 2006 13:24:11 +0000 (13:24 +0000)]
MFC:

1.915: Remove hint.atkbd.0.flags="0x1" from the installation device.hints;
       kbdmux(4) is in charge of multiple keyboards.

1.916: The AUTO_KEYBOARD_DETECT knob can be useful on amd64 as well.

Approved by: re (hrs)

17 years agoMFC: 1.16: Fix booting with ps2 keyboards.
ru [Mon, 30 Oct 2006 13:20:10 +0000 (13:20 +0000)]
MFC: 1.16: Fix booting with ps2 keyboards.

Approved by: re (hrs)