]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
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

17 years agoMFC :
mohans [Tue, 5 Dec 2006 18:41:35 +0000 (18:41 +0000)]
MFC :
Fix to readdir+ reply handling. When inserting an entry into the namecache,
initialize the nfsnode's ctime. Otherwise a subsequent lookup purges the
just entered namecache entry.
Approved by: re

17 years agoOops, alpha is still alive on RELENG_6.
ru [Tue, 5 Dec 2006 13:56:46 +0000 (13:56 +0000)]
Oops, alpha is still alive on RELENG_6.

17 years agoMFC: Support cross-building by just specifying TARGET.
ru [Mon, 4 Dec 2006 18:44:07 +0000 (18:44 +0000)]
MFC: Support cross-building by just specifying TARGET.

Requested by: sam

17 years agoMFC: rp.c 1.69, 1.71, 1.72; rp_isa.c 1.8; rp_pci.c 1.12; rpreg.h 1.8;
marius [Mon, 4 Dec 2006 12:26:52 +0000 (12:26 +0000)]
MFC: rp.c 1.69, 1.71, 1.72; rp_isa.c 1.8; rp_pci.c 1.12; rpreg.h 1.8;
     rpvar.h 1.9, 1.10

- We know it is called rpclose() so call it directly.
- Fix -Wundef from compiling the amd64 LINT.
- Make rp(4) 64-bit- and endian-clean as well as work on strict alignment
  archs.
- Instead of bus_space_{read,write}*(rman_get_bustag(), rman_get_bushandle())
  use bus_{read,write}*(). Unlike in 7.0-CURRENT, this has no other benefit
  than diff reduction with HEAD.

17 years agoMFC: 1.15: Add missing `;;' in the example shell code snippet.
ru [Mon, 4 Dec 2006 11:11:59 +0000 (11:11 +0000)]
MFC: 1.15: Add missing `;;' in the example shell code snippet.

PR: i386/106113

17 years agoMFC: sys/kern/vfs_subr.c 1.682
pjd [Mon, 4 Dec 2006 08:45:52 +0000 (08:45 +0000)]
MFC: sys/kern/vfs_subr.c 1.682

Add 'show vnode <addr>' DDB command.

Requested by: kib

17 years agoMFC:
mlaier [Mon, 4 Dec 2006 00:51:14 +0000 (00:51 +0000)]
MFC:
  ALTQify ep(4).

  Tested and Requested by: Andy Brook

17 years agoMFC 1.33:
luigi [Sun, 3 Dec 2006 19:01:42 +0000 (19:01 +0000)]
MFC 1.33:
use standard mode instead of 500 for /sbin/init

17 years agoMFC: rev. 1.8 from OpenBSD, rev. 1.91:
mlaier [Sun, 3 Dec 2006 18:32:51 +0000 (18:32 +0000)]
MFC: rev. 1.8 from OpenBSD, rev. 1.91:
  fix servicecurve check; no point in checking the same sc three times, it
  was obviously intended to check all three. has been wrong since the
  beginning, 4 years... noticed by Earl Lapus <earl.lapus@gmail.com>, Vasil
  Dimov <vd@FreeBSD.org> mailed me then, ok mcbride

17 years agoMFC: rev. 1.27
brueffer [Sun, 3 Dec 2006 10:56:34 +0000 (10:56 +0000)]
MFC: rev. 1.27

Remove pre-5.3 compatibility ifdefs.

Approved by: rwatson (mentor)

17 years agoMFC: 1.28: Fix the hardware VLAN tagging.
ru [Sun, 3 Dec 2006 07:15:49 +0000 (07:15 +0000)]
MFC: 1.28: Fix the hardware VLAN tagging.

PR: kern/105054

17 years agoMFC:
brueffer [Sat, 2 Dec 2006 09:05:22 +0000 (09:05 +0000)]
MFC:

bce(4) does not work correctly in polling(4) mode for now.

17 years agoMFC: sys/nfsserver/nfs_serv.c 1.167
pjd [Sat, 2 Dec 2006 09:00:09 +0000 (09:00 +0000)]
MFC: sys/nfsserver/nfs_serv.c 1.167

Protect nfsm_srvpathsiz() call with the nfsd_mtx lock.

Reviewed by: mohans
Requested by: kib

17 years agoMFC: sys/geom/eli/g_eli.c 1.32,1.33
pjd [Sat, 2 Dec 2006 08:49:40 +0000 (08:49 +0000)]
MFC: sys/geom/eli/g_eli.c 1.32,1.33

Skip disabled CPU, because after we sched_bind() to a disabled CPU,
we won't be able to exit from the thread.

Function g_eli_cpu_is_disabled() stoled from kern_pmc.c.

PR: 104669
Reported by: Nikolay Mirin <nik@optim.com.ru>

17 years agoMFC:
emax [Fri, 1 Dec 2006 23:33:22 +0000 (23:33 +0000)]
MFC:

Do not mark Bluetooth HID device as "potential keyboard" if its descriptor
has items with CONSUMER page. For now only check for items with KEYBOARD page.
This should prevent bthidd(8) from allocating vkbd(4) keyboard for Microsoft
Bluetooth Explorer mouse.

Approved by: re (bmah)

17 years agoMFC: Trim some x86 interrupt-related noise from bootverbose.
jhb [Fri, 1 Dec 2006 17:13:56 +0000 (17:13 +0000)]
MFC: Trim some x86 interrupt-related noise from bootverbose.

17 years agoMFC: Add suspend/resume support.
jhb [Fri, 1 Dec 2006 17:02:35 +0000 (17:02 +0000)]
MFC: Add suspend/resume support.

17 years agoMFC: Look for capabilities in PCI-PCI bidges using the same CAP PTR
jhb [Fri, 1 Dec 2006 16:55:14 +0000 (16:55 +0000)]
MFC: Look for capabilities in PCI-PCI bidges using the same CAP PTR
register as for type 0 devices.

17 years agoMFC: Don't try to print a NULL string during boot.
jhb [Fri, 1 Dec 2006 16:11:05 +0000 (16:11 +0000)]
MFC: Don't try to print a NULL string during boot.

17 years agoMFC: revision 1.153
nyan [Fri, 1 Dec 2006 15:54:34 +0000 (15:54 +0000)]
MFC: revision 1.153

Increase USR_MIN_SIZE to 160 because it requires more disk space.

17 years agoMFC: Revert signedness type changes to "struct vmtotal" to keep
ru [Fri, 1 Dec 2006 12:49:08 +0000 (12:49 +0000)]
MFC: Revert signedness type changes to "struct vmtotal" to keep
overflows easier to detect.  As a bonus, fix printing of other
"struct vmtotal" members, t_rq, t_dw, t_pw, and t_sw.

17 years agoMFC: Store fault address into POSIX siginfo.
davidxu [Fri, 1 Dec 2006 08:34:38 +0000 (08:34 +0000)]
MFC: Store fault address into POSIX siginfo.

PR: amd64/106109

17 years agoMFC rev 1.90:
yar [Fri, 1 Dec 2006 08:06:42 +0000 (08:06 +0000)]
MFC rev 1.90:

  Note that not all architectures use sendfile(2) buffers;
  refer to the respective manpage for details.

17 years agoMFC rev. 1.31:
yar [Fri, 1 Dec 2006 07:58:23 +0000 (07:58 +0000)]
MFC rev. 1.31:

  Note that, thanks to the work by Alan Cox et al, some arch'es
  don't need sendfile() buffers any more.

17 years agoMFC: rev. 1.25
brueffer [Thu, 30 Nov 2006 05:49:54 +0000 (05:49 +0000)]
MFC: rev. 1.25

Overhaul this manpage somewhat:

- Move mentionings of required drivers to the SYNOPSIS where they belong
- Remove cruft (XiG, sheesh) from the EXAMPLES section and re-arrange things to make
  somewhat more sense
- Fix an Xref to manpage from ports to mention the corresponsing port
- Remove commented out HISTORY section header

17 years agoMFC: 1.72: Prevent cached rtentry from being removed, add rtentry
ru [Wed, 29 Nov 2006 14:00:29 +0000 (14:00 +0000)]
MFC: 1.72: Prevent cached rtentry from being removed, add rtentry
locking to nd6_output().

PR: kern/93910, kern/105437

17 years agoMFC rev 1.3: Remove the accidental duplicate
yar [Wed, 29 Nov 2006 11:20:10 +0000 (11:20 +0000)]
MFC rev 1.3: Remove the accidental duplicate
of the real contents of this file.

17 years agoMFC rev 1.4: Properly stop at the gigabyte scale when the number
yar [Wed, 29 Nov 2006 11:13:22 +0000 (11:13 +0000)]
MFC rev 1.4: Properly stop at the gigabyte scale when the number
to auto-scale is 1TB or greater.

PR: bin/99731

17 years agoMFC rev. 1.16: check that -w width is not above maximum.
maxim [Wed, 29 Nov 2006 07:51:29 +0000 (07:51 +0000)]
MFC rev. 1.16: check that -w width is not above maximum.

17 years agoMFC {r1.60 boot_i386.8, r1.24 reboot.8 }: Cross-reference nextboot(8).
jkoshy [Wed, 29 Nov 2006 05:29:13 +0000 (05:29 +0000)]
MFC {r1.60 boot_i386.8, r1.24 reboot.8 }: Cross-reference nextboot(8).

17 years agoAnother attempt to MFC changes that prevent any accounting for the disabled
sobomax [Wed, 29 Nov 2006 01:19:23 +0000 (01:19 +0000)]
Another attempt to MFC changes that prevent any accounting for the disabled
HTT cores. This time make code conditional on !defined(SCHED_ULE), since
SCHED_ULE is generally b0rken due to the fact that it doesn't honour
hlt_cpus_mask when scheduling processes like all other schedulers in the
system do.

I am not sure if such SCHED_ULE behaviour should be considered as a
security flaw, basically it means that anybody running SCHED_ULE kernel
on HTT system still affected by FreeBSD-SA-05:09.htt.

17 years agoPartial MFC: Remove 16-bit wide I/O. It breaks when the register shift
marcel [Tue, 28 Nov 2006 22:03:37 +0000 (22:03 +0000)]
Partial MFC: Remove 16-bit wide I/O. It breaks when the register shift
is non-null and may not work on all chipsets.

PR: i386/105616
Tested by: Helge Oldach

17 years agoReformulate ip_ctloutput() and tcp_ctloutput() to work around the fact
rwatson [Tue, 28 Nov 2006 21:41:12 +0000 (21:41 +0000)]
Reformulate ip_ctloutput() and tcp_ctloutput() to work around the fact
that so_pcb can be invalidated at any time due to an untimely reset.
Move the body of ip_ctloutput() to ip_ctloutput_pcbinfo(), which
accepts a pcbinfo argument, and wrap it with ip_ctloutput(), which
passes a NULL.  Modify tcp_ctloutput() to directly invoke
ip_ctloutput_pcbinfo() and pass tcbinfo.  Hold the pcbinfo lock when
dereferencing so_pcb and acquiring the inpcb lock in order to prevent
the inpcb from being freed; the pcbinfo lock is then immediately
dropped.  This is required as TCP may free the inppcb and invalidate
so_pcb due to a reset at any time in the RELENG_6 network stack, which
otherwise leads to a panic.

This panic might be frequently seen on highly loaded IRC and Samba
servers, which have long-lasting TCP connections, query socket options
frequently, and see a significant number of reset connections.

This change has been merged directly to RELENG_6 as the problem does
not exist in HEAD, where the invariants for so_pcb are much stronger;
the architectural changes in HEAD avoid the need to acquire a global
lock in the socket option path.  This change will be merged to
RELENG_6_2.

PR: 102412, 104765
Reviewed by: Diane Bruce <db at db.net>
Tested by: Daniel Austin <daniel at kewlio dot net>,
Kai Gallasch <gallasch at free dot de>

17 years agoMFC v1.240:
kensmith [Tue, 28 Nov 2006 17:08:43 +0000 (17:08 +0000)]
MFC v1.240:
revision 1.240
date: 2006/11/23 00:57:10;  author: kensmith;  state: Exp;  lines: +1 -1
Oops - what people refer to as linux_base-fc4 calls itself linux_base-fc
and that's what pkg_add needs.

17 years agoMerge rev 1.10 of if_bcereg.h and 1.20-1.21 of if_bce.c These fix VLAN tag
scottl [Tue, 28 Nov 2006 17:05:36 +0000 (17:05 +0000)]
Merge rev 1.10 of if_bcereg.h and 1.20-1.21 of if_bce.c  These fix VLAN tag
handling and close a race in the TX path that would lead to lost packets under
heavy load.

Approved by: re

17 years agoPartial MFC of revision 1.4:
cperciva [Mon, 27 Nov 2006 21:26:20 +0000 (21:26 +0000)]
Partial MFC of revision 1.4:
Fix a bug which caused a spurious "Fetching 2 metadata files... failed."
error message the first time FreeBSD Update is run on a release which
doesn't need any updates.

17 years agoMFC: a.out -> ELF in comments.
ru [Mon, 27 Nov 2006 14:53:53 +0000 (14:53 +0000)]
MFC: a.out -> ELF in comments.

17 years agoMFC: 1.80: Restore support for directly loaded kernels.
ru [Mon, 27 Nov 2006 14:49:38 +0000 (14:49 +0000)]
MFC: 1.80: Restore support for directly loaded kernels.
     1.81: Restore support for -c and -d.

PR: i386/96430, i386/104709

17 years agoMFC: 1.449: Fix endless visual beeping.
ru [Mon, 27 Nov 2006 14:37:09 +0000 (14:37 +0000)]
MFC: 1.449: Fix endless visual beeping.

PR: kern/68016

17 years agoMFC 1.22 and 1.23:
n_hibma [Mon, 27 Nov 2006 12:17:32 +0000 (12:17 +0000)]
MFC 1.22 and 1.23:
Shorten the kernel config file on the make command line to make things
like
NANO_KERNEL=/path/to/kernel.config
work, so multiple images can share the same kernel config file.

17 years agoMFC 1.26-1.34 of jot.c and 1.18-1.23 of jot.1.
dds [Mon, 27 Nov 2006 09:02:01 +0000 (09:02 +0000)]
MFC 1.26-1.34 of jot.c and 1.18-1.23 of jot.1.
These revisions address bin/54878, docs/54879, bin/68981,
and improve the code's readability.

17 years agoAdd le(4).
marius [Mon, 27 Nov 2006 00:33:15 +0000 (00:33 +0000)]
Add le(4).

17 years agoMFC: 1.457, 1.458
marius [Sun, 26 Nov 2006 22:28:10 +0000 (22:28 +0000)]
MFC: 1.457, 1.458

- Kill more references to lnc(4).
- Add le(4).

Tested by: Gheorghe Ardelean

17 years agoMFC:
brueffer [Sat, 25 Nov 2006 12:13:00 +0000 (12:13 +0000)]
MFC:

Grr, fix typo introduced in the previous commit.

17 years agoMFC:
brueffer [Sat, 25 Nov 2006 12:03:55 +0000 (12:03 +0000)]
MFC:

Use our standard section 4 SYNOPSIS.

17 years agoFinish MFC (rev. 1.17) "optional" keyword.
maxim [Fri, 24 Nov 2006 19:58:31 +0000 (19:58 +0000)]
Finish MFC (rev. 1.17) "optional" keyword.

Spotted by: Ulrich Spoerlein

17 years agoMFC rev. 1.15:
kib [Fri, 24 Nov 2006 09:24:11 +0000 (09:24 +0000)]
MFC rev. 1.15:
Wake up PIOCWAIT handler on the process exit in addition to the stop events.

17 years agoMFC Rev 1.35
suz [Thu, 23 Nov 2006 23:15:19 +0000 (23:15 +0000)]
MFC Rev 1.35
 implemented more validation checks about incoming responses per RFC2080,
 and one additional heuristic check for safer operation.

Obtained from: KAME

17 years agoMFC: Make members of "struct vmmeter" unsigned; fix overflow bugs when
ru [Thu, 23 Nov 2006 11:57:12 +0000 (11:57 +0000)]
MFC: Make members of "struct vmmeter" unsigned; fix overflow bugs when
printing them in kilobytes in sysctl(8), systat(1), and vmstat(8).
Fix sysctl(8) reporting of the virtual memory's total; it's accounted
in pages too.

17 years agoMFC: 1.90: Skip unreferenced objects when counting vm totals.
ru [Thu, 23 Nov 2006 11:19:31 +0000 (11:19 +0000)]
MFC: 1.90: Skip unreferenced objects when counting vm totals.
     1.91: Remove a redundant pointer-type variable.

17 years agoMFC (1.270: don't do null Setattr RPCs for VA_MARK_ATIME).
bde [Thu, 23 Nov 2006 09:50:18 +0000 (09:50 +0000)]
MFC (1.270: don't do null Setattr RPCs for VA_MARK_ATIME).

17 years agoMFC: rev. 1.61
brueffer [Thu, 23 Nov 2006 09:28:29 +0000 (09:28 +0000)]
MFC: rev. 1.61

Note uhidev.4 removal.

Approved by: rwatson (mentor) (except trivial adjustment of the date)

17 years agoMFC:
brueffer [Thu, 23 Nov 2006 09:21:24 +0000 (09:21 +0000)]
MFC:

Remove uhidev.4 and references to it, the corresponding code was never
imported from NetBSD.

17 years agoMFen 1.73.2.34 -> 1.73.2.35
delphij [Thu, 23 Nov 2006 05:54:45 +0000 (05:54 +0000)]
MFen 1.73.2.34 -> 1.73.2.35

17 years agoFix a race in soclose() where connections could be queued to the
mohans [Wed, 22 Nov 2006 22:21:57 +0000 (22:21 +0000)]
Fix a race in soclose() where connections could be queued to the
listening socket after the pass that cleans those queues. This
results in these connections being orphaned (and leaked). The fix
is to clean up the so queues after detaching the socket from the
protocol. Thanks to ups and jhb for discussions and a thorough code
review.
Approved by: re

17 years agoGo back to building documentation for all the languages now that we have
kensmith [Wed, 22 Nov 2006 20:47:58 +0000 (20:47 +0000)]
Go back to building documentation for all the languages now that we have
a separate disc just for docs.

17 years agoMFC:
marck [Wed, 22 Nov 2006 17:18:05 +0000 (17:18 +0000)]
MFC:
  revision 1.4
  date: 2006/01/14 20:45:02;  author: ru;  state: Exp;  lines: +2 -0
  Ignore spurious '\0' first character read on a serial console.
  This allows me to "boot -a" over a serial console.  Tested on
  several machines.

Approved by: ru

17 years agoUpdate state of 6.1-RELEASE sysinstall(8) CD-ROM disk-swapping bug
bmah [Wed, 22 Nov 2006 17:02:26 +0000 (17:02 +0000)]
Update state of 6.1-RELEASE sysinstall(8) CD-ROM disk-swapping bug
(now fixed).

17 years agoMFC 1.8: Update URL of Intel documentation
pav [Wed, 22 Nov 2006 16:39:21 +0000 (16:39 +0000)]
MFC 1.8: Update URL of Intel documentation

17 years agoMFC v1.108:
kensmith [Wed, 22 Nov 2006 13:44:27 +0000 (13:44 +0000)]
MFC v1.108:
> revision 1.108
> date: 2006/11/19 08:12:54;  author: kensmith;  state: Exp;  lines: +15 -19
> Move the check for which disc volume we have/want to after we install
> the package dependencies.  Installation of the dependencies may leave
> us on the wrong disc volume.

17 years agoMFC: Fix expanding of quoted positional parameters in case patterns.
stefanf [Wed, 22 Nov 2006 00:28:04 +0000 (00:28 +0000)]
MFC: Fix expanding of quoted positional parameters in case patterns.

17 years agoMFC: Report invalid parameter expansions only when they are executed.
stefanf [Wed, 22 Nov 2006 00:26:06 +0000 (00:26 +0000)]
MFC: Report invalid parameter expansions only when they are executed.

17 years agoMFC: Add the -p option to the jobs builtin.
stefanf [Wed, 22 Nov 2006 00:23:09 +0000 (00:23 +0000)]
MFC: Add the -p option to the jobs builtin.

17 years agoMFC: Don't crash on "<cmd> | { }".
stefanf [Wed, 22 Nov 2006 00:17:21 +0000 (00:17 +0000)]
MFC: Don't crash on "<cmd> | { }".

17 years agoMFC: Implement the PS4 variable.
stefanf [Wed, 22 Nov 2006 00:11:11 +0000 (00:11 +0000)]
MFC: Implement the PS4 variable.

17 years agoMFC: rev. 1.7
brueffer [Tue, 21 Nov 2006 20:26:03 +0000 (20:26 +0000)]
MFC: rev. 1.7

Use a standard section 4 SYNOPSIS

17 years agoMFC v1.918:
kensmith [Tue, 21 Nov 2006 17:46:17 +0000 (17:46 +0000)]
MFC v1.918:

> revision 1.918
> date: 2006/11/16 23:09:35;  author: kensmith;  state: Exp;  lines: +13 -2
> Move the documentation to its own separate disc to make room for more
> packages on disc2.  This will also let users decide if they want to
> have a CD of the docs at all - unless they're disconnected from the
> net they will probably find the Web site more useful.
>
> Reviewed by:    ru

17 years agoMFC v1.239:
kensmith [Tue, 21 Nov 2006 17:40:52 +0000 (17:40 +0000)]
MFC v1.239:

> revision 1.239
> date: 2006/11/16 19:09:41;  author: kensmith;  state: Exp;  lines: +1 -1
> Switch to linux_base-fc4 for the Linux emulation package.

17 years agoMFC v1.16 and v1.14:
kensmith [Tue, 21 Nov 2006 17:26:56 +0000 (17:26 +0000)]
MFC v1.16 and v1.14:

> revision 1.16
> date: 2006/11/17 05:10:41;  author: kensmith;  state: Exp;  lines: +1 -1
> Shift to vim-lite package because vim package doesn't build at the moment.
>
> revision 1.14
> date: 2006/11/16 19:08:27;  author: kensmith;  state: Exp;  lines: +1 -1
> Switch to emulators/linux_base-fc4 since that's the new default
> Linux emulator.

17 years agoMFC: (1.78) preserve ownership and permissions when replacing an existing file
des [Tue, 21 Nov 2006 09:39:12 +0000 (09:39 +0000)]
MFC: (1.78) preserve ownership and permissions when replacing an existing file

PR: bin/104702

17 years agoMFC: Fix various issues such as wrong decoding for half of the 0x0f
jhb [Mon, 20 Nov 2006 22:48:19 +0000 (22:48 +0000)]
MFC: Fix various issues such as wrong decoding for half of the 0x0f
prefixed instructions, 64-bit immediates in mov, %rip relative addressing,
and 32-bit addresses.

17 years agoMFC: Trim the bootverbose output somewhat by making ACPI pci link output
jhb [Mon, 20 Nov 2006 22:47:00 +0000 (22:47 +0000)]
MFC: Trim the bootverbose output somewhat by making ACPI pci link output
more compact and stop dumping the $PIR table.

17 years agoMFC: Define time_t in this header and various cleanups.
jhb [Mon, 20 Nov 2006 22:39:41 +0000 (22:39 +0000)]
MFC: Define time_t in this header and various cleanups.

17 years agoMFC Rev 1.18:
trhodes [Mon, 20 Nov 2006 17:29:12 +0000 (17:29 +0000)]
MFC Rev 1.18:

Add needed hyphens, note the KTRACE kernel option, bump doc date.

PR: 85186
Submitted by: garys

17 years agoMFC: Added yet another extra fxp(4) PCI ID.
rink [Mon, 20 Nov 2006 16:22:32 +0000 (16:22 +0000)]
MFC: Added yet another extra fxp(4) PCI ID.

PR:             kern/104896
Submitted by:   Yoshihiko Sarumaru <mistral@imasy.or.jp>
Reviewed by:    imp (mentor), jfv
Approved by:    re (bmah), imp (mentor)

17 years agoActually MFC rev. 1.151: s/args->f_id.addr_type == 6/IS_IP6_FLOW_ID()/.
maxim [Mon, 20 Nov 2006 15:19:10 +0000 (15:19 +0000)]
Actually MFC rev. 1.151: s/args->f_id.addr_type == 6/IS_IP6_FLOW_ID()/.

17 years agoMFC revs. 1.149 - 1.151: extend ipfw(4) message 'drop session, too many
maxim [Mon, 20 Nov 2006 15:13:09 +0000 (15:13 +0000)]
MFC revs. 1.149 - 1.151: extend ipfw(4) message 'drop session, too many
entries' by src:port and dst:port pairs.  Use IS_IP6_FLOW_ID() instead
of args->f_id.addr_type == 6.

17 years agoMFC: AT91RM9200 (and other processors from Atmel) SD/MMC bridge. This
imp [Mon, 20 Nov 2006 07:23:29 +0000 (07:23 +0000)]
MFC: AT91RM9200 (and other processors from Atmel) SD/MMC bridge.  This
device supports SD 1.0 and MMC 3.2 cards (and maybe others).

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)