]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoDocument sx_xholder().
jhb [Sat, 19 May 2007 20:24:32 +0000 (20:24 +0000)]
Document sx_xholder().

17 years agoExpose sx_xholder() as a public macro. It returns a pointer to the thread
jhb [Sat, 19 May 2007 20:18:12 +0000 (20:18 +0000)]
Expose sx_xholder() as a public macro.  It returns a pointer to the thread
that holds the current exclusive lock, or NULL if no thread holds an
exclusive lock.

Requested by: pjd

17 years agoAdd a few sentences of caution for Microsoft Vista users who might
bmah [Sat, 19 May 2007 20:09:54 +0000 (20:09 +0000)]
Add a few sentences of caution for Microsoft Vista users who might
want to try resizing partitions.  Based on text that was...

Submitted by: Michel Talon
MFC after: 3 days

17 years agoOops, didn't include SX_ADAPTIVESPIN in the list of valid flags for the
jhb [Sat, 19 May 2007 18:34:24 +0000 (18:34 +0000)]
Oops, didn't include SX_ADAPTIVESPIN in the list of valid flags for the
assert in sx_init_flags().

Submitted by: attilio

17 years agoFix GCC warning: va = va += PAGE_SIZE contains pointless operation
marcel [Sat, 19 May 2007 18:25:14 +0000 (18:25 +0000)]
Fix GCC warning: va = va += PAGE_SIZE contains pointless operation
va = va. Fix white space in nearby lines.

17 years agoUse LDADD to add -lgcc to the end of linker command line. Using LDFLAGS
kan [Sat, 19 May 2007 16:38:39 +0000 (16:38 +0000)]
Use LDADD to add -lgcc to the end of linker command line. Using LDFLAGS
puts it before library's object files, making the whole constuct useless.

17 years agoDocument SX_RECURSE flag.
jhb [Sat, 19 May 2007 16:38:10 +0000 (16:38 +0000)]
Document SX_RECURSE flag.

17 years agoAdd a new SX_RECURSE flag to make support for recursive exclusive locks
jhb [Sat, 19 May 2007 16:35:27 +0000 (16:35 +0000)]
Add a new SX_RECURSE flag to make support for recursive exclusive locks
conditional.  By default, sx(9) locks are back to not supporting recursive
exclusive locks.

Submitted by: attilio

17 years agoUse __mcount() instead of _mcount() to reduce diffs with NetBSD.
cognet [Sat, 19 May 2007 16:20:37 +0000 (16:20 +0000)]
Use __mcount() instead of _mcount() to reduce diffs with NetBSD.

17 years agoFix the fallout from over-zealous obsolete files removal. Use correct
kan [Sat, 19 May 2007 15:41:01 +0000 (15:41 +0000)]
Fix the fallout from over-zealous obsolete files removal. Use correct
atomicity.h file for arm and powerpc.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r169765,
mux [Sat, 19 May 2007 13:55:01 +0000 (13:55 +0000)]
This commit was generated by cvs2svn to compensate for changes in r169765,
which included commits to RCS files with non-trunk default branches.

17 years agoFix a typo that caused the #undef directive to not actually undefine
mux [Sat, 19 May 2007 13:55:01 +0000 (13:55 +0000)]
Fix a typo that caused the #undef directive to not actually undefine
the correct symbol, thus causing a warning with GCC 4.2.0.  Committed
into the vendor branch since this is already in the csup repository.

Reported by: kan (ages ago)

17 years agoConstify to please gcc 4.2.
cognet [Sat, 19 May 2007 13:32:58 +0000 (13:32 +0000)]
Constify to please gcc 4.2.

17 years agoDo not try to inline pmap_kremove(), as it's exported.
cognet [Sat, 19 May 2007 13:21:41 +0000 (13:21 +0000)]
Do not try to inline pmap_kremove(), as it's exported.

17 years agoFix randomly broken playback with Fortemedia FM801 XWave PCI soundcard.
joel [Sat, 19 May 2007 13:19:32 +0000 (13:19 +0000)]
Fix randomly broken playback with Fortemedia FM801 XWave PCI soundcard.

PR: kern/98898
Submitted by: Johannes Weiner <hnazfoo@googlemail.com>
Approved by: ariff

17 years agoDo not try to inline bus_dmamap_sync_buf(), gcc 4.2 doesn't want to do so
cognet [Sat, 19 May 2007 13:17:31 +0000 (13:17 +0000)]
Do not try to inline bus_dmamap_sync_buf(), gcc 4.2 doesn't want to do so
because it uses alloca().
Initialize lastaddr in bus_dmamap_load_uio().

17 years agoAdd a level of indirection to the kernel PTE table. The old
marcel [Sat, 19 May 2007 13:11:27 +0000 (13:11 +0000)]
Add a level of indirection to the kernel PTE table. The old
scheme allowed for 1024 PTE pages, each containing 256 PTEs.
This yielded 2GB of KVA. This is not enough to boot a kernel
on a 16GB box and in general too low for a 64-bit machine.
By adding a level of indirection we now have 1024 2nd-level
directory pages, each capable of supporting 2GB of KVA. This
brings the grand total to 2TB of KVA.

17 years agoMention gcc 4.2.0 import.
delphij [Sat, 19 May 2007 13:04:07 +0000 (13:04 +0000)]
Mention gcc 4.2.0 import.

17 years agoBump __FreeBSDversion to 700042 to indicate that gcc 4.2 was
delphij [Sat, 19 May 2007 12:57:16 +0000 (12:57 +0000)]
Bump __FreeBSDversion to 700042 to indicate that gcc 4.2 was
imported to the base system.

17 years agoAccount for the fact that contigmalloc(9) can return a NULL pointer.
marcel [Sat, 19 May 2007 12:50:12 +0000 (12:50 +0000)]
Account for the fact that contigmalloc(9) can return a NULL pointer.
Fix the flags argument: M_WAITOK is not a valid flag. Its presence
leaves the indication that contigmalloc(9) will not return a NULL
pointer.

The use of contigmalloc(9) in this place is probably not a good idea
given the constraints. It's probably better to lift the constraints
and instead add a permanent mapping to the ITR. It's possible that
the first 256MB of memory is exhausted when we get here.

This fixes a kernel panic on a 16GB rx3600.

17 years agoSwitch the kernel's pmap domain from 15 to 0.
cognet [Sat, 19 May 2007 12:47:34 +0000 (12:47 +0000)]
Switch the kernel's pmap domain from 15 to 0.
This should be a no-op, and this is needed for xscale core 3 supersections
support, as they are always part of the domain 0

17 years agoNew release notes:
brueffer [Sat, 19 May 2007 12:10:48 +0000 (12:10 +0000)]
New release notes:
- axe(4) altq support
- INCLUDE_CONFIG_FILE improvements
- ng_car added
- sa -U and -P flags

Modified release notes:
- hptiop(4) manpage reference added
- twa(4) updated to 3.70.03.007

Removed release notes:
- lastcomm -X, change whas been backed out

17 years agoTurn off the AK452X De-emphasis filter for 44.1KHz. This should fix some
joel [Sat, 19 May 2007 11:06:43 +0000 (11:06 +0000)]
Turn off the AK452X De-emphasis filter for 44.1KHz.  This should fix some
sound quality problems.

PR: kern/112688
Submitted by: Stefan Ehmann <shoesoft@gmx.net>
Reviewed by: Konstantin Dimitrov <kosio.dimitrov@gmail.com>
Approved by: ariff

17 years agoFix detection of PC-9821 V166 internal sound card.
joel [Sat, 19 May 2007 10:53:01 +0000 (10:53 +0000)]
Fix detection of PC-9821 V166 internal sound card.

PR: kern/105600
Submitted by: rotus <rotus@takamanohara.dyndns.org>
Approved by: ariff

17 years agoMinor update to version 3.70.03.007
scottl [Sat, 19 May 2007 10:12:58 +0000 (10:12 +0000)]
Minor update to version 3.70.03.007

17 years agoCompare the partner system priority when choosing the aggregator.
thompsa [Sat, 19 May 2007 09:37:04 +0000 (09:37 +0000)]
Compare the partner system priority when choosing the aggregator.

17 years agoWork-around for upgrading from a pre-symbol-versioned world.
scottl [Sat, 19 May 2007 07:56:08 +0000 (07:56 +0000)]
Work-around for upgrading from a pre-symbol-versioned world.

Blame-to: cperciva
17 years agoImplement the Marker Protocol. A marker frame is placed on the interface queue
thompsa [Sat, 19 May 2007 07:47:04 +0000 (07:47 +0000)]
Implement the Marker Protocol. A marker frame is placed on the interface queue
of each port and any further packets are blocked, when the all the marker frames
have been returned to us from the remote network device then we can be sure
that all interface queues are empty.

This is needed when a port is added or removed from the aggregation since it
will affect the hash based distribution, if the queues are not empty then a
packet from an existing connection may be placed on a different interface and
arrive out of order. This was previously achieved by suppressing transmission for
1 second, now that there is an active feedback this timeout as been increased
to 3 seconds and used as a fallback.

17 years agoo Fix typo: firwalling -> firewalling.
maxim [Sat, 19 May 2007 07:36:43 +0000 (07:36 +0000)]
o Fix typo: firwalling -> firewalling.

PR: docs/112776
Submitted by: asmodai
MFC after: 1 week

17 years agoCosmetics: remove extra space from GCC version string.
kan [Sat, 19 May 2007 06:37:32 +0000 (06:37 +0000)]
Cosmetics: remove extra space from  GCC version string.

17 years agoDo not compile hash_compat.c.
kan [Sat, 19 May 2007 05:52:28 +0000 (05:52 +0000)]
Do not compile hash_compat.c.

17 years agoCheck return value of m_pullup() in firewire_input().
rwatson [Sat, 19 May 2007 05:29:05 +0000 (05:29 +0000)]
Check return value of m_pullup() in firewire_input().

CID: 2105
Found with: Coverity Prevent(tm)

17 years agoDon't forget to free a string allocated by strdup where necessary.
cperciva [Sat, 19 May 2007 05:09:09 +0000 (05:09 +0000)]
Don't forget to free a string allocated by strdup where necessary.

Found by: Coverity Prevent
Coverity ID: CID 3132

17 years agoTweak inlining parameters a little. Add warning to tell us if function
kan [Sat, 19 May 2007 05:07:47 +0000 (05:07 +0000)]
Tweak inlining parameters a little. Add warning to tell us if function
we declared as inline can not be inlined.

17 years agoRemove extern struct pcpu __pcpu[]; from the header file and
kan [Sat, 19 May 2007 05:03:59 +0000 (05:03 +0000)]
Remove extern  struct pcpu __pcpu[]; from the header file and
move it the the only file where it appears to be used.

17 years agoInclude machine/pcb.hto turn extern struct pcb stoppcbs[]; construct
kan [Sat, 19 May 2007 05:01:43 +0000 (05:01 +0000)]
Include machine/pcb.hto turn extern struct pcb stoppcbs[]; construct
into the valid C.

17 years agoRemove local static redefinition of ucom_devclass.
kan [Sat, 19 May 2007 04:57:15 +0000 (04:57 +0000)]
Remove local static redefinition of ucom_devclass.

17 years agoMake sure libc is installed before all other shared libraries. Other
kan [Sat, 19 May 2007 04:55:14 +0000 (04:55 +0000)]
Make sure libc is installed before all other shared libraries. Other
libraries might depend on versioned symbols from libc.

17 years agoAdd kern.arnd sysctl. SSP code uses it to initialize the stack guard
kan [Sat, 19 May 2007 04:53:14 +0000 (04:53 +0000)]
Add kern.arnd sysctl. SSP code uses it to initialize the stack guard
magic value.

Submitted by: Jeremie Le Hen <jeremie@le-hen.org>

17 years agoDisable -Werror for now.
kan [Sat, 19 May 2007 04:48:08 +0000 (04:48 +0000)]
Disable -Werror for now.
Remove  -I- construct obsolete in GCC 4.2.

17 years agoAdd -Wno-pointer-sign to CWARNFLAGS.
kan [Sat, 19 May 2007 04:45:54 +0000 (04:45 +0000)]
Add -Wno-pointer-sign to CWARNFLAGS.

Switch ia64 kernels to -fpic. This is likely wrong, but at least gets
ia64 kernels to compile and link with GCC 4.2. The previous -mno-sdata
trick is not working anymore.

17 years agoIntroduce WITHOUT_SSP option that allows users to exclude LGPLed
kan [Sat, 19 May 2007 04:42:59 +0000 (04:42 +0000)]
Introduce WITHOUT_SSP option that allows users to exclude LGPLed
libssp from the build.

17 years agoUniversally disable -Werror until src/ is in better shape for GCC 4.2.
kan [Sat, 19 May 2007 04:41:05 +0000 (04:41 +0000)]
Universally disable -Werror until src/ is in better shape for GCC 4.2.
There are new warnings that kill the build otherwise.

Disable pointer destination sign mismatch warning alltogether. Our tree
is in no shape to have that enabled yet.

17 years agoUse built-in _end symbol insteadof 'end' for consistency with other
kan [Sat, 19 May 2007 04:36:34 +0000 (04:36 +0000)]
Use built-in _end symbol insteadof 'end' for consistency with other
architectures. Linker defines end is synonym for _end.

17 years agoDo not declare float_detect_tininess as external if it will be re-delared
kan [Sat, 19 May 2007 04:34:42 +0000 (04:34 +0000)]
Do not declare float_detect_tininess as external if it will be re-delared
as static later.

17 years agoMake sure GCC will not try to link libc with itself.
kan [Sat, 19 May 2007 04:32:56 +0000 (04:32 +0000)]
Make sure GCC will not try to link libc with itself.

17 years agoFollow NetBSD, OpenBSD and DragonfyBSD project and add BSD-licensed
kan [Sat, 19 May 2007 04:31:43 +0000 (04:31 +0000)]
Follow NetBSD, OpenBSD and DragonfyBSD project and add BSD-licensed
SSP functions into FreeBSD libc. Use the same file name and location
for consistency with other projects.

17 years agoUpdate bmake glue to build GCC 4.2.
kan [Sat, 19 May 2007 04:25:59 +0000 (04:25 +0000)]
Update bmake glue to build GCC 4.2.

Also:
        Switch FreeBSD to use libgcc_s.so.1.

        Use dl_iterate_phdr to locate shared objects' exception frame
        info instead of depending on older register_frame_info machinery.
        This allows us to avoid depending on libgcc_s.so.1 in binaries
        that do not use exception handling directly. As an additional
        benefit it breaks circular libc <=> libgcc_s.so.1 dependency too.

        Build newly added libgomp.so.1 library, the runtime support
        bits for OpenMP.

        Build LGPLed libssp library. Our libc provides our own
        BSD-licensed SSP callbacks implementation, so this library
        is only built to benefit applications that have hadcoded
        knowledge of libssp.so and libssp_nonshared.a. When linked
        in from command line, these libraries override libc
        implementation.

17 years agoGCC will now properly link libc with all shared objects in order to record
kan [Sat, 19 May 2007 03:34:59 +0000 (03:34 +0000)]
GCC will now properly link libc with all shared objects in order to record
their dependency on libc and its versioned symbols. For that to work,
libc needs to be built before any other shared library that might depend
on it. Add necessary glue to make that happen.

17 years agoAdd templates for new GCC 4.2 C++ include files hierarchy.
kan [Sat, 19 May 2007 03:31:39 +0000 (03:31 +0000)]
Add templates for new GCC 4.2 C++ include files hierarchy.

17 years agoFix generator glue to only expose extern struct units %s_units[] is
kan [Sat, 19 May 2007 03:29:37 +0000 (03:29 +0000)]
Fix generator glue to only expose extern struct units %s_units[] is
struct units defintition it known. The above construct is treated
as an incorrect C by GCC 4.2 otherwise.

17 years agoRemove extern int verbose declaration. It is declared static in the
kan [Sat, 19 May 2007 03:23:43 +0000 (03:23 +0000)]
Remove extern int verbose declaration. It is declared static in the
only file it is used in.

17 years agoFix static/extern mismatch by patching corresponding tdep files
kan [Sat, 19 May 2007 03:22:19 +0000 (03:22 +0000)]
Fix static/extern mismatch by patching corresponding tdep files
in-place.

17 years agoRe-add local FreeBSD change: prefer /tmp to /var/tmp and /usr/tmp
kan [Sat, 19 May 2007 03:17:00 +0000 (03:17 +0000)]
Re-add local FreeBSD change: prefer /tmp to /var/tmp and /usr/tmp
for temporary files.

17 years agoMerge arm-freebsd.h.diff directly into the target file. Maintaining
kan [Sat, 19 May 2007 03:11:26 +0000 (03:11 +0000)]
Merge arm-freebsd.h.diff directly into the target file. Maintaining
separate patch is much more painful than taking this file off the
vendor branch.

17 years agoAdd FMT_FLAG_NULL_FORMAT_OK flag.
kan [Sat, 19 May 2007 03:09:31 +0000 (03:09 +0000)]
Add FMT_FLAG_NULL_FORMAT_OK flag.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r169708,
kan [Sat, 19 May 2007 02:42:17 +0000 (02:42 +0000)]
This commit was generated by cvs2svn to compensate for changes in r169708,
which included commits to RCS files with non-trunk default branches.

17 years agoRemove files that are not part of GCC distribution anymore.
kan [Sat, 19 May 2007 02:34:18 +0000 (02:34 +0000)]
Remove files that are not part of GCC distribution anymore.

17 years agoUpdate configuration files for GCC 4.2.
kan [Sat, 19 May 2007 02:30:20 +0000 (02:30 +0000)]
Update configuration files for GCC 4.2.

17 years agoMerge local FreeBSD changes for -mno-align-long-strings.
kan [Sat, 19 May 2007 02:26:26 +0000 (02:26 +0000)]
Merge local FreeBSD changes for -mno-align-long-strings.

17 years agoMerge local FreeBSD changes.
kan [Sat, 19 May 2007 02:23:49 +0000 (02:23 +0000)]
Merge local FreeBSD changes.

17 years agoIn FreeBSD -O0 -O1 optimize alignment for time, not size.
kan [Sat, 19 May 2007 02:22:16 +0000 (02:22 +0000)]
In FreeBSD -O0 -O1 optimize alignment for time, not size.

17 years agoMerge local changes for -mprofiler-epilogue support.
kan [Sat, 19 May 2007 02:18:38 +0000 (02:18 +0000)]
Merge local changes for -mprofiler-epilogue support.

17 years agoMerge local FreeBSD changes to support -fformat-extensions.
kan [Sat, 19 May 2007 02:16:45 +0000 (02:16 +0000)]
Merge local FreeBSD changes to support -fformat-extensions.

17 years agoAdd FreeBSD suffix to GCC version string.
kan [Sat, 19 May 2007 02:14:13 +0000 (02:14 +0000)]
Add FreeBSD suffix to GCC version string.

17 years agoFreeBSD uses unchanged versions of this files.
kan [Sat, 19 May 2007 02:12:21 +0000 (02:12 +0000)]
FreeBSD uses unchanged versions of this files.

17 years agoFix a mbuf leak where sc_start fails or the protocol is none.
thompsa [Sat, 19 May 2007 01:40:18 +0000 (01:40 +0000)]
Fix a mbuf leak where sc_start fails or the protocol is none.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r169695,
kan [Sat, 19 May 2007 01:27:20 +0000 (01:27 +0000)]
This commit was generated by cvs2svn to compensate for changes in r169695,
which included commits to RCS files with non-trunk default branches.

17 years agoGCC 4.2.0 release miscellaneous support libraries.
kan [Sat, 19 May 2007 01:27:20 +0000 (01:27 +0000)]
GCC 4.2.0 release miscellaneous support libraries.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r169693,
kan [Sat, 19 May 2007 01:25:45 +0000 (01:25 +0000)]
This commit was generated by cvs2svn to compensate for changes in r169693,
which included commits to RCS files with non-trunk default branches.

17 years agoGCC 4.2.0 release Objective C runtime support code.
kan [Sat, 19 May 2007 01:25:45 +0000 (01:25 +0000)]
GCC 4.2.0 release Objective C runtime support code.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r169691,
kan [Sat, 19 May 2007 01:25:07 +0000 (01:25 +0000)]
This commit was generated by cvs2svn to compensate for changes in r169691,
which included commits to RCS files with non-trunk default branches.

17 years agoGCC 4.2.0 release C++ standard library and runtime support code.
kan [Sat, 19 May 2007 01:25:07 +0000 (01:25 +0000)]
GCC 4.2.0 release C++ standard library and runtime support code.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r169689,
kan [Sat, 19 May 2007 01:19:51 +0000 (01:19 +0000)]
This commit was generated by cvs2svn to compensate for changes in r169689,
which included commits to RCS files with non-trunk default branches.

17 years agoGCC 4.2.0 release.
kan [Sat, 19 May 2007 01:19:51 +0000 (01:19 +0000)]
GCC 4.2.0 release.

17 years agoFix locking assert where we should hold the reader lock.
thompsa [Fri, 18 May 2007 23:38:35 +0000 (23:38 +0000)]
Fix locking assert where we should hold the reader lock.

17 years agoZero scsi_readcapacity allocations so we can really
mjacob [Fri, 18 May 2007 21:58:07 +0000 (21:58 +0000)]
Zero scsi_readcapacity allocations so we can really
tell if there has been data returned (for some broken
residual checking points).

MFC after: 3 days

17 years agoBe more restrictive with segment validity checks in syncache_expand()
andre [Fri, 18 May 2007 21:42:25 +0000 (21:42 +0000)]
Be more restrictive with segment validity checks in syncache_expand()
and log check failures to syslog at LOG_DEBUG level.

Always prefill the sc->sc_ts field to use it in the checks.

17 years agoo Add syslog logging under LOG_DEBUG to various failures caused by
andre [Fri, 18 May 2007 21:13:01 +0000 (21:13 +0000)]
o Add syslog logging under LOG_DEBUG to various failures caused by
  bogus segments
o Add more KASSERT()s
o Update comments

17 years agoRemove unnecessary assignment.
rwatson [Fri, 18 May 2007 21:10:08 +0000 (21:10 +0000)]
Remove unnecessary assignment.

CID: 2227
Found with: Coverity Prevent(tm)

17 years agoAdd tcp_log_addrs() function to generate and standardized TCP log line
andre [Fri, 18 May 2007 19:58:37 +0000 (19:58 +0000)]
Add tcp_log_addrs() function to generate and standardized TCP log line
for use thoughout the tcp subsystem.

It is IPv4 and IPv6 aware creates a line in the following format:

 "TCP: [1.2.3.4]:50332 to [1.2.3.4]:80 tcpflags <RST>"

A "\n" is not included at the end.  The caller is supposed to add
further information after the standard tcp log header.

The function returns a NUL terminated string which the caller has
to free(s, M_TCPLOG) after use.  All memory allocation is done
with M_NOWAIT and the return value may be NULL in memory shortage
situations.

Either struct in_conninfo || (struct tcphdr && (struct ip || struct
ip6_hdr) have to be supplied.

Due to ip[6].h header inclusion limitations and ordering issues the
struct ip and struct ip6_hdr parameters have to be casted and passed
as void * pointers.

tcp_log_addrs(struct in_conninfo *inc, struct tcphdr *th, void *ip4hdr,
    void *ip6hdr)

Usage example:

 struct ip *ip;
 char *tcplog;

 if (tcplog = tcp_log_addrs(NULL, th, (void *)ip, NULL)) {
log(LOG_DEBUG, "%s; %s: Connection attempt to closed port\n",
    tcplog, __func__);
free(s, M_TCPLOG);
 }

17 years agoFix statistical accounting for bytes and packets during sack retransmits.
jhb [Fri, 18 May 2007 19:56:24 +0000 (19:56 +0000)]
Fix statistical accounting for bytes and packets during sack retransmits.

MFC after: 1 week
Submitted by: mohans

17 years agoIn nfs_down(), if rep can be NULL, which we test for, then we should
rwatson [Fri, 18 May 2007 19:34:54 +0000 (19:34 +0000)]
In nfs_down(), if rep can be NULL, which we test for, then we should
lock and unlock conditionally, not just set the flag on it conditionally.
In practice, this bug couldn't manifest, as in the current revision of
the code, no callers pass a NULL rep.

CID: 1416
Found with: Coverity Prevent(tm)

17 years agoThis file was originally added to document the transition of the
bmah [Fri, 18 May 2007 17:17:21 +0000 (17:17 +0000)]
This file was originally added to document the transition of the
release documentation from *.TXT files to the RELNOTESng *.sgml
files.  I'm pretty sure that, five years later, nobody is wondering
where the original *.TXT files went to in our source tree, so
remove this file to declutter the source tree a bit.

17 years agoMove nss_compat symbols from r1.11 to private section of symbol map.
jon [Fri, 18 May 2007 15:41:54 +0000 (15:41 +0000)]
Move nss_compat symbols from r1.11 to private section of symbol map.

Suggested by: deischen

17 years agoFix build with NETGRAPH_MPPC_COMPRESSION but without NETGRAPH_MPPC_ENCRYPTION.
mav [Fri, 18 May 2007 15:28:01 +0000 (15:28 +0000)]
Fix build with NETGRAPH_MPPC_COMPRESSION but without NETGRAPH_MPPC_ENCRYPTION.

Approved by: glebius (mentor)

17 years agoHelp ng_fec deal with multicast addresses.
dwmalone [Fri, 18 May 2007 15:05:49 +0000 (15:05 +0000)]
Help ng_fec deal with multicast addresses.

While ng_fec called the ioctl to let interfaces in the bundle know
the list of multicast addresses had changed, it never actually
updated that list on the interfaces in the bundle. Consequently,
the multicast filters could be programmed incorrectly.

if_lagg does this correctly, by maintaining a list of addresses
that it has added to interfaces in the bundle. This commit basically
takes the if_lagg code and adds it to ng_fec.

A version of this patch for RELENG_6 has fixed some problems with
IPv6 ND over ng_fec. This is probably the problem in PR 107523.

PR: 107523
Tested by: Rob Gallagher <robert.gallagher@heanet.ie>
Obtained from: if_lagg
MFC after: 3 weeks

17 years agoFix a comment.
jhb [Fri, 18 May 2007 15:05:41 +0000 (15:05 +0000)]
Fix a comment.

17 years agoMove lock_profile_object_{init,destroy}() into lock_{init,destroy}().
jhb [Fri, 18 May 2007 15:04:59 +0000 (15:04 +0000)]
Move lock_profile_object_{init,destroy}() into lock_{init,destroy}().

17 years agoAdd an example which shows how mdconfig(8) can be used
keramida [Fri, 18 May 2007 13:57:17 +0000 (13:57 +0000)]
Add an example which shows how mdconfig(8) can be used
to mount an ISO 9660 CD image file.

PR: 112691
Submitted by: Warren Block, wblock at wonkity.com
MFC after: 3 days

17 years agoSince renaming of vop_lock to _vop_lock, pre- and post-condition
kib [Fri, 18 May 2007 13:02:13 +0000 (13:02 +0000)]
Since renaming of vop_lock to _vop_lock, pre- and post-condition
function calls are no more generated for vop_lock.
Rename _vop_lock to vop_lock1 to satisfy tools/vnode_if.awk assumption
about vop naming conventions. This restores pre/post-condition calls.

17 years agoAdd -U and -P options that allow the specification of the per-user
dds [Fri, 18 May 2007 12:36:10 +0000 (12:36 +0000)]
Add -U and -P options that allow the specification of the per-user
and per-process summary file location.
These make the program more flexible, and also make it possible to write
sane regression tests.

17 years agoFix a logic bug I re-introduced in my patch I sent to Daniel
ru [Fri, 18 May 2007 12:25:48 +0000 (12:25 +0000)]
Fix a logic bug I re-introduced in my patch I sent to Daniel
that would cause the selected shared threading library to be
overwritten with its 32-bit version on amd64.

PR: amd64/112509

17 years agoo Implement the stop_boot subroutine [1]. This subroutine can be used by
mtm [Fri, 18 May 2007 12:04:41 +0000 (12:04 +0000)]
o Implement the stop_boot subroutine [1]. This subroutine can be used by
  scripts in rc.d to stop rc(8) from booting into multi-user mode when
  a critical or severe error condition is encountered.

o Modify scripts in etc/rc.d that already implemented this functionality
  independently.

o Document it.

[1] - This subroutine was implemented in FreeBSD in rc.d/fsck. I moved it
      to rc.subr(8). Our version differs slightly in that it takes an
      optional argument to stop the boot even if "autoboot" is not set.

Obtained from: NetBSD
MFC after: 2 weeks

17 years ago - define and use VMCNT_{GET,SET,ADD,SUB,PTR} macros for manipulating
jeff [Fri, 18 May 2007 07:10:50 +0000 (07:10 +0000)]
 - define and use VMCNT_{GET,SET,ADD,SUB,PTR} macros for manipulating
   vmcnts.  This can be used to abstract away pcpu details but also changes
   to use atomics for all counters now.  This means sched lock is no longer
   responsible for protecting counts in the switch routines.

Contributed by: Attilio Rao <attilio@FreeBSD.org>

17 years ago - Convert turnstiles and sleepqueus to use UMA. This provides a modest
jeff [Fri, 18 May 2007 06:32:24 +0000 (06:32 +0000)]
 - Convert turnstiles and sleepqueus to use UMA.  This provides a modest
   speedup and will be more useful after each gains a spinlock in the
   impending thread_lock() commit.
 - Move initialization and asserts into init/fini routines.  fini routines
   are only needed in the INVARIANTS case for now.

Submitted by: Attilio Rao <attilio@FreeBSD.org>
Tested by: kris, jeff

17 years ago__nss_compat_* from net/nss_compat.c are needed by ports/net/nss_ldap, so export...
jon [Fri, 18 May 2007 05:45:28 +0000 (05:45 +0000)]
__nss_compat_* from net/nss_compat.c are needed by ports/net/nss_ldap, so export them.

17 years ago- Disabled responding to NI queries from a global address by default as
jinmei [Thu, 17 May 2007 21:20:24 +0000 (21:20 +0000)]
- Disabled responding to NI queries from a global address by default as
  specified in RFC4620.  A new flag for icmp6_nodeinfo was added to enable the
  feature.
- Also cleaned up the code so that the semantics of the icmp6_nodeinfo
  flags is clearer (i.e., defined specific macro names instead of using
  hard-coded values).

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

17 years agoUpdate the man page to reflect that certain variables will be unset in
csjp [Thu, 17 May 2007 19:14:25 +0000 (19:14 +0000)]
Update the man page to reflect that certain variables will be unset in
the case that the program is set-user-ID or set-group-ID. Add missing
annotations for LIBMAP and LIBMAP_DISABLE.

17 years agoIn the event a process is tainted (setuid/setgid binaries), un-set any
csjp [Thu, 17 May 2007 18:00:27 +0000 (18:00 +0000)]
In the event a process is tainted (setuid/setgid binaries), un-set any
potentially dangerous environment variables all together. It should be
noted that the run-time linker will not honnor these environment variables
if the process is tainted currently. However, once a child of the tainted
process calls setuid(2), it's status as being tainted (as defined by
issetugid(2)) will be removed. This could be problematic because
subsequent activations of the run-time linker could honnor these
dangerous variables.

This is more of an anti foot-shot mechanism, there is nothing I am
aware of in base that does this, however there may be third party
utilities which do, and there is no real negative impact of clearing
these environment variables.

Discussed on: secteam
Reviewed by: cperciva
PR: kern/109836
MFC after: 2 weeks