]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
18 years agoo Sort .Xrs.
maxim [Tue, 13 Jun 2006 12:49:14 +0000 (12:49 +0000)]
o Sort .Xrs.

18 years agoAdd xref to statfs(2)
phk [Tue, 13 Jun 2006 12:23:22 +0000 (12:23 +0000)]
Add xref to statfs(2)

18 years agoRespect FETCH_BIND_ADDRESS when opening the data connection.
des [Tue, 13 Jun 2006 10:21:03 +0000 (10:21 +0000)]
Respect FETCH_BIND_ADDRESS when opening the data connection.

PR: misc/98872

18 years agoFix a bug introduced in rev 1.92, where, when changing from one directory
des [Tue, 13 Jun 2006 10:19:59 +0000 (10:19 +0000)]
Fix a bug introduced in rev 1.92, where, when changing from one directory
to another, the first CWD after a string of CDUPs would incorrectly include
a slash before the directory name.

Reported by: obrien
PR: bin/83278

18 years agoHandle MFS_IMAGE in the ${FULLKERNEL} target, so that we can build kernel
cognet [Tue, 13 Jun 2006 00:57:10 +0000 (00:57 +0000)]
Handle MFS_IMAGE in the ${FULLKERNEL} target, so that we can build kernel
with MFS root without debugging.

18 years agoBurying UNIX--a quote by Rob Pike,
grog [Mon, 12 Jun 2006 23:28:52 +0000 (23:28 +0000)]
Burying UNIX--a quote by Rob Pike,

Seen on The UNIX Heritage Society mailing list.

18 years agoMFp4:
cognet [Mon, 12 Jun 2006 22:58:50 +0000 (22:58 +0000)]
MFp4:
- Try hard to calculate a safe sp, so that the stack doesn't get smashed
while uncompressing or relocating the kernel.
- Bring in code needed to calculate the cacheline size etc, needed for
arm9_idcache_wbinv_all.

18 years agoMFp4: Increase the L1 pagetable needed for the kernel from 8 to 22, to be
cognet [Mon, 12 Jun 2006 22:57:24 +0000 (22:57 +0000)]
MFp4: Increase the L1 pagetable needed for the kernel from 8 to 22, to be
able to boot fat kernels.

18 years agoUse bit operations to get a locally administered address rather than using a
thompsa [Mon, 12 Jun 2006 22:43:37 +0000 (22:43 +0000)]
Use bit operations to get a locally administered address rather than using a
hardcoded OUI code.

18 years agoAllow variable amounts of verbosity.
obrien [Mon, 12 Jun 2006 22:39:32 +0000 (22:39 +0000)]
Allow variable amounts of verbosity.

18 years agoUse fget() in kqueue_register() instead of doing all the work by hand.
jhb [Mon, 12 Jun 2006 21:46:23 +0000 (21:46 +0000)]
Use fget() in kqueue_register() instead of doing all the work by hand.

18 years agoMake the ISAPNP code optional and only enable it on i386 and pc98 (used
marius [Mon, 12 Jun 2006 21:07:13 +0000 (21:07 +0000)]
Make the ISAPNP code optional and only enable it on i386 and pc98 (used
for CBUS-PNP cards there) by default, as there are no amd64 and sparc64
machines with ISA slots and which therefore could make use of this code
known to exist. For sparc64 this additionally allows to get rid of the
compat shims for in{b,w,l}()/out{b,w,l}() etc and the associated hacks.

OK'ed by: imp, peter

18 years agoDon't strip a leading ./ from the path for the cd builtin to avoid interpreting
stefanf [Mon, 12 Jun 2006 21:06:00 +0000 (21:06 +0000)]
Don't strip a leading ./ from the path for the cd builtin to avoid interpreting
.//dir as /dir.  Rather strip it only for the purpose of checking if the
directory path should be printed.

PR: 88813
Submitted by: Josh Elsasser
Patch from: NetBSD (cd.c rev 1.38)
MFC after: 2 weeks

18 years agoAdd two little nuggets of wisdom I picked up at work today:
philip [Mon, 12 Jun 2006 21:02:19 +0000 (21:02 +0000)]
Add two little nuggets of wisdom I picked up at work today:

  The three most dangerous things in the world are a programmer with a
  soldering iron, a hardware type with a program patch and a user with
  an idea. -- The Wizardry Compiled by Rick Cook

  and

  Debugging is anticipated with distaste, performed with reluctance, and
  bragged about forever. -- Button at the Boston Computer Museum

I wonder why people call me a cynic. ;-)

18 years agoEnable a few more things in x86 NOTES to get broader LINT coverage:
jhb [Mon, 12 Jun 2006 20:38:17 +0000 (20:38 +0000)]
Enable a few more things in x86 NOTES to get broader LINT coverage:
- Turn on iwi(4), ipw(4), and ndis(4) on amd64 and i386.
- Turn on ral(4) and ural(4) on i386, pc98, and amd64.

18 years agoForcefully turn off GPROF in this file if it is enabled as GPROF's
jhb [Mon, 12 Jun 2006 20:35:59 +0000 (20:35 +0000)]
Forcefully turn off GPROF in this file if it is enabled as GPROF's
attempt to use a macro for 'ret' doesn't play well with the wrappers
trying to implement 'Pascal-style' calling conventions.

18 years agoSome machines have an ESCC. Make sure we build uart(4) with support
marcel [Mon, 12 Jun 2006 20:10:46 +0000 (20:10 +0000)]
Some machines have an ESCC. Make sure we build uart(4) with support
for the z8530.

18 years agoDon't invalidate the TLB in pmap_qenter() unless the old mapping was valid.
alc [Mon, 12 Jun 2006 20:05:27 +0000 (20:05 +0000)]
Don't invalidate the TLB in pmap_qenter() unless the old mapping was valid.
Most often, it isn't.

Reviewed by: tegge@

18 years agoNeed machine/bus.h here too
imp [Mon, 12 Jun 2006 19:22:44 +0000 (19:22 +0000)]
Need machine/bus.h here too

18 years agoAdd the model name, obtained from the hw.model sysctl variable.
des [Mon, 12 Jun 2006 18:14:49 +0000 (18:14 +0000)]
Add the model name, obtained from the hw.model sysctl variable.

MFC after: 3 weeks

18 years agoCheck in file missed in last commit. It made it into the MFC properly
njl [Mon, 12 Jun 2006 17:13:57 +0000 (17:13 +0000)]
Check in file missed in last commit.  It made it into the MFC properly
though.

18 years agoMFp4: need machine/bus.h here since we use bus space macros. It used to
imp [Mon, 12 Jun 2006 14:46:44 +0000 (14:46 +0000)]
MFp4: need machine/bus.h here since we use bus space macros.  It used to
be brought in by name-space polluted sys/rman.h.

Pointy hat to: imp

18 years agoWho am I to correct the native speakers... anyway, s/council/counsel/
wilko [Mon, 12 Jun 2006 13:44:17 +0000 (13:44 +0000)]
Who am I to correct the native speakers... anyway, s/council/counsel/

Noted by: des

18 years agoAny sufficiently simple directive can be obfuscated beyond reason
wilko [Mon, 12 Jun 2006 07:56:33 +0000 (07:56 +0000)]
Any sufficiently simple directive can be obfuscated beyond reason
given proper legal council.

- Alfred Perlstein

18 years agoMFp4:
imp [Mon, 12 Jun 2006 04:30:42 +0000 (04:30 +0000)]
MFp4:
o Implement a bunch of sysctl's to report the information
  that's now always reported.  Mvoe reporting of that info
  to bootverbose, but maybe it can go away entirely.
   dev.ed.X.type: string name
   dev.ed.X.TxMem: amount of memory used for tx side of the card
   dev.ed.X.RxMem: amount of memory used for rx side of the card
dev.ed.X.Mem: Total amount of mem on card.
o Better comments about where NE-2000 (and clones) gets their MAC
  address from.

18 years agoAdd the ability to subset the devices that UART pulls in. This allows
imp [Mon, 12 Jun 2006 04:21:50 +0000 (04:21 +0000)]
Add the ability to subset the devices that UART pulls in.  This allows
the arm to compile without all the extras that don't appear, at least
not in the flavors of ARM I deal with.  This helps us save about 100k.

If I've botched the available devices on a platform, please let me
know and I'll correct ASAP.

18 years agoAdd a convenience function rman_init_from_resource for initializing
imp [Mon, 12 Jun 2006 04:06:21 +0000 (04:06 +0000)]
Add a convenience function rman_init_from_resource for initializing
a rman from a resource.

Also, include _bus.h since the implementation of bus_space isn't
needed here, just the definitions of the types.

18 years agoBetter printf
imp [Mon, 12 Jun 2006 04:00:33 +0000 (04:00 +0000)]
Better printf

18 years agoMinor cleanup of CIS parsing.
imp [Mon, 12 Jun 2006 03:28:42 +0000 (03:28 +0000)]
Minor cleanup of CIS parsing.

18 years agoBetter error message when the CIS is a non-standards conforming '0'.
imp [Mon, 12 Jun 2006 03:20:44 +0000 (03:20 +0000)]
Better error message when the CIS is a non-standards conforming '0'.

18 years agoWhen we can't parse the CIS, note with a warning that the bogus CIS
imp [Mon, 12 Jun 2006 03:17:24 +0000 (03:17 +0000)]
When we can't parse the CIS, note with a warning that the bogus CIS
was ignored, rather than freaking out.  In the past, it wasn't possible
to not parse the CIS, so this changes no behavior.

18 years agoUpdate release note: KDE 3.5.3.
bmah [Mon, 12 Jun 2006 01:38:49 +0000 (01:38 +0000)]
Update release note:  KDE 3.5.3.

18 years agoMake cm(4) driver MPSAFE.
fjoe [Sun, 11 Jun 2006 22:25:01 +0000 (22:25 +0000)]
Make cm(4) driver MPSAFE.

18 years agoFix KASSERT conditions in if_deregister_com_alloc().
fjoe [Sun, 11 Jun 2006 22:09:28 +0000 (22:09 +0000)]
Fix KASSERT conditions in if_deregister_com_alloc().

18 years agoo Finally learn how to spell "privileges".
maxim [Sun, 11 Jun 2006 21:13:49 +0000 (21:13 +0000)]
o Finally learn how to spell "privileges".

English trainer: ceri

18 years agoo Add missed $start variable in the grep statement back.
maxim [Sun, 11 Jun 2006 20:39:12 +0000 (20:39 +0000)]
o Add missed $start variable in the grep statement back.

PR: conf/96658
Submitted by: James Snow
MFC after: 1 week

18 years agoBy default, don't disable ACPI during reboot. This appears to hang some
njl [Sun, 11 Jun 2006 20:31:41 +0000 (20:31 +0000)]
By default, don't disable ACPI during reboot.  This appears to hang some
systems.  Introduce a new sysctl "hw.acpi.disable_on_reboot" that allows
users to re-enable the old behavior in case it's needed for some systems.
We never disable in the power-off path.

Original approach submitted by Alexander Logvinov <abuse@akavia.ru> with
reworking by Jung-uk Kim and myself.

18 years agoo Spell "privledges" correctly. Re-style comment.
maxim [Sun, 11 Jun 2006 20:17:18 +0000 (20:17 +0000)]
o Spell "privledges" correctly.  Re-style comment.

18 years agoo vinum.8 -> gvinum.8 as the former was replaced by the latter.
maxim [Sun, 11 Jun 2006 19:41:07 +0000 (19:41 +0000)]
o vinum.8 -> gvinum.8 as the former was replaced by the latter.

PR: docs/98340
MFC after: 1 week

18 years agoFix display of idle processes, which had been broken since rev. 1.56 of
se [Sun, 11 Jun 2006 19:18:39 +0000 (19:18 +0000)]
Fix display of idle processes, which had been broken since rev. 1.56 of
machine.c. The traditional condition was (pctcpu > 0 || SRUN), but the
negation of the condition logic (from select to skip) made this come
out as (pctcpu > 0 && SRUN), leading to a very erratic display, except
for purely CPU bound processes.

This has been discussed in the mail lists some time ago and I have used
top with this patch on my systems for more than a year without problems
(just forgot to commit it earlier, since my systems were all fixed ...).

18 years agoo Sync usage() with reality.
maxim [Sun, 11 Jun 2006 17:40:25 +0000 (17:40 +0000)]
o Sync usage() with reality.

18 years agoo Fix typo.
maxim [Sun, 11 Jun 2006 15:53:36 +0000 (15:53 +0000)]
o Fix typo.

Obtained from: DragonFlyBSD

18 years agoThe monetary decimal point (mon_decimal_point) for pt_PT.ISO8859-1
simon [Sun, 11 Jun 2006 14:43:18 +0000 (14:43 +0000)]
The monetary decimal point (mon_decimal_point) for pt_PT.ISO8859-1
should be a comma (,) and not a dot (.).

PR: misc/98813
Submitted by: Rui Lopes <rgl@ruilopes.com>
MFC after: 1 week
Approved by: cperciva (mentor)

18 years agoUse IP addresses out of "TEST-NET" (for use in documentation and
bz [Sun, 11 Jun 2006 12:57:41 +0000 (12:57 +0000)]
Use IP addresses out of "TEST-NET" (for use in documentation and
example code) [RFC3330].

Reviewed by: simon

18 years agoSpecify default path for SHLIBDIR before bsd.own.mk does.
akiyama [Sun, 11 Jun 2006 09:14:06 +0000 (09:14 +0000)]
Specify default path for SHLIBDIR before bsd.own.mk does.
This fix shared library installed correct place.

18 years agoCross-reference src.conf(5).
jkoshy [Sun, 11 Jun 2006 08:30:38 +0000 (08:30 +0000)]
Cross-reference src.conf(5).

18 years agoRemove pmap_pagedaemon_waken and update pmap_get_pv_entry() to match the
alc [Sun, 11 Jun 2006 04:53:06 +0000 (04:53 +0000)]
Remove pmap_pagedaemon_waken and update pmap_get_pv_entry() to match the
current interface with the machine-independent layer.  Without this change,
the page daemon would only have been awakened the first time that the
number of pv entries went above the high water mark, not each time.

18 years agoEliminate spl calls.
alc [Sun, 11 Jun 2006 04:14:36 +0000 (04:14 +0000)]
Eliminate spl calls.

18 years agoImplement vnode operations for setting and removing extended attributes.
rodrigc [Sun, 11 Jun 2006 03:32:50 +0000 (03:32 +0000)]
Implement vnode operations for setting and removing extended attributes.

18 years agoRestore routines for getting and listing extended attributes which
rodrigc [Sun, 11 Jun 2006 00:55:32 +0000 (00:55 +0000)]
Restore routines for getting and listing extended attributes which
were lost in the last merge.

18 years agoRestore changes to spinlock macros before merge.
rodrigc [Sun, 11 Jun 2006 00:54:35 +0000 (00:54 +0000)]
Restore changes to spinlock macros before merge.

18 years agoRemove debugging printf
rodrigc [Sun, 11 Jun 2006 00:19:00 +0000 (00:19 +0000)]
Remove debugging printf

18 years agoAdd PCI ids for the FC919X
mjacob [Sat, 10 Jun 2006 23:45:31 +0000 (23:45 +0000)]
Add PCI ids for the FC919X

MFC after: 1 week

18 years agoTemporarily disable log recovery until we fix panics.
rodrigc [Sat, 10 Jun 2006 23:40:58 +0000 (23:40 +0000)]
Temporarily disable log recovery until we fix panics.

18 years agoLogical OR the following flags into the va_mode field:
rodrigc [Sat, 10 Jun 2006 23:10:55 +0000 (23:10 +0000)]
Logical OR the following flags into the va_mode field:
S_IFDIR when making a directory
S_IFLNK when making a symbolic link
S_IFIFO when making a pipe

xfs_ialloc() checks this field for these flags when figuring
out whether to make a directory, make a symbolic link or make a pipe.

18 years agoMove the new flags field to the end of the structure to maintain
iedowse [Sat, 10 Jun 2006 19:23:49 +0000 (19:23 +0000)]
Move the new flags field to the end of the structure to maintain
ABI compatibility.

Suggested by: mlaier (and forgotten by me)

18 years agoCall g_vfs_close() if:
rodrigc [Sat, 10 Jun 2006 19:04:21 +0000 (19:04 +0000)]
Call g_vfs_close() if:
(1)  _xfs_mount() fails
(2)  at the end of _xfs_unmount()

18 years agoDo not call vput() after we call VOP_UNLOCK().
rodrigc [Sat, 10 Jun 2006 19:02:13 +0000 (19:02 +0000)]
Do not call vput() after we call VOP_UNLOCK().

18 years agoHold on to firmware images until the interface detaches since
iedowse [Sat, 10 Jun 2006 17:29:40 +0000 (17:29 +0000)]
Hold on to firmware images until the interface detaches since
firmware_get() will not work while resuming. Note that we can't
simply drop the FIRMWARE_UNLOAD flag, because that will result in
a firmware image that can never be unloaded by the user since the
firmware subsystem will hold a linker reference to it (it's not
clear that firmware_put() without FIRMWARE_UNLOAD ever does quite
what you'd want).

18 years agoKeep firmware images on the list until they have been unregistered
iedowse [Sat, 10 Jun 2006 17:04:07 +0000 (17:04 +0000)]
Keep firmware images on the list until they have been unregistered
with firmware_unregister(). Previously when the last driver reference
had been dropped we would clear the list entry under the assumption
that the firmware module was about to be unloaded, but this was not
true if the firmware image had been loaded manually with kldload.

This makes it possible to manually kldload firmware images as a
workaround for drivers such as ipw that attempt to load firmware
while resuming after a suspend.

Reviewed by: mlaier (an earlier version of the patch)

18 years agoBe explicit about which chips support jumbo frames.
brueffer [Sat, 10 Jun 2006 15:14:12 +0000 (15:14 +0000)]
Be explicit about which chips support jumbo frames.

Suggested by: Brad Smith
Obtained from: OpenBSD
MFC after: 3 days

18 years agoNew release notes: i386 boot loader corruption fix, my(4) ALTQ
bmah [Sat, 10 Jun 2006 14:49:44 +0000 (14:49 +0000)]
New release notes:  i386 boot loader corruption fix, my(4) ALTQ
support, geli(8) data authentication and option flag change,

MFCs noted:  du(1) -n, getent(1).

Updated release notes:  OpenBSM 1.0a6, new manpage (device_get_sysctl(9)).

18 years agoMove some functions and definitions from uipc_socket2.c to uipc_socket.c:
rwatson [Sat, 10 Jun 2006 14:34:07 +0000 (14:34 +0000)]
Move some functions and definitions from uipc_socket2.c to uipc_socket.c:

- Move sonewconn(), which creates new sockets for incoming connections on
  listen sockets, so that all socket allocate code is together in
  uipc_socket.c.

- Move 'maxsockets' and associated sysctls to uipc_socket.c with the
  socket allocation code.

- Move kern.ipc sysctl node to uipc_socket.c, add a SYSCTL_DECL() for it
  to sysctl.h and remove lots of scattered implementations in various
  IPC modules.

- Sort sodealloc() after soalloc() in uipc_socket.c for dependency order
  reasons.  Statisticize soalloc() and sodealloc() as they are now
  required only in uipc_socket.c, and are internal to the socket
  implementation.

After this change, socket allocation and deallocation is entirely
centralized in one file, and uipc_socket2.c consists entirely of socket
buffer manipulation and default protocol switch functions.

MFC after: 1 month

18 years agoFix a typo s/Made/Make. Use .Pp for a line break, it will quiet the
trhodes [Sat, 10 Jun 2006 09:45:26 +0000 (09:45 +0000)]
Fix a typo s/Made/Make.  Use .Pp for a line break, it will quiet the
mdoc(7) warning.

18 years ago* Ask for a page-aligned page instead of an arbitrary address. This should
njl [Sat, 10 Jun 2006 08:20:17 +0000 (08:20 +0000)]
* Ask for a page-aligned page instead of an arbitrary address.  This should
  not be necessary but might be helpful and at least reduce fragmentation.
* Add an assert to detect if the wakecode ever grows too big.  We include
  1 KB for stack, which should be more than enough also.
* Remove unnecessary initialization of static variables.
* Add comments and a bootverbose print giving the page phys address.

18 years agoMinor tweaks to the resume code. Previous commit reverted alignment back
njl [Sat, 10 Jun 2006 08:20:03 +0000 (08:20 +0000)]
Minor tweaks to the resume code.  Previous commit reverted alignment back
to 4.  There is no need to be more strict at assembly time since we copy
the code anyway to a private page.

* Clear the direction flag and eflags.  Probably not necessary but it won't
  hurt to be safe.
* Add prefixes to all instructions to prevent any assembler mistakes.
* Remove zeroing of eax - edi.  We use those registers immediately after
  to transfer values to protected mode so this was pointless.
* Update comments to reflect info found during code review.

18 years agoMove the reset beep tunable/sysctl to debug.acpi.resume_beep. This makes
njl [Sat, 10 Jun 2006 08:06:16 +0000 (08:06 +0000)]
Move the reset beep tunable/sysctl to debug.acpi.resume_beep.  This makes
more sense than under hw.acpi.  Also, document this in the man page.

18 years agoMinor sysctl cleanup. The RW flag means read|write and so it is redundant
njl [Sat, 10 Jun 2006 08:04:38 +0000 (08:04 +0000)]
Minor sysctl cleanup.  The RW flag means read|write and so it is redundant
to add the RD flag.  Also, the debug node does not need to be writable.

18 years agoEnable debug.mpsafevm on arm by default.
alc [Sat, 10 Jun 2006 05:29:37 +0000 (05:29 +0000)]
Enable debug.mpsafevm on arm by default.

Tested by: cognet@

18 years agoAdd a lock assertion. Remove dead (locking) code. Change some white
alc [Sat, 10 Jun 2006 05:20:18 +0000 (05:20 +0000)]
Add a lock assertion.  Remove dead (locking) code.  Change some white
space.

Reviewed by: cognet@

18 years agoMinor style tweaks while nearby. Namely ANSIfy and parens on return values.
jmallett [Sat, 10 Jun 2006 01:44:57 +0000 (01:44 +0000)]
Minor style tweaks while nearby.  Namely ANSIfy and parens on return values.

18 years agoRather than using specified_ro to parse the options list an extra time, and
jmallett [Sat, 10 Jun 2006 01:37:00 +0000 (01:37 +0000)]
Rather than using specified_ro to parse the options list an extra time, and
keeping a flag to check whether we actually wanted to mount the filesystem
readonly, setup the options list so that we start off by assuming rw is what's
desired and let later flags change that.

18 years agoAdd ability to reset individual devices and fix SCSI speed negotiation.
jkim [Fri, 9 Jun 2006 23:11:43 +0000 (23:11 +0000)]
Add ability to reset individual devices and fix SCSI speed negotiation.

Reviewed by: mjacob (initial version)

18 years agoDon't build IPv6 support if we have choosen not to have it.
delphij [Fri, 9 Jun 2006 18:11:29 +0000 (18:11 +0000)]
Don't build IPv6 support if we have choosen not to have it.

18 years agoDon't expect that 'device random' will compile in those files into the
pjd [Fri, 9 Jun 2006 17:36:50 +0000 (17:36 +0000)]
Don't expect that 'device random' will compile in those files into the
kernel for us. If random is compiled as kernel module, geom_bde.ko cannot
be loaded.

Reported by: Michal Suszko <michal@dry.pl>

18 years agoo Fix grammar, format.
maxim [Fri, 9 Jun 2006 17:03:24 +0000 (17:03 +0000)]
o Fix grammar, format.

18 years agoDocument the way to get list of files to process from the stdin.
kib [Fri, 9 Jun 2006 16:11:23 +0000 (16:11 +0000)]
Document the way to get list of files to process from the stdin.

MFC after: 1 week
Approved by: kan (mentor)

18 years agoCopy filename read from the stdin into the private buffer. Otherwise,
kib [Fri, 9 Jun 2006 16:09:26 +0000 (16:09 +0000)]
Copy filename read from the stdin into the private buffer. Otherwise,
next read filename overwrite previous one, resulting in acl being
applied only to the last name in the list.

Submitted by: Oleg Lomaka <oleg.lomaka at gmail com>
MFC after: 1 week
Approved by: kan (mentor)

18 years agoo Remove a cruft prevented libpthread sigaction(2) wrapper to
maxim [Fri, 9 Jun 2006 14:23:40 +0000 (14:23 +0000)]
o Remove a cruft prevented libpthread sigaction(2) wrapper to
do its work for SIGINFO.  Always install libpthread signal handler
wrapper for SIGINFO even if user SIG_IGN's or SIG_DFL's it.

SIGINFO has a special meaning for libpthread: when LIBPTHREAD_DEBUG
enviroment variable defined it is used for dumping an information
about threads to /tmp/.

Reported by: mi
Reviewed by: deischen
MFC after: 2 weeks

18 years agoo Re-arrange parentheses and fix a conition logic for !do_dns case.
maxim [Fri, 9 Jun 2006 14:01:07 +0000 (14:01 +0000)]
o Re-arrange parentheses and fix a conition logic for !do_dns case.

PR: bin/98625
MFC after: 1 month

18 years agoTweak mfc.pl to generate backout patchsets.
flz [Fri, 9 Jun 2006 10:59:54 +0000 (10:59 +0000)]
Tweak mfc.pl to generate backout patchsets.

Approved by: cperciva (mentor)

18 years agoOur glob(3) has all the required features.
des [Fri, 9 Jun 2006 08:39:05 +0000 (08:39 +0000)]
Our glob(3) has all the required features.

Submitted by: ache

18 years agoRevert inadvertant commit of debugging code.
des [Fri, 9 Jun 2006 07:23:14 +0000 (07:23 +0000)]
Revert inadvertant commit of debugging code.

18 years agoChange %llx to %jx in printf() to eliminate warnings on 64-bit platforms.
rodrigc [Fri, 9 Jun 2006 06:57:00 +0000 (06:57 +0000)]
Change %llx to %jx in printf() to eliminate warnings on 64-bit platforms.

18 years agoBring back changes in version 1.3 lost in previous commit.
rodrigc [Fri, 9 Jun 2006 06:40:22 +0000 (06:40 +0000)]
Bring back changes in version 1.3 lost in previous commit.

18 years agoAccomodate new files due to latest XFS import.
rodrigc [Fri, 9 Jun 2006 06:13:45 +0000 (06:13 +0000)]
Accomodate new files due to latest XFS import.

18 years agoMakefile changes to accomodate new XFS import.
rodrigc [Fri, 9 Jun 2006 06:10:17 +0000 (06:10 +0000)]
Makefile changes to accomodate new XFS import.

18 years agoMore changes due to latest XFS import.
rodrigc [Fri, 9 Jun 2006 06:07:42 +0000 (06:07 +0000)]
More changes due to latest XFS import.

Work done by: Russell Cattelan <cattelan at xfs dot org>

18 years agoSync XFS for FreeBSD tree with newer changes from SGI XFS for Linux tree.
rodrigc [Fri, 9 Jun 2006 06:04:06 +0000 (06:04 +0000)]
Sync XFS for FreeBSD tree with newer changes from SGI XFS for Linux tree.
Improve support for writing to XFS partitions.

Work done by: Russell Cattelan <cattelan at xfs dot org>

18 years agoAdd pmap locking to pmap_extract().
alc [Fri, 9 Jun 2006 03:54:20 +0000 (03:54 +0000)]
Add pmap locking to pmap_extract().

Tested by: cognet@

18 years agoWhen deleting empty directories prior to building the release tarballs,
cperciva [Fri, 9 Jun 2006 03:40:04 +0000 (03:40 +0000)]
When deleting empty directories prior to building the release tarballs,
pass the "-empty" flag to find(1).  This change has no effect other
than to get rid of a few pages of "rmdir: ...: Directory not empty"
error messages.  (Note that the "-empty" flag has been supported by
find(1) since 4.3-RELEASE.)

18 years agoEnable proxy ARP answers on any of the bridged interfaces if proxy record
thompsa [Fri, 9 Jun 2006 00:33:30 +0000 (00:33 +0000)]
Enable proxy ARP answers on any of the bridged interfaces if proxy record
belongs to another interface within the bridge group.

PR: kern/94408
Submitted by: Eygene A. Ryabinkin
MFC after: 1 month

18 years agoAllow bridge and carp to play nicely together by returning the packet if its
thompsa [Thu, 8 Jun 2006 23:40:16 +0000 (23:40 +0000)]
Allow bridge and carp to play nicely together by returning the packet if its
destined for a carp interface.

Obtained from: OpenBSD
MFC after: 2 weeks

18 years agoadd glue for ath_hal
sam [Thu, 8 Jun 2006 23:38:01 +0000 (23:38 +0000)]
add glue for ath_hal

MFC after: 1 month

18 years agoadd powerpc glue
sam [Thu, 8 Jun 2006 23:36:35 +0000 (23:36 +0000)]
add powerpc glue

MFC after: 1 month

18 years agoenable build of ath_hal on sparc64 and powerpc
sam [Thu, 8 Jun 2006 23:35:58 +0000 (23:35 +0000)]
enable build of ath_hal on sparc64 and powerpc

MFC after: 1 month

18 years agoRearrange code in soalloc() so that it's less indented by returning
rwatson [Thu, 8 Jun 2006 22:33:18 +0000 (22:33 +0000)]
Rearrange code in soalloc() so that it's less indented by returning
early if uma_zalloc() from the socket zone fails.  No functional
change.

MFC after: 1 week

18 years agoUpdate global copyright statement for netatalk, as I claim copyright
rwatson [Thu, 8 Jun 2006 22:13:52 +0000 (22:13 +0000)]
Update global copyright statement for netatalk, as I claim copyright
on changes in a number of files in netatalk.

MFC after: 1 week

18 years agoLock process when copying fields from process structure so as to
rwatson [Thu, 8 Jun 2006 21:58:04 +0000 (21:58 +0000)]
Lock process when copying fields from process structure so as to
get a consistent snapshot, as well as get consistent values (i.e.,
that p_comm is properly nul-terminated).

Perforce CID: 98824
Obtained from: TrustedBSD Project

18 years agoPrefer C to C++ comments per style(9).
rwatson [Thu, 8 Jun 2006 21:55:39 +0000 (21:55 +0000)]
Prefer C to C++ comments per style(9).

Perforce CID: 98826
Obtained from: TrustedBSD Project