]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoThis commit was generated by cvs2svn to compensate for changes in r161751,
ru [Thu, 31 Aug 2006 14:12:22 +0000 (14:12 +0000)]
This commit was generated by cvs2svn to compensate for changes in r161751,
which included commits to RCS files with non-trunk default branches.

17 years agoImport OpenBSD's tip(1) as of today
ru [Thu, 31 Aug 2006 14:12:22 +0000 (14:12 +0000)]
Import OpenBSD's tip(1) as of today

17 years agoAdd PHY support for BCM5752.
yongari [Thu, 31 Aug 2006 11:15:18 +0000 (11:15 +0000)]
Add PHY support for BCM5752.

Tested by: delphij, Ganbold < ganbold AT micom DOT mng DOT net >

17 years agoAdd Broadcom BCM5752 PHY id.
yongari [Thu, 31 Aug 2006 11:13:51 +0000 (11:13 +0000)]
Add Broadcom BCM5752 PHY id.

17 years agoAdd FreeBSD Update 2.0 client code. The build code is in the projects
cperciva [Thu, 31 Aug 2006 09:51:34 +0000 (09:51 +0000)]
Add FreeBSD Update 2.0 client code.  The build code is in the projects
repository.

Sponsored by: FreeBSD security development fundraiser

17 years agoFix typos: s/rebulid/rebuild/
rse [Thu, 31 Aug 2006 08:45:44 +0000 (08:45 +0000)]
Fix typos: s/rebulid/rebuild/

Submitted by: Christoph Schug <chris@schug.net>

17 years agoReorder some statments. Fix typo and remove stale comments.
davidxu [Wed, 30 Aug 2006 23:59:45 +0000 (23:59 +0000)]
Reorder some statments. Fix typo and remove stale comments.

17 years agoWhen generating localhost entries in /etc/hosts, put localhost before
brooks [Wed, 30 Aug 2006 15:14:00 +0000 (15:14 +0000)]
When generating localhost entries in /etc/hosts, put localhost before
localhost.domain so that naive users of gethost* think 1:: and 127.0.0.1
are "localhost" which is what the user expects.  This also matches the
sample hosts file in src/etc/hosts.

17 years ago- Remove yet another mention of minor number construction
ru [Wed, 30 Aug 2006 14:38:42 +0000 (14:38 +0000)]
- Remove yet another mention of minor number construction
  which is not applicable today.

- Provide an example of how to lock a speed.

17 years agoProperly initialize the nVidia MCP5X interrupts etc.
sos [Wed, 30 Aug 2006 11:50:22 +0000 (11:50 +0000)]
Properly initialize the nVidia MCP5X interrupts etc.

Suggested by: nVidia

17 years agoRemove dead code, already defined in sys/cdef.h
cognet [Wed, 30 Aug 2006 11:45:07 +0000 (11:45 +0000)]
Remove dead code, already defined in sys/cdef.h

Spotted out by: bde

17 years agoUse ENTRY_NP for alternate entry points instead of ENTRY to avoid calling
cognet [Wed, 30 Aug 2006 11:44:37 +0000 (11:44 +0000)]
Use ENTRY_NP for alternate entry points instead of ENTRY to avoid calling
mcount twice when profiling.

Spotted out by: bde

17 years agoIn rev. 1.2 we have introduced a fallback handler for files with unknown
delphij [Wed, 30 Aug 2006 08:20:34 +0000 (08:20 +0000)]
In rev. 1.2 we have introduced a fallback handler for files with unknown
extensions.  This seems to be unnecessary and prevents less(1) from being
able to detect file changes, so remove the part.

Submitted by: Eric Huss <e-huss netmeridian com>
PR: bin/102624
Discussed with: des
MFC After: 3 days

17 years agoo Set TP using inline assembly to avoid dead code elimination.
marcel [Wed, 30 Aug 2006 03:31:32 +0000 (03:31 +0000)]
o  Set TP using inline assembly to avoid dead code elimination.
o  Eliminate _tcb.

17 years agoAvoid dead code elimination of the assignment to TP by using inline
marcel [Wed, 30 Aug 2006 00:57:35 +0000 (00:57 +0000)]
Avoid dead code elimination of the assignment to TP by using inline
assembly.

17 years agoPrevent dead code elimination for the TP assignmient by using inline
marcel [Wed, 30 Aug 2006 00:39:07 +0000 (00:39 +0000)]
Prevent dead code elimination for the TP assignmient by using inline
assembly.

17 years agoUse ENTRY instead of ALTENTRY, it doesn't exist on arm.
cognet [Tue, 29 Aug 2006 23:53:34 +0000 (23:53 +0000)]
Use ENTRY instead of ALTENTRY, it doesn't exist on arm.

17 years agoNew release note: SA-06:18.ppp (+MFC).
bmah [Tue, 29 Aug 2006 22:25:22 +0000 (22:25 +0000)]
New release note:  SA-06:18.ppp (+MFC).

17 years agoFix for a deadlock triggered by a 'umount -f' causing a NFS request to never
mohans [Tue, 29 Aug 2006 22:00:12 +0000 (22:00 +0000)]
Fix for a deadlock triggered by a 'umount -f' causing a NFS request to never
retransmit (or return). Thanks to John Baldwin for helping nail this one.

Found by : Kris Kennaway

17 years agoThe _sx_assert() prototype should exist if either of INVARIANTS or
jhb [Tue, 29 Aug 2006 20:36:33 +0000 (20:36 +0000)]
The _sx_assert() prototype should exist if either of INVARIANTS or
INVARIANT_SUPPORT is defined so you can build a kernel with
INVARIANT_SUPPORT, but build a module with just INVARIANTS on.

MFC after: 3 days
Reported by: kuriyama

17 years agoForced commit (a little late) to note that the last revision also
brueffer [Tue, 29 Aug 2006 19:15:59 +0000 (19:15 +0000)]
Forced commit (a little late) to note that the last revision also
removed the references to the README.  All information the references
refer to are actually more up to date in out manpages.

17 years agoNote less 394 MFC.
delphij [Tue, 29 Aug 2006 18:47:09 +0000 (18:47 +0000)]
Note less 394 MFC.

17 years agoRestore Digital Outpur Register (DOR) for enhanced controller after reset.
jkim [Tue, 29 Aug 2006 18:19:39 +0000 (18:19 +0000)]
Restore Digital Outpur Register (DOR) for enhanced controller after reset.

17 years agoManual page tweaks.
jkoshy [Tue, 29 Aug 2006 18:11:20 +0000 (18:11 +0000)]
Manual page tweaks.

Submitted by: Niclas Zeising <lothrandil at n00b.apagnu.se> on freebsd-doc

17 years agoRemove unused file.
davidxu [Tue, 29 Aug 2006 13:01:23 +0000 (13:01 +0000)]
Remove unused file.

17 years agoComment out lines that use example addresses and example.com names so
ru [Tue, 29 Aug 2006 09:20:48 +0000 (09:20 +0000)]
Comment out lines that use example addresses and example.com names so
that local changes can be made more easily (without having to comment
these lines, and making the diff more readable).

17 years agoAdd nanobsd(8) manual page.
danger [Tue, 29 Aug 2006 09:12:48 +0000 (09:12 +0000)]
Add nanobsd(8) manual page.

Reviewed by: ru
Approved by: trhodes (mentor), keramida (mentor)
MFC after: 1 week

17 years agoThe kvm_mkdb(8) is long dead.
ru [Tue, 29 Aug 2006 08:49:58 +0000 (08:49 +0000)]
The kvm_mkdb(8) is long dead.

17 years agoMarkup polishing.
ru [Tue, 29 Aug 2006 08:43:09 +0000 (08:43 +0000)]
Markup polishing.

17 years agoWhen skipping data, track the position in the bytestream correctly.
kientzle [Tue, 29 Aug 2006 04:59:25 +0000 (04:59 +0000)]
When skipping data, track the position in the bytestream correctly.
Without this, tar -r breaks badly; new entries overwrite the
middle of the archive instead of being added at the end.

Thanks to: Chris Spiegel

17 years agoOoops m->md.pvh_attrs can't be used to know if the page is writeable, because
cognet [Mon, 28 Aug 2006 21:43:34 +0000 (21:43 +0000)]
Ooops m->md.pvh_attrs can't be used to know if the page is writeable, because
it only remembers if the page is modified or referenced.

Bad review from: cognet

17 years agoRelocate the vector page for AT91, to work around bugs with the LOW_VECTOR
cognet [Mon, 28 Aug 2006 20:05:00 +0000 (20:05 +0000)]
Relocate the vector page for AT91, to work around bugs with the LOW_VECTOR
code.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r161701,
imp [Mon, 28 Aug 2006 17:26:38 +0000 (17:26 +0000)]
This commit was generated by cvs2svn to compensate for changes in r161701,
which included commits to RCS files with non-trunk default branches.

17 years agoImport on vendor branch two files that have been tweaked to unbreak
imp [Mon, 28 Aug 2006 17:26:38 +0000 (17:26 +0000)]
Import on vendor branch two files that have been tweaked to unbreak
the build.  The openbsm folks are free to fix it in any other way they
see fit once they resurface.

Basically, make everything always be const char **, even though const
char ** usually should be 'const char * const *' in most cases.  This
makes the three different definitions consistant and allows world to
build.

17 years agoFREE -> free
ssouhlal [Mon, 28 Aug 2006 13:52:27 +0000 (13:52 +0000)]
FREE -> free

Submitted by: rdivacky

17 years agoMFi386 parts of rev 1.55 (modulo real MD parts):
netchild [Mon, 28 Aug 2006 13:09:24 +0000 (13:09 +0000)]
MFi386 parts of rev 1.55 (modulo real MD parts):
 - implement CLONE_PARENT semantic
 - lock proc in the currently disabled part of CLONE_THREAD

Submitted by: rdivacky

17 years agopthread_sigmask is in thr_sig.c, remove this file.
davidxu [Mon, 28 Aug 2006 12:29:54 +0000 (12:29 +0000)]
pthread_sigmask is in thr_sig.c, remove this file.

17 years agoImprove input parsing:
phk [Mon, 28 Aug 2006 08:27:02 +0000 (08:27 +0000)]
Improve input parsing:

Add "-C <column>" and "-d <delims>" options to chop up input lines.

Make '#' a comment character, rest of line is ignored.

Submitted by: Dmitry Morozovsky <marck@rinet.ru>

17 years agoProvide the installation script for the lib32 distribution.
ru [Mon, 28 Aug 2006 08:13:56 +0000 (08:13 +0000)]
Provide the installation script for the lib32 distribution.

17 years agoMove some historical artefacts into the attic.
ru [Mon, 28 Aug 2006 08:12:49 +0000 (08:12 +0000)]
Move some historical artefacts into the attic.

17 years agoAllow the DESTDIR to be specified without a terminating slash
ru [Mon, 28 Aug 2006 08:08:57 +0000 (08:08 +0000)]
Allow the DESTDIR to be specified without a terminating slash
(all other install scripts allow this).

17 years agoCosmetics.
ru [Mon, 28 Aug 2006 08:06:21 +0000 (08:06 +0000)]
Cosmetics.

17 years agoUpdate comments about interrupted mutex locking.
davidxu [Mon, 28 Aug 2006 07:09:27 +0000 (07:09 +0000)]
Update comments about interrupted mutex locking.

17 years ago1. Attempt to take one bullet out of the foot-shooting gun by silently
dougb [Mon, 28 Aug 2006 06:41:50 +0000 (06:41 +0000)]
1. Attempt to take one bullet out of the foot-shooting gun by silently
ignoring errors when sourcing rc.conf* files. The most common error
occurs when users put a command of some sort into those files.
(ifconfig is a popular choice)

2. Make the file rotation logic simpler by starting one down from
the "top" of the list, rather than at the top.

3. Try to make file rotation more secure by calling unlink(1) on all
new file names before rotating an old file to the new name, rather than
merely calling 'rm -f' on any files that exceed the number of files
to save.

17 years agoKill unused files.
davidxu [Mon, 28 Aug 2006 05:01:31 +0000 (05:01 +0000)]
Kill unused files.

17 years agoUse umutex APIs to implement pthread_mutex, member pp_mutexq is added
davidxu [Mon, 28 Aug 2006 04:52:50 +0000 (04:52 +0000)]
Use umutex APIs to implement pthread_mutex, member pp_mutexq is added
into pthread structure to keep track of locked PTHREAD_PRIO_PROTECT mutex,
no real mutex code is changed, the mutex locking and unlocking code should
has same performance as before.

17 years agoAdd umutex APIs.
davidxu [Mon, 28 Aug 2006 04:47:27 +0000 (04:47 +0000)]
Add umutex APIs.

17 years agoRegenerate.
davidxu [Mon, 28 Aug 2006 04:28:25 +0000 (04:28 +0000)]
Regenerate.

17 years agoThis is initial version of POSIX priority mutex support, a new userland
davidxu [Mon, 28 Aug 2006 04:24:51 +0000 (04:24 +0000)]
This is initial version of POSIX priority mutex support, a new userland
mutex structure is added as following:
struct umutex {
        __lwpid_t       m_owner;
        uint32_t        m_flags;
        uint32_t        m_ceilings[2];
        uint32_t        m_spare[4];
};
The m_owner represents owner thread, it is a thread id, in non-contested
case, userland can simply use atomic_cmpset_int to lock the mutex, if the
mutex is contested, high order bit will be set, and userland should do locking
and unlocking via kernel syscall. Flag UMUTEX_PRIO_INHERIT represents
pthread's PTHREAD_PRIO_INHERIT mutex, which when contention happens, kernel
should do priority propagating. Flag UMUTEX_PRIO_PROTECT indicates it is
pthread's PTHREAD_PRIO_PROTECT mutex, userland should initialize m_owner
to contested state UMUTEX_CONTESTED, then atomic_cmpset_int will be failure
and kernel syscall should be invoked to do locking, this becauses
for such a mutex, kernel should always boost the thread's priority before
it can lock the mutex, m_ceilings is used by PTHREAD_PRIO_PROTECT mutex,
the first element is used to boost thread's priority when it locked the mutex,
second element is used when the mutex is unlocked, the PTHREAD_PRIO_PROTECT
mutex's link list is kept in userland, the m_ceiling[1] is managed by thread
library so kernel needn't allocate memory to keep the link list, when such
a mutex is unlocked, kernel reset m_owner to UMUTEX_CONTESTED.
Flag USYNC_PROCESS_SHARED indicate if the synchronization object is process
shared, if the flag is not set, it saves a vm_map_lookup() call.

The umtx chain is still used as a sleep queue, when a thread is blocked on
PTHREAD_PRIO_INHERIT mutex, a umtx_pi is allocated to support priority
propagating, it is dynamically allocated and reference count is used,
it is not optimized but works well in my tests, while the umtx chain has
its own locking protocol, the priority propagating protocol are all protected
by sched_lock because priority propagating function is called with sched_lock
held from scheduler.

No visible performance degradation is found which these changes. Some parameter
names in _umtx_op syscall are renamed.

17 years agoImplement casuword32, compare and set user integer, thank Marcel Moolenarr
davidxu [Mon, 28 Aug 2006 02:28:15 +0000 (02:28 +0000)]
Implement casuword32, compare and set user integer, thank Marcel Moolenarr
who wrote the IA64 version of casuword32.

17 years agoRefactor vm_page_sleep_if_busy() so that the test for a busy page is
alc [Sun, 27 Aug 2006 19:50:13 +0000 (19:50 +0000)]
Refactor vm_page_sleep_if_busy() so that the test for a busy page is
inlined and a procedure call is made in the rare case, i.e., when it is
necessary to sleep.  In this case, inlining the test actually makes the
kernel smaller.

17 years agoFix video playing and network connections in realplayer (and most likely
netchild [Sun, 27 Aug 2006 18:51:32 +0000 (18:51 +0000)]
Fix video playing and network connections in realplayer (and most likely
other stuff) in the osrelease=2.6.16 case:
 - implement CLONE_PARENT semantic
 - fix TLS loading in clone CLONE_SETTLS
 - lock proc in the currently disabled part of CLONE_THREAD

I suggest to not unload the linux module after testing this, there are
some "<defunct>" processes hanging around after exiting (they aren't
with osrelease=2.4.2) and they may panic your kernel when unloading the
linux module. They are in state Z and some of them consume CPU according
to ps. But I don't trust the CPU part, the idle threads gets too much CPU
that this may be possible (accumulating idle, X and 2 defunct processes
results in 104.7%, this looks to much to be a rounding error).

Noticed by: Intron <mag@intron.ac>
Submitted by: rdivacky (in collaboration with Intron)
Tested by: Intron, netchild
Reviewed by: jhb (previous version)

17 years agoNew release notes: GCC 3.4.6, OpenSSL 0.9.8b.
bmah [Sun, 27 Aug 2006 16:18:09 +0000 (16:18 +0000)]
New release notes:  GCC 3.4.6, OpenSSL 0.9.8b.

17 years agovisionary thoughts..
wilko [Sun, 27 Aug 2006 14:29:10 +0000 (14:29 +0000)]
visionary thoughts..

MFC after: 1 week

17 years agoFill in dump_avail[] before pmap_boostrap() is called so that
cognet [Sun, 27 Aug 2006 13:23:51 +0000 (13:23 +0000)]
Fill in dump_avail[] before pmap_boostrap() is called so that
ARM_USE_SMALL_ALLOC work.

17 years agoResurrect reference to (contemporary) kern.ipc.nmbclusters.
marck [Sun, 27 Aug 2006 12:57:37 +0000 (12:57 +0000)]
Resurrect reference to (contemporary) kern.ipc.nmbclusters.

Suggested by: ru

MFC after: 3 days

17 years agoWhen stopping powerd, set the CPU frequency back to its maximum value
cperciva [Sun, 27 Aug 2006 11:04:39 +0000 (11:04 +0000)]
When stopping powerd, set the CPU frequency back to its maximum value
(i.e., what it was almost certainly at before powerd was started).

Submitted by: R.B. Riddick
MFC after: 3 days

17 years agoregen
netchild [Sun, 27 Aug 2006 08:58:00 +0000 (08:58 +0000)]
regen

17 years agoAdd the linux statfs64 call. This allows Tivoli backup to proceed a little
netchild [Sun, 27 Aug 2006 08:56:54 +0000 (08:56 +0000)]
Add the linux statfs64 call. This allows Tivoli backup to proceed a little
but further on -current (still not successful, but a step into the right
direction).

Sponsored by: Google SoC 2006
Submitted by: rdivacky
Tested by: Paul Mather <paul@gromit.dlib.vt.edu>

17 years agoUse ports INDEX-7 instead of INDEX-6
dougb [Sun, 27 Aug 2006 08:12:53 +0000 (08:12 +0000)]
Use ports INDEX-7 instead of INDEX-6

Submitted by: Niclas Zeising <lothrandil@n00b.apagnu.se>

17 years ago- Add new service class definitions and a new attribute identifier definition
markus [Sat, 26 Aug 2006 23:16:35 +0000 (23:16 +0000)]
- Add new service class definitions and a new attribute identifier definition
- Update URL of the Assigned Numbers document for SDP

Approved by: emax (mentor)
MFC after: 3 days

17 years agoGCC 3.4.6 gets confused on this file and produces bogus warning.
kan [Sat, 26 Aug 2006 21:48:00 +0000 (21:48 +0000)]
GCC 3.4.6 gets confused on this file and produces bogus warning.
Shut it up.

17 years agoResolve conflicts after GCC 3.4.6 20060825 import.
kan [Sat, 26 Aug 2006 21:37:21 +0000 (21:37 +0000)]
Resolve conflicts after GCC 3.4.6 20060825 import.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r161657,
kan [Sat, 26 Aug 2006 21:30:30 +0000 (21:30 +0000)]
This commit was generated by cvs2svn to compensate for changes in r161657,
which included commits to RCS files with non-trunk default branches.

17 years agoGcc 3.4.6 F77 runtime support bits (as of 2006/08/25 #116475).
kan [Sat, 26 Aug 2006 21:30:30 +0000 (21:30 +0000)]
Gcc 3.4.6 F77 runtime support bits (as of 2006/08/25 #116475).
.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r161655,
kan [Sat, 26 Aug 2006 21:30:26 +0000 (21:30 +0000)]
This commit was generated by cvs2svn to compensate for changes in r161655,
which included commits to RCS files with non-trunk default branches.

17 years agoGcc 3.4.6 Objective C support bits (as of 2006/08/25 #116475).
kan [Sat, 26 Aug 2006 21:30:26 +0000 (21:30 +0000)]
Gcc 3.4.6 Objective C support bits (as of 2006/08/25 #116475).

17 years agoThis commit was generated by cvs2svn to compensate for changes in r161653,
kan [Sat, 26 Aug 2006 21:29:46 +0000 (21:29 +0000)]
This commit was generated by cvs2svn to compensate for changes in r161653,
which included commits to RCS files with non-trunk default branches.

17 years agoGcc 3.4.6 C++ support bits (as of 2006/08/25 #116475).
kan [Sat, 26 Aug 2006 21:29:46 +0000 (21:29 +0000)]
Gcc 3.4.6 C++ support bits (as of 2006/08/25 #116475).

17 years agoThis commit was generated by cvs2svn to compensate for changes in r161651,
kan [Sat, 26 Aug 2006 21:29:10 +0000 (21:29 +0000)]
This commit was generated by cvs2svn to compensate for changes in r161651,
which included commits to RCS files with non-trunk default branches.

17 years agoGcc 3.4.6 as of 2006/08/25 #116475.
kan [Sat, 26 Aug 2006 21:29:10 +0000 (21:29 +0000)]
Gcc 3.4.6 as of 2006/08/25 #116475.

17 years agoChase after phk@: remove reference to (now obsoleted) NMBCLUSTERS.
marck [Sat, 26 Aug 2006 21:24:22 +0000 (21:24 +0000)]
Chase after phk@: remove reference to (now obsoleted) NMBCLUSTERS.

MFC after: 1 week

17 years agoFix panic associated with file creation via RPC/NFS when the MLS policy
csjp [Sat, 26 Aug 2006 20:13:35 +0000 (20:13 +0000)]
Fix panic associated with file creation via RPC/NFS when the MLS policy
is loaded. This problem stems from the fact that the policy is not properly
initializing the mac label associated with the NFS daemon.

Obtained from: TrustedBSD Project
Discussed with: rwatson

17 years agoAdd 2400 f/w support.
mjacob [Sat, 26 Aug 2006 18:40:25 +0000 (18:40 +0000)]
Add 2400 f/w support.

17 years agoAdd QLogic 2400 (4Gb) firmware.
mjacob [Sat, 26 Aug 2006 18:39:18 +0000 (18:39 +0000)]
Add QLogic 2400 (4Gb) firmware.

17 years agoAllow the user process to query the kernel's notion of a maximum
rwatson [Sat, 26 Aug 2006 17:59:31 +0000 (17:59 +0000)]
Allow the user process to query the kernel's notion of a maximum
audit record size at run-time, which can be used by the user
process to size the user space buffer it reads into from the audit
pipe.

Perforce change: 105098
Obtained from: TrustedBSD Project

17 years agoFix for a bug that causes the computation of "len" in tcp_output() to
mohans [Sat, 26 Aug 2006 17:53:19 +0000 (17:53 +0000)]
Fix for a bug that causes the computation of "len" in tcp_output() to
get messed up, resulting in an inconsistency between the TCP state
and so_snd.

17 years agoFix another bug introduced with rev. 1.204; in vfs_donmount() if
marius [Sat, 26 Aug 2006 16:28:19 +0000 (16:28 +0000)]
Fix another bug introduced with rev. 1.204; in vfs_donmount() if
the 'vfs_getopt(optlist, "errmsg", (void **)&errmsg, &errmsg_len)'
call fails, 'errmsg' is left uninitialized, making the later tests
against NULL meaningless, and the uses bogus. Thus initialize
'errmsg' to NULL beforehand. [1]
While at it, remove the superfluous assignment of 0 to 'errmsg_len'
if the above mentioned call fails as it's already initialized to 0.

Submitted by: Michael Plass [1]

17 years agoNew release notes: amdsmb(4), nfsmb(4), bpf(4) timestamp fix (+MFC),
bmah [Sat, 26 Aug 2006 14:00:42 +0000 (14:00 +0000)]
New release notes:  amdsmb(4), nfsmb(4), bpf(4) timestamp fix (+MFC),
logger(1) -P (+MFC).

MFCs noted:  em(4) 6.1.4, traceroute(8) -e, traceroute (8) complete
ICMP unreacable decoding.

Modified release notes:  OpenBSM 1.0alpha9.

17 years agoUpdate.
pjd [Sat, 26 Aug 2006 11:32:40 +0000 (11:32 +0000)]
Update.

17 years agoThe "taskqueue_fast" spinlocks were renamed to "fast_taskqueue" in
ssouhlal [Sat, 26 Aug 2006 11:21:25 +0000 (11:21 +0000)]
The "taskqueue_fast" spinlocks were renamed to "fast_taskqueue" in
subr_taskqueue.c:r1.32

Reported by: rdivacky

17 years agoCorrect the number of retries in a futex_wake() call.
netchild [Sat, 26 Aug 2006 10:36:16 +0000 (10:36 +0000)]
Correct the number of retries in a futex_wake() call.

Sponsored by: Google SoC 2006
Submitted by: rdivacky

17 years agoUpdate FreeBSD upgrade notes for OpenBSM.
rwatson [Sat, 26 Aug 2006 10:35:54 +0000 (10:35 +0000)]
Update FreeBSD upgrade notes for OpenBSM.

Obtained from: TrustedBSD Project

17 years agoUpdate kernel OpenBSM parts, especially src/sys/bsm, for the OpenBSM
rwatson [Sat, 26 Aug 2006 08:17:58 +0000 (08:17 +0000)]
Update kernel OpenBSM parts, especially src/sys/bsm, for the OpenBSM
1.0 alpha 9 import.  See the OpenBSM import commit message for a
detailed summary of changes.

Obtained from:  TrustedBSD Project

17 years agoUpdate for OpenBSM 1.0 alpha 9.
rwatson [Sat, 26 Aug 2006 08:12:17 +0000 (08:12 +0000)]
Update for OpenBSM 1.0 alpha 9.

Obtained from: TrustedBSD Project

17 years agoResolove conflicts from OpenBSM 1.0 alpha 9 into audit_event.
rwatson [Sat, 26 Aug 2006 08:08:47 +0000 (08:08 +0000)]
Resolove conflicts from OpenBSM 1.0 alpha 9 into audit_event.

Obtained from: TrustedBSD Project

17 years agoVendor import of OpenBSM 1.0 alpha 9, with the following change history
rwatson [Sat, 26 Aug 2006 08:04:15 +0000 (08:04 +0000)]
Vendor import of OpenBSM 1.0 alpha 9, with the following change history
notes since the last import:

OpenBSM 1.0 alpha 9

- Rename many OpenBSM-specific constants and API elements containing the
  strings "BSM" and "bsm" to "AUDIT" and "audit", observing that this is true
  for almost all existing constants and APIs.
- Instead of passing a per-instance cookie directly into all audit filter
  APIs, pass in the audit filter daemon state pointer, which is then used by
  the module using an audit_filter_{get,set}cookie() API.  This will allow
  future service APIs provided by the filter daemon to maintain their own
  state -- for example, per-module preselection state.

OpenBSM 1.0 alpha 8

- Correct typo in definition of AUR_INT.
- Adopt OpenSolaris constant values for AUDIT_* configuration flags.
- Arguments to au_to_exec_args() and au_to_exec_env() no longer const.
- Add kernel versions of au_to_exec_args() and au_to_exec_env().
- Fix exec argument type that is printed for env strings from 'arg' to 'env'.
- New OpenBSM token version number assigned, constants added for other
  commonly seen version numbers.
- OpenBSM-specific events assigned numbers in the 43xxx range to avoid future
  collisions with Solaris.  Darwin events renamed to AUE_DARWIN_foo, as they
  are now deprecated numberings.
- autoconf now detects clock_gettime(), which is not available on Darwin.
- praudit output fixes relating to arg32 and arg64 tokens.
- Maximum record size updated to 64k-1 to match Solaris record size limit.
- Various style and comment cleanups in include files.

This is an MFC candidate to RELENG_6.

Obtained from: TrustedBSD Project

17 years agoThis commit was generated by cvs2svn to compensate for changes in r161630,
rwatson [Sat, 26 Aug 2006 08:04:15 +0000 (08:04 +0000)]
This commit was generated by cvs2svn to compensate for changes in r161630,
which included commits to RCS files with non-trunk default branches.

17 years agoPrevent a call to contigmalloc() that asks for more physical memory than
alc [Sat, 26 Aug 2006 02:43:23 +0000 (02:43 +0000)]
Prevent a call to contigmalloc() that asks for more physical memory than
the machine has from causing a panic.

Submitted by: Michael Plass
PR: 101668
MFC after: 3 days

17 years agoEliminate unused definitions. (They came from NetBSD.)
alc [Fri, 25 Aug 2006 23:51:11 +0000 (23:51 +0000)]
Eliminate unused definitions.  (They came from NetBSD.)

Discussed with: cognet, grehan, marcel

17 years agoPass whatever the value of NM down to lorder. This allows one to
imp [Fri, 25 Aug 2006 23:50:05 +0000 (23:50 +0000)]
Pass whatever the value of NM down to lorder.  This allows one to
override NM in Makefiles when, for example, cross compiling and have
that value be used by lorder.  NM normally isn't defined, so we pass a
null value to lorder.  lorder says 'NM=${NM-nm}' which causes it to
pickup the default value.

17 years agoMove the bridge hook after the loopback check so that IFF_SIMPLEX is honoured
thompsa [Fri, 25 Aug 2006 20:16:39 +0000 (20:16 +0000)]
Move the bridge hook after the loopback check so that IFF_SIMPLEX is honoured
on member interfaces. This makes us the same as OpenBSD/NetBSD.

MFC after: 3 days

17 years agoThe bridge cant hear its own transmissions so set IFF_SIMPLEX.
thompsa [Fri, 25 Aug 2006 20:11:56 +0000 (20:11 +0000)]
The bridge cant hear its own transmissions so set IFF_SIMPLEX.

PR: kern/102361
Tested by: Radim Kolar <hsn@netmag.cz>
MFC after: 3 days

17 years ago- Talk about memory allocation in interrupt context
pav [Fri, 25 Aug 2006 19:04:42 +0000 (19:04 +0000)]
- Talk about memory allocation in interrupt context
- Add uam to see also

Submitted by: Devon H. O'Dell <devon.odell@coyotepoint.com>

17 years ago- Catch up with ongoing rwatson's socket work;
emax [Fri, 25 Aug 2006 17:53:13 +0000 (17:53 +0000)]
- Catch up with ongoing rwatson's socket work;

- Fix a couple of LORs and panics;

- Temporarily remove the code that tries to cleanup sockets that stuck
  on accepting queues (both complete and incomplete). I'm taking an ostrich
  approach here until I find a better way to deal with sockets that were
  disconnected before accepting (i.e. while socket was on complete or
  incomplete accept queue).

17 years agoUse the pcb in stoppcbs[] if it is present for threads that were running
jhb [Fri, 25 Aug 2006 16:20:17 +0000 (16:20 +0000)]
Use the pcb in stoppcbs[] if it is present for threads that were running
on other CPUs in system when a dump is written.

Submitted by: ups
Reviewed by: marcel
MFC after: 3 days

17 years agoNote that the system only allows a maximum of kern.kq_calloutmax timers.
ceri [Fri, 25 Aug 2006 15:19:47 +0000 (15:19 +0000)]
Note that the system only allows a maximum of kern.kq_calloutmax timers.

PR: docs/102353
Submitted by: phk
MFC after: 1 week

17 years agoFix comment.
pjd [Fri, 25 Aug 2006 15:13:49 +0000 (15:13 +0000)]
Fix comment.

17 years agoExplicitely set the "allocbuffer" field to NULL when creating a new dmamap.
cognet [Fri, 25 Aug 2006 15:10:45 +0000 (15:10 +0000)]
Explicitely set the "allocbuffer" field to NULL when creating a new dmamap.

17 years agoDo not create dma maps with bus_dmamap_create, as we call
cognet [Fri, 25 Aug 2006 13:38:42 +0000 (13:38 +0000)]
Do not create dma maps with bus_dmamap_create, as we call
bus_dmamem_alloc later which will overwrite the value, leading to a small
memory leak.