]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
19 years agoRevert previous commit: The hwpmc(4) driver compiles on all platforms.
marcel [Wed, 20 Apr 2005 22:19:51 +0000 (22:19 +0000)]
Revert previous commit: The hwpmc(4) driver compiles on all platforms.

19 years agoRevert previous commit: build hwpmc(4) on all architectures.
marcel [Wed, 20 Apr 2005 22:03:33 +0000 (22:03 +0000)]
Revert previous commit: build hwpmc(4) on all architectures.

Ok'd by: jkoshy@

19 years agoDon't enter the debugger if KDB_UNATTENDED is set or if
ps [Wed, 20 Apr 2005 20:52:46 +0000 (20:52 +0000)]
Don't enter the debugger if KDB_UNATTENDED is set or if
debug.debugger_on_panic=0.

MFC after: 2 weeks

19 years agoBuild pmccontrol(8) and pmcstat(8) on all architectures (FWIW :-)
marcel [Wed, 20 Apr 2005 20:51:37 +0000 (20:51 +0000)]
Build pmccontrol(8) and pmcstat(8) on all architectures (FWIW :-)

Ok'd by: jkoshy@

19 years agoBuild libpmc on all architectures (FWIW :-)
marcel [Wed, 20 Apr 2005 20:50:32 +0000 (20:50 +0000)]
Build libpmc on all architectures (FWIW :-)

Ok'd by: jkoshy@

19 years agoo Do not include <machine/pmc_mdep.h>. It's automaticly included for
marcel [Wed, 20 Apr 2005 20:48:24 +0000 (20:48 +0000)]
o  Do not include <machine/pmc_mdep.h>. It's automaticly included for
   us when <sys/pmc.h> is included.
o  Replace "#if __i386__" and "#if __amd64__" with the equivalent of
   "#ifdef __i386__" and "#ifdef __amd64__" (resp.) These tokens are
   not defined on all platforms.
o  Conditionally compile pmc_parse_mask() on i386 and amd64 only. It's
   only referenced there. This will change when support for other
   platforms is added, of course.

Ok'd by: jkoshy@

19 years agoDo not conditionally compile the contents of this file upon whether
marcel [Wed, 20 Apr 2005 20:30:59 +0000 (20:30 +0000)]
Do not conditionally compile the contents of this file upon whether
HWPMC_HOOKS is defined. The pmc_cpu_is_*() functions in this file
are referenced unconditionally by hwpmc(4).

This is mostly a stop-gap. The pmc_cpu_is*() function should
probably be declared inline in <sys/pmc.h> or <sys/pmckern.h> and
the function pointers with corresponding SX lock should probably
be moved to another file and compiled conditionally upon HWPMC_HOOKS.

Ok'd by: jkoshy@

19 years agoInclude <sys/pmc.h> instead of <machine/pmc_mdep.h>. The MI header
marcel [Wed, 20 Apr 2005 20:26:39 +0000 (20:26 +0000)]
Include <sys/pmc.h> instead of <machine/pmc_mdep.h>. The MI header
includes the MD header for us. Do not include <machine/specialreg.h>
as it is not a header file that can be included from MI files. It
is included from <machine/pmc_mdep.h> if so needed and possible.

Ok'd: jkoshy@

19 years agoo Reverse the inclusion chain from MD->MI to MI->MD by removing the
marcel [Wed, 20 Apr 2005 20:22:33 +0000 (20:22 +0000)]
o  Reverse the inclusion chain from MD->MI to MI->MD by removing the
   inclusion of <sys/pmc.h> and depending on being included from
   that header file.
o  Include any MD specific header files that otherwise need to be
   included from MI files.

Ok'd: jkoshy@

19 years agoo Reverse the inclusion chain from MD->MI to MI->MD by including
marcel [Wed, 20 Apr 2005 20:19:24 +0000 (20:19 +0000)]
o  Reverse the inclusion chain from MD->MI to MI->MD by including
   <machine/pmc_mdep.h> here.
o  Remove the #error directive. There's no union md_pm referenced
   on (as of yet) unsupported platforms and will not be if there
   are no MD extensions for a particular platform.

Further cleanups can be expected.

Ok'd: jkoshy@

19 years agoManpage for unit allocator functions.
glebius [Wed, 20 Apr 2005 19:11:05 +0000 (19:11 +0000)]
Manpage for unit allocator functions.

Reviewed by: phk

19 years agoAdd empty header (except of the multiple-inclusion protection) to
marcel [Wed, 20 Apr 2005 18:44:53 +0000 (18:44 +0000)]
Add empty header (except of the multiple-inclusion protection) to
get hwpmc(4) to compile on this platform.

19 years ago- Initialize interface as UP when hook is connected.
glebius [Wed, 20 Apr 2005 14:22:13 +0000 (14:22 +0000)]
- Initialize interface as UP when hook is connected.
- Call if_link_state_change() when netgraph flow control
  messages are received.

Sponsored by: Rambler

19 years agoWhen netgraph flow control message comes from downstream, broadcast
glebius [Wed, 20 Apr 2005 14:19:20 +0000 (14:19 +0000)]
When netgraph flow control message comes from downstream, broadcast
it to all vlans.

Sponsored by: Rambler

19 years agoWhen a rebuild is done, properly mark the arrays as functional again.
sos [Wed, 20 Apr 2005 14:14:08 +0000 (14:14 +0000)]
When a rebuild is done, properly mark the arrays as functional again.

19 years agoInherit signal mask for child process in fork1(), RELENG_4 and other
davidxu [Wed, 20 Apr 2005 13:14:52 +0000 (13:14 +0000)]
Inherit signal mask for child process in fork1(), RELENG_4 and other
*BSD have this behaviour, also it is required by POSIX.

PR: kern/80130
Submitted by: Kostik Belousov konstantin.belousov at zoral dot com dot ua

19 years agoProperly hook in devices found by SATA connect events.
sos [Wed, 20 Apr 2005 12:51:54 +0000 (12:51 +0000)]
Properly hook in devices found by SATA connect events.
This broke on the changes done to get atapicam happy earlier.

19 years agoRename from apm_bioscall.s to apm_bioscall.S for removing a special rule
nyan [Wed, 20 Apr 2005 12:28:20 +0000 (12:28 +0000)]
Rename from apm_bioscall.s to apm_bioscall.S for removing a special rule
to build a module.  A repo-copy is not done because it has no important logs.

Pointed out by: ru

19 years agoRemove extra ifnet pointer from private data. It can be accessed via arpcom.
glebius [Wed, 20 Apr 2005 12:22:33 +0000 (12:22 +0000)]
Remove extra ifnet pointer from private data. It can be accessed via arpcom.

19 years agoAdd macro NG_COPYMESSAGE(), which allocates memory and creates a
glebius [Wed, 20 Apr 2005 12:18:22 +0000 (12:18 +0000)]
Add macro NG_COPYMESSAGE(), which allocates memory and creates a
copy of given control message.

19 years ago- Call if_link_state_change() for each vlan, when link changes
glebius [Wed, 20 Apr 2005 12:16:41 +0000 (12:16 +0000)]
- Call if_link_state_change() for each vlan, when link changes
  on parent.
- Remove route.h include.
- Fix comment about MII.

Sponsored by: Rambler
Reviewed by: yar

19 years agoFix typo.
brueffer [Wed, 20 Apr 2005 10:41:09 +0000 (10:41 +0000)]
Fix typo.

PR: 80133
Submitted by: Zheyu Shen <free.bsd@gmx.net>

19 years agoRemove anti-LOR bandaid, it is not needed now.
glebius [Wed, 20 Apr 2005 09:32:05 +0000 (09:32 +0000)]
Remove anti-LOR bandaid, it is not needed now.

Sponsored by: Rambler

19 years agoDo not call all link state callbacks directly, but schedule
glebius [Wed, 20 Apr 2005 09:30:54 +0000 (09:30 +0000)]
Do not call all link state callbacks directly, but schedule
a taskqueue(9) task. This fixes LORs and adds possibility
to serve such events pseudorecursively, when link state
change of interface causes subsequent change on other
interfaces.

Sponsored by: Rambler
Reviewed by: sam, brooks, mux

19 years agoCross reference ehci(4).
simon [Wed, 20 Apr 2005 07:33:09 +0000 (07:33 +0000)]
Cross reference ehci(4).

Suggested by: Flemming Jacobsen
MFC after: 3 days

19 years agoRemove extra Id keyword.
jkoshy [Wed, 20 Apr 2005 05:36:43 +0000 (05:36 +0000)]
Remove extra Id keyword.

19 years agoOnly compile for the hwpmc module for supported architectures.
jkoshy [Wed, 20 Apr 2005 04:57:38 +0000 (04:57 +0000)]
Only compile for the hwpmc module for supported architectures.

Submitted by: grehan

19 years agoRemove dead variable.
jkoshy [Wed, 20 Apr 2005 04:43:30 +0000 (04:43 +0000)]
Remove dead variable.

19 years agoCheck sopt_level in uipc_ctloutput() and return early if it is non-zero.
mdodd [Wed, 20 Apr 2005 02:57:56 +0000 (02:57 +0000)]
Check sopt_level in uipc_ctloutput() and return early if it is non-zero.
This prevents unintended consequnces when an application calls things like
setsockopt(x, SOL_SOCKET, SO_REUSEADDR, ...) on a Unix domain socket.

19 years agoGet order right when initializing task file bus resources. ATA drives are
grehan [Wed, 20 Apr 2005 02:26:31 +0000 (02:26 +0000)]
Get order right when initializing task file bus resources. ATA drives are
now recognised when booting from the drive, as opposed to net-booting which
the previous botched commit was tested with.

19 years agoSmall cleanup of the WPA code additions. The SIOCG80211 and SIOCS80211
wpaul [Wed, 20 Apr 2005 02:17:53 +0000 (02:17 +0000)]
Small cleanup of the WPA code additions. The SIOCG80211 and SIOCS80211
ioctls are now handled explicitly, but we can't really do anything
with them unless the NIC is up (trying to get/set a parameter when
the NDIS driver isn't running always yields an error). If something
invokes either of these ioctls and the NIC isn't initialized, punt
to the default ieee80211_ioctl() routine.

19 years agoUse .Pa instead of .Xr to follow mdoc(7)
jcamou [Wed, 20 Apr 2005 01:56:33 +0000 (01:56 +0000)]
Use .Pa instead of .Xr to follow mdoc(7)
specifications.

Noticed by: trhodes
Approved by: trhodes (mentor)
MFC after: 1 day

19 years agoMove this to the specific architectures that are supported. #ifdef foo
imp [Tue, 19 Apr 2005 22:16:46 +0000 (22:16 +0000)]
Move this to the specific architectures that are supported.  #ifdef foo
in sys/pmc.h precludes it from working on !i386, !amd64.  When that changes,
it can be moved back into conf/NOTES.

19 years agoThe size of a filesystem may be less than the size of the provider it
wollman [Tue, 19 Apr 2005 21:55:28 +0000 (21:55 +0000)]
The size of a filesystem may be less than the size of the provider it
resides on.  Fix the special case of the filesystem fragment size not
evenly dividing the size of the provider.  Fixing the general case
probably requires better superblock validation (left as an exercise to
the reader).

19 years agoRemove the hack which allowed to use gmirror for root file system,
pjd [Tue, 19 Apr 2005 21:47:25 +0000 (21:47 +0000)]
Remove the hack which allowed to use gmirror for root file system,
use root_mount KPI instead.

19 years agoCall g_waitidle() before every check the list of holds is empty.
pjd [Tue, 19 Apr 2005 21:44:44 +0000 (21:44 +0000)]
Call g_waitidle() before every check the list of holds is empty.

Suggested by: phk

19 years agoRemove unused variable that was horking up the LINT build
imp [Tue, 19 Apr 2005 21:40:49 +0000 (21:40 +0000)]
Remove unused variable that was horking up the LINT build

19 years agoNeed more files for i386, need all the files for pc98.
imp [Tue, 19 Apr 2005 21:40:07 +0000 (21:40 +0000)]
Need more files for i386, need all the files for pc98.

19 years agoMinimal changes to get this to compile with -DDEBUG defined as well
imp [Tue, 19 Apr 2005 21:12:57 +0000 (21:12 +0000)]
Minimal changes to get this to compile with -DDEBUG defined as well
as hack a couple used before set warnings for LINT happiness.

19 years agoThere's no need to include all the detauls of struct bus_space_{tag,handle}
imp [Tue, 19 Apr 2005 21:07:00 +0000 (21:07 +0000)]
There's no need to include all the detauls of struct bus_space_{tag,handle}
in _bus.h when the typedef of the struct pointer will do.

19 years agoSince pmc is a CPU feature, grab the mdep file from the i386 directory.
imp [Tue, 19 Apr 2005 21:06:06 +0000 (21:06 +0000)]
Since pmc is a CPU feature, grab the mdep file from the i386 directory.

19 years agoGrammar fixes.
brueffer [Tue, 19 Apr 2005 18:52:52 +0000 (18:52 +0000)]
Grammar fixes.

19 years agoI accidently committed two 'cleandepend' when I was deciding which
obrien [Tue, 19 Apr 2005 18:29:11 +0000 (18:29 +0000)]
I accidently committed two 'cleandepend' when I was deciding which
form was "cleaner".

19 years agoNew release notes:
hrs [Tue, 19 Apr 2005 17:57:53 +0000 (17:57 +0000)]
New release notes:
getproto{ent,byname,bynumber}(3) thread-safe.

Update release notes:
s/MPSAFE/thread-safe/ in the entry of getserv{ent,byname,byport}.

19 years agoHook smist up to the kernel build.
njl [Tue, 19 Apr 2005 16:39:23 +0000 (16:39 +0000)]
Hook smist up to the kernel build.

19 years agoAdd a driver for SMI-based SpeedStep. The hardware supports two frequency
njl [Tue, 19 Apr 2005 16:38:24 +0000 (16:38 +0000)]
Add a driver for SMI-based SpeedStep.  The hardware supports two frequency
settings and is an older version of the same design used for ICH SpeedStep.
It is only known to be available on PIIX4 chipsets.

Many thanks to Bruno Ducrot for writing the driver and Jon Noack for
testing.

Submitted by: Bruno Ducrot

19 years agoBring API documentation for sleepqueue(9) in sync with the code
jkoshy [Tue, 19 Apr 2005 16:30:25 +0000 (16:30 +0000)]
Bring API documentation for sleepqueue(9) in sync with the code
in -current.

Reviewed by: ru

19 years agoDocument taskqueue_run_fast(). Markup 'Giant' with ".Va".
jkoshy [Tue, 19 Apr 2005 16:23:00 +0000 (16:23 +0000)]
Document taskqueue_run_fast().  Markup 'Giant' with ".Va".

Reviewed by: ru

19 years agoPoint users to tcsh(1) for information about shell globbing patterns,
murray [Tue, 19 Apr 2005 16:06:04 +0000 (16:06 +0000)]
Point users to tcsh(1) for information about shell globbing patterns,
rather than 'XXXX'.

MFC after: 1 week

19 years agoAdd preliminary support for WPA-PSK using wpa_supplicant and the
wpaul [Tue, 19 Apr 2005 15:30:44 +0000 (15:30 +0000)]
Add preliminary support for WPA-PSK using wpa_supplicant and the
net80211 code, graciously contributed by Arvind Srinivasan.

Submitted by: Arvind Srinivasan arvind at celar daht us

19 years agoRemove redundant line, add comment about termcap
phk [Tue, 19 Apr 2005 15:15:35 +0000 (15:15 +0000)]
Remove redundant line, add comment about termcap

19 years agoRemove superfluous CFLAGS lines. Use the conditional '?=' construct
jkoshy [Tue, 19 Apr 2005 14:43:59 +0000 (14:43 +0000)]
Remove superfluous CFLAGS lines.  Use the conditional '?=' construct
for WARNS lines.

Submitted by: ru

19 years ago- add getproto{byname,bynumber,ent}_r for internal use within libc.
ume [Tue, 19 Apr 2005 14:41:13 +0000 (14:41 +0000)]
- add getproto{byname,bynumber,ent}_r for internal use within libc.
- make getproto{byname,bynumber,ent} thread-safe.

19 years agoRemove superfluous CFLAGS additions. Make 'make checkdpadd' work.
jkoshy [Tue, 19 Apr 2005 14:40:50 +0000 (14:40 +0000)]
Remove superfluous CFLAGS additions.  Make 'make checkdpadd' work.
Use '?=' for the WARNS line.

Submitted by: ru

19 years agoUnbreak tinderbox builds for ${MACHINE_ARCH} != "i386" or "amd64".
jkoshy [Tue, 19 Apr 2005 14:27:43 +0000 (14:27 +0000)]
Unbreak tinderbox builds for ${MACHINE_ARCH} != "i386" or "amd64".

Pointed out by: ru.

19 years agoFurther narrow down critical region of FSBASE code.
davidxu [Tue, 19 Apr 2005 13:52:27 +0000 (13:52 +0000)]
Further narrow down critical region of FSBASE code.

19 years agoCapitalize words in library description.
jkoshy [Tue, 19 Apr 2005 13:26:58 +0000 (13:26 +0000)]
Capitalize words in library description.

Submitted by: ru

19 years agoUse critical section functions rather than scheduler lock to protect
davidxu [Tue, 19 Apr 2005 13:15:52 +0000 (13:15 +0000)]
Use critical section functions rather than scheduler lock to protect
critical region.

19 years agoCFA (Compact Flash) devices has a special config ID that fails the
sos [Tue, 19 Apr 2005 12:33:26 +0000 (12:33 +0000)]
CFA (Compact Flash) devices has a special config ID that fails the
normal ATA device check in ata-disk.c. Add support for the CFA magic.

19 years agoClear P_STATCHILD earlier to avoid unnecessary retrying.
davidxu [Tue, 19 Apr 2005 12:31:15 +0000 (12:31 +0000)]
Clear P_STATCHILD earlier to avoid unnecessary retrying.

19 years ago- nuke deprecated and unused getnodeby(3).
ume [Tue, 19 Apr 2005 12:28:17 +0000 (12:28 +0000)]
- nuke deprecated and unused getnodeby(3).
- remove unused variable.

Obtained from: KAME

19 years agoNew release notes:
hrs [Tue, 19 Apr 2005 12:03:52 +0000 (12:03 +0000)]
New release notes:
hwpmc(4) and associated library/userland utilities,
ipw(4), iwi(4), ral(4), and ural(4) wireless LAN drivers,
ipfw(4) and dummynet(4) now supports IPv6,
net.link.tap.user_open sysctl for tap(4),
LOCAL_CREDS and LOCAL_CONNWAIT options for unix(4),
twa(4) driver update,
machine-specific optimized functions for AMD64.
getserv{ent,byname,byport} MPSAFE,
mixer(8) -S option,
C99 functions: roundl(), lroundl(), llroundl(), truncl(), and floorl(),
syslogd(8) -S option,
rc.d/bsnmpd startup script, and
manual pages of ataraid(4), sched_4bsd(4), and sched_ule(4) added.

19 years agoMake DUMMYNET compile without INET6
phk [Tue, 19 Apr 2005 10:12:21 +0000 (10:12 +0000)]
Make DUMMYNET compile without INET6

19 years agotypo
phk [Tue, 19 Apr 2005 10:04:38 +0000 (10:04 +0000)]
typo

19 years agoMake IPFIREWALL compile without INET6
phk [Tue, 19 Apr 2005 09:56:14 +0000 (09:56 +0000)]
Make IPFIREWALL compile without INET6

19 years agoBump copyright year and use &os;.
hrs [Tue, 19 Apr 2005 09:43:53 +0000 (09:43 +0000)]
Bump copyright year and use &os;.

19 years agoBump copyright year.
hrs [Tue, 19 Apr 2005 09:42:25 +0000 (09:42 +0000)]
Bump copyright year.

19 years agoOops, forgot to update this file.
davidxu [Tue, 19 Apr 2005 08:11:28 +0000 (08:11 +0000)]
Oops, forgot to update this file.
Fix a race condition between kern_wait() and thread_stopped().
Problem is in kern_wait(), parent process steps through children list,
once a child process is skipped, and later even if the child is stopped,
parent process still sleeps in msleep(), the race happens if parent
masked SIGCHLD.

Submitted by : Peter Edwards peadar.edwards at gmail dot com
MFC after    : 4 days

19 years agoFix a race condition between kern_wait() and thread_stopped().
davidxu [Tue, 19 Apr 2005 08:07:28 +0000 (08:07 +0000)]
Fix a race condition between kern_wait() and thread_stopped().
Problem is in kern_wait(), parent process steps through children list,
once a child process is skipped, and later even if the child is stopped,
parent process still sleeps in msleep(), the race happens if parent
masked SIGCHLD.

Submitted by : Peter Edwards peadar.edwards at gmail dot com
MFC after    : 4 days

19 years agoCall g_waitidle() instead of GEOM using the root_mount_hold() KPI.
phk [Tue, 19 Apr 2005 06:23:59 +0000 (06:23 +0000)]
Call g_waitidle() instead of GEOM using the root_mount_hold() KPI.
GEOM could (and will) get events as a result of drivers coming in
late so a one-shot method is not good enough for GEOM.

19 years agoProvide a way to soft reset a proxy controller such as an MSA20 or
ps [Tue, 19 Apr 2005 06:11:16 +0000 (06:11 +0000)]
Provide a way to soft reset a proxy controller such as an MSA20 or
MSA500.  This is useful if you need to reset one of the storage
arrays on reboot.

19 years agoFix indentation problem in the last commit
sos [Tue, 19 Apr 2005 05:28:08 +0000 (05:28 +0000)]
Fix indentation problem in the last commit

19 years agoBring a working snapshot of hwpmc(4), its associated libraries, userland utilities
jkoshy [Tue, 19 Apr 2005 04:01:25 +0000 (04:01 +0000)]
Bring a working snapshot of hwpmc(4), its associated libraries, userland utilities
and documentation into -CURRENT.

Bump FreeBSD_version.

Reviewed by: alc, jhb (kernel changes)

19 years agoUnbreak the pc98 build by including enough information in the _bus.h
imp [Tue, 19 Apr 2005 03:19:19 +0000 (03:19 +0000)]
Unbreak the pc98 build by including enough information in the _bus.h
for _bus.h to compile.

Pointy hat to: imp
Breakage noted by: nyan-san

19 years agoCope with the (unwise?) incompatible changes with make by adding
imp [Mon, 18 Apr 2005 22:03:21 +0000 (22:03 +0000)]
Cope with the (unwise?) incompatible changes with make by adding
a comment before defined(SRCS).

19 years agoBreak out the definition of bus_space_{tag,handle}_t and a few other types
imp [Mon, 18 Apr 2005 21:45:34 +0000 (21:45 +0000)]
Break out the definition of bus_space_{tag,handle}_t and a few other types
into _bus.h to help with name space polution from including all of bus.h.
In a few days, I'll commit changes to the MI code to take advantage of thse
sepration (after I've made sure that these changes don't break anything in
the main tree, I've tested in my trees, but you never know...).

Suggested by: bde (in 2002 or 2003 I think)
Reviewed in principle by: jhb

19 years agoAdd a named reference-count KPI to hold off mounting of the root filesystem.
phk [Mon, 18 Apr 2005 21:21:26 +0000 (21:21 +0000)]
Add a named reference-count KPI to hold off mounting of the root filesystem.

While we wait for holds to be released, print a list of who holds us
back once per second.

Use the new KPI from GEOM instead of vfs_mount.c calling g_waitidle().

Use the new KPI also from ata.

With ATAmkIII's newbusification, ata could narrowly miss the window
and ad0 would not exist when we tried to mount root.

19 years agoInitialize mountlist_mtx with an MTX_SYSINIT(), we need it to be ready
phk [Mon, 18 Apr 2005 21:11:47 +0000 (21:11 +0000)]
Initialize mountlist_mtx with an MTX_SYSINIT(), we need it to be ready
earlier.

19 years agoAs with kernel-depend, rm the DEPENDFILE before modules-depend.
obrien [Mon, 18 Apr 2005 21:10:38 +0000 (21:10 +0000)]
As with kernel-depend, rm the DEPENDFILE before modules-depend.

19 years agoInitial import of ipw, iwi, ral and ural drivers:
damien [Mon, 18 Apr 2005 18:47:38 +0000 (18:47 +0000)]
Initial import of ipw, iwi, ral and ural drivers:

ipw  - Intel PRO/Wireless 2100
iwi  - Intel PRO/Wireless 2200BG/2225BG/2915ABG
ral  - Ralink Technology RT2500
ural - Ralink Technology RT2500USB

Approved by: silby (mentor)

19 years agoAdd IPv6 support to IPFW and Dummynet.
brooks [Mon, 18 Apr 2005 18:35:05 +0000 (18:35 +0000)]
Add IPv6 support to IPFW and Dummynet.

Submitted by: Mariano Tortoriello and Raffaele De Lorenzo (via luigi)

19 years agorename the NIS related fields to have yp_ prefix.
ume [Mon, 18 Apr 2005 18:34:58 +0000 (18:34 +0000)]
rename the NIS related fields to have yp_ prefix.

Suggested by: delphij

19 years agoRewrite of tcp_update_sack_list() to make it simpler and more readable
ps [Mon, 18 Apr 2005 18:10:56 +0000 (18:10 +0000)]
Rewrite of tcp_update_sack_list() to make it simpler and more readable
than our original OpenBSD derived version.

Submitted by: Noritoshi Demizu
Reviewed by: Mohan Srinivasan, Raja Mukerji

19 years agoMFen: 1.843 -> 1.845, plus some language improvements.
delphij [Mon, 18 Apr 2005 16:55:48 +0000 (16:55 +0000)]
MFen: 1.843 -> 1.845, plus some language improvements.

MFC After: 1 day, MT5_4 candidate
Obtained from: The FreeBSD Simplified Chinese Project

19 years agoAdd uma zone for composite ops.
sos [Mon, 18 Apr 2005 16:01:56 +0000 (16:01 +0000)]
Add uma zone for composite ops.

Submitted by: des

19 years ago'r' disk devices no longer exist, so don't try to create a pathname
imp [Mon, 18 Apr 2005 15:08:29 +0000 (15:08 +0000)]
'r' disk devices no longer exist, so don't try to create a pathname
that has an 'r' in it.

This also eliminates a bogus use of strlcat.
PR: 80064

19 years agoNote that NO_MIXED_MODE is gone.
scottl [Mon, 18 Apr 2005 14:33:18 +0000 (14:33 +0000)]
Note that NO_MIXED_MODE is gone.

19 years agoAdjust the RAID type pickup code for the VIA, we dont actually care
sos [Mon, 18 Apr 2005 13:51:03 +0000 (13:51 +0000)]
Adjust the RAID type pickup code for the VIA, we dont actually care
if the array is bootable or not (yet).

19 years agoTCP reconnect is not an error.
rees [Mon, 18 Apr 2005 13:42:13 +0000 (13:42 +0000)]
TCP reconnect is not an error.
Change the message from LOG_ERR to LOG_INFO.

Approved by: alfred

19 years agoIntroduce p_canwait() and MAC Framework and MAC Policy entry points
rwatson [Mon, 18 Apr 2005 13:36:57 +0000 (13:36 +0000)]
Introduce p_canwait() and MAC Framework and MAC Policy entry points
mac_check_proc_wait(), which control the ability to wait4() specific
processes.  This permits MAC policies to limit information flow from
children that have changed label, although has to be handled carefully
due to common programming expectations regarding the behavior of
wait4().  The cr_seeotheruids() check in p_canwait() is #if 0'd for
this reason.

The mac_stub and mac_test policies are updated to reflect these new
entry points.

Sponsored by: SPAWAR, SPARTA
Obtained from: TrustedBSD Project

19 years agoAdding another multi-byte characters related regression test for msdosfs.
avatar [Mon, 18 Apr 2005 13:06:43 +0000 (13:06 +0000)]
Adding another multi-byte characters related regression test for msdosfs.

Tested by: njl
Reviewed by: silby, bde, sam (mentor)

19 years agoRemove end-of-line tabs.
rwatson [Mon, 18 Apr 2005 11:51:10 +0000 (11:51 +0000)]
Remove end-of-line tabs.

MFC after: 3 days

19 years agoFix panics with misconfigured routing:
glebius [Mon, 18 Apr 2005 11:32:17 +0000 (11:32 +0000)]
Fix panics with misconfigured routing:
- Backout previous revision, the check is useless.
- Turn node to queue mode, since it is edge node.

Reported by: sem

19 years agoMerge the following from the English version:
den [Mon, 18 Apr 2005 09:30:41 +0000 (09:30 +0000)]
Merge the following from the English version:

   1.843 -> 1.845 relnotes/common/new.sgml

19 years agoPrint amd64-specific security advisory only for amd64
den [Mon, 18 Apr 2005 08:29:25 +0000 (08:29 +0000)]
Print amd64-specific security advisory only for amd64

Reviewed by: re (hrs)

19 years agoDocument bsnmpd related options.
glebius [Mon, 18 Apr 2005 07:39:53 +0000 (07:39 +0000)]
Document bsnmpd related options.

Reminded by: maxim

19 years agoCatch up with ATA mkIII definitions for registers that have different
grehan [Mon, 18 Apr 2005 04:23:23 +0000 (04:23 +0000)]
Catch up with ATA mkIII definitions for registers that have different
functions for read vs. write.

19 years agoDo not check whether a pointer is NULL, since free(3) already takes care of
delphij [Mon, 18 Apr 2005 03:45:23 +0000 (03:45 +0000)]
Do not check whether a pointer is NULL, since free(3) already takes care of
this case.

Reviewed by: ume

19 years agoFix newer Xircom CBE2-100 cards that were reporting
imp [Mon, 18 Apr 2005 03:31:29 +0000 (03:31 +0000)]
Fix newer Xircom CBE2-100 cards that were reporting
dc0: MII without any PHY!
We have to enable the connection to the MII first.  Doing so fixes the
problem cards without breaking the older, working cards.

Bad card provided by: deischen

19 years agoFix parsing of nomatch events.
imp [Mon, 18 Apr 2005 02:54:07 +0000 (02:54 +0000)]
Fix parsing of nomatch events.
minor debug fix.