]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoThe clock is already allocated as 'fast' - no need to try and intercept a
peter [Mon, 8 Jul 2002 09:12:22 +0000 (09:12 +0000)]
The clock is already allocated as 'fast' - no need to try and intercept a
'slow' interrupt registration and convert it into 'fast'.

22 years ago - Use (MAXLOGNAME - 1) where UT_NAMESIZE was used to be able to
robert [Mon, 8 Jul 2002 09:08:51 +0000 (09:08 +0000)]
 - Use (MAXLOGNAME - 1) where UT_NAMESIZE was used to be able to
(-)remove the inclusions of <utmp.h>.

22 years ago - Do not include <utmp.h> for no reason.
robert [Mon, 8 Jul 2002 09:02:02 +0000 (09:02 +0000)]
 - Do not include <utmp.h> for no reason.
 - Remove unneeded utmp path constant.

22 years agoCosmetic. Remove #if 0 definition of vtophys() - it predates 4MB pages.
peter [Mon, 8 Jul 2002 08:14:28 +0000 (08:14 +0000)]
Cosmetic.  Remove #if 0 definition of vtophys() - it predates 4MB pages.
Remove avtophys(), it isn't referenced anywhere.

22 years agoAdd a man page. Style comments welcome. I have a bunch-o-new-pages
julian [Mon, 8 Jul 2002 07:51:20 +0000 (07:51 +0000)]
Add a man page. Style comments welcome. I have a bunch-o-new-pages
to add so I might as we find out what I did wrong now :-)

22 years agoSlight changes to reflect some of the changes in -current.
julian [Mon, 8 Jul 2002 07:34:46 +0000 (07:34 +0000)]
Slight changes to reflect some of the changes in -current.
mi_switch(9) is still wildly innacurate. I suggest that every kernel
developer takes 20 minutes a day for the next few days and updates one or
two of his favourite chapter 9 man pages as they are now WAY out of date
in general. I will add a couple of KSE related pages soon.

22 years agoMake cspace()'s second argument const. Make `escapes' in lputs() const.
tjr [Mon, 8 Jul 2002 06:00:55 +0000 (06:00 +0000)]
Make cspace()'s second argument const. Make `escapes' in lputs() const.

22 years agoSilence WARNS=4 by passing a non-const buffer to regerror(). Since it
tjr [Mon, 8 Jul 2002 05:36:24 +0000 (05:36 +0000)]
Silence WARNS=4 by passing a non-const buffer to regerror(). Since it
doesn't actually use the buffer when errbuf_size == 0, pass NULL.

22 years agoAdd a special page zero entry point intended to be called via the single
peter [Mon, 8 Jul 2002 04:24:26 +0000 (04:24 +0000)]
Add a special page zero entry point intended to be called via the single
threaded VM pagezero kthread outside of Giant.  For some platforms, this
is really easy since it can just use the direct mapped region.  For others,
IPI sending is involved or there are other issues, so grab Giant when
needed.

We still have preemption issues to deal with, but Alan Cox has an
interesting suggestion on how to minimize the problem on x86.

Use Luigi's hack for preserving the (lack of) priority.

Turn the idle zeroing back on since it can now actually do something useful
outside of Giant in many cases.

22 years agoGRRR! rc.* cannot do an "exit 0" or it aborts the entire /etc/rc process.
peter [Mon, 8 Jul 2002 04:03:21 +0000 (04:03 +0000)]
GRRR!  rc.* cannot do an "exit 0" or it aborts the entire /etc/rc process.
We do a '. /etc/rc.syscons' - not run it in a seperate shell.

22 years agoDocument TCBHASHSIZE in NOTES and add it to the allowable kernel options.
mp [Mon, 8 Jul 2002 02:53:59 +0000 (02:53 +0000)]
Document TCBHASHSIZE in NOTES and add it to the allowable kernel options.

PR: 32912
Submitted by: Carl Schmidt <carl@slackerbsd.org>
MFC after: 3 days

22 years ago - VT_PSEUDOFS and VT_PROCFS support locking now
jeff [Mon, 8 Jul 2002 01:53:14 +0000 (01:53 +0000)]
 - VT_PSEUDOFS and VT_PROCFS support locking now
 - Remove VBLK from the list of vtypes that are ignored for locking ops.

22 years agos/procrunnable/kserunnable/ in a comment
peter [Mon, 8 Jul 2002 01:52:55 +0000 (01:52 +0000)]
s/procrunnable/kserunnable/ in a comment

22 years agoLock down pseudofs:
jeff [Mon, 8 Jul 2002 01:50:14 +0000 (01:50 +0000)]
Lock down pseudofs:
 - Initialize lock structure in vncache_alloc
 - Return locked vnodes from vncache_alloc
 - Setup vnode op vectors to use default lock, unlock, and islocked
 - Implement simple locking scheme required for lookup

22 years agoRemove OBE prototype for procrunnable()
peter [Mon, 8 Jul 2002 01:49:49 +0000 (01:49 +0000)]
Remove OBE prototype for procrunnable()

22 years agoUse a fixed MAXBSIZE-size auto array instead of a static pointer
iedowse [Mon, 8 Jul 2002 01:25:54 +0000 (01:25 +0000)]
Use a fixed MAXBSIZE-size auto array instead of a static pointer
to a malloc'd buffer in dmpindir() and dirindir(). These functions
recursively call themselves to handle deeper levels of indirect
blocks, so a single static buffer was not suitable.

Bug tracked down by: Don Lewis <dl-freebsd@catspoiler.org>
Approach suggested by: bde

22 years agoAvoid vm_page_lookup() [grabs a spinlock] and just process the upage
peter [Mon, 8 Jul 2002 01:11:10 +0000 (01:11 +0000)]
Avoid vm_page_lookup() [grabs a spinlock] and just process the upage
object memq instead.

Suggested by: alc

22 years agoReplace the use of %qd with intmax_t/%jd and fix a number of -Wall
iedowse [Mon, 8 Jul 2002 00:29:23 +0000 (00:29 +0000)]
Replace the use of %qd with intmax_t/%jd and fix a number of -Wall
and -Wformat warnings:
 o Include timeconv.h for the time conversion functions.
 o Remove unused variables.
 o Correct a few cases where %d was used when printing longs.

22 years agoFix a hideous TLB bug. pmap_unmapdev neglected to remove the device
peter [Mon, 8 Jul 2002 00:17:43 +0000 (00:17 +0000)]
Fix a hideous TLB bug.  pmap_unmapdev neglected to remove the device
mappings from the page tables, which were mapped with PG_G!  We could
reuse the page table entry for another mapping (pmap_mapdev) but it
would never have cleared any remaining PG_G TLB entries.

22 years agoEnable netboot support by default, since it can now coexist with disk and
jake [Sun, 7 Jul 2002 23:08:22 +0000 (23:08 +0000)]
Enable netboot support by default, since it can now coexist with disk and
cdrom support.  This avoids having to distribute separate loaders.

22 years agoCollect all the (now equivalent) pmap_new_proc/pmap_dispose_proc/
peter [Sun, 7 Jul 2002 23:05:27 +0000 (23:05 +0000)]
Collect all the (now equivalent) pmap_new_proc/pmap_dispose_proc/
pmap_swapin_proc/pmap_swapout_proc functions from the MD pmap code
and use a single equivalent MI version.  There are other cleanups
needed still.

While here, use the UMA zone hooks to keep a cache of preinitialized
proc structures handy, just like the thread system does.  This eliminates
one dependency on 'struct proc' being persistent even after being freed.
There are some comments about things that can be factored out into
ctor/dtor functions if it is worth it.  For now they are mostly just
doing statistics to get a feel of how it is working.

22 years agoAdd a hack (kludge?) to avoid trying to access files backed by disk
jake [Sun, 7 Jul 2002 23:01:36 +0000 (23:01 +0000)]
Add a hack (kludge?) to avoid trying to access files backed by disk
devices as though they were backed by network devices.

22 years agoUpdate for post-kse3 pmap kthread allocation changes
peter [Sun, 7 Jul 2002 22:56:31 +0000 (22:56 +0000)]
Update for post-kse3 pmap kthread allocation changes

22 years agoFix (s/proc/thread/) some typos in two panic messages.
peter [Sun, 7 Jul 2002 22:50:41 +0000 (22:50 +0000)]
Fix (s/proc/thread/) some typos in two panic messages.

22 years agoRemove 0 initializers for global/static variables, so they end up in
luigi [Sun, 7 Jul 2002 22:42:57 +0000 (22:42 +0000)]
Remove 0 initializers for global/static variables, so they end up in
BSS instead of DATA. This marginally reduces the kernel image size, though
the difference is almost irrelevant for compressed kernels.

22 years ago - Require locks for getattr. At some point this could only require shared
jeff [Sun, 7 Jul 2002 22:37:45 +0000 (22:37 +0000)]
 - Require locks for getattr.  At some point this could only require shared
   locks.

22 years ago - Delay unlocking a vnode in linker_hints_lookup until we're actually done
jeff [Sun, 7 Jul 2002 22:35:47 +0000 (22:35 +0000)]
 - Delay unlocking a vnode in linker_hints_lookup until we're actually done
   with it.
 - Remove a now stale comment about improper vnode locking.

22 years agoMake this compile on 64 bit platforms
peter [Sun, 7 Jul 2002 22:27:40 +0000 (22:27 +0000)]
Make this compile on 64 bit platforms

22 years agoRemove nfsd and mountd from src/sbin, look for it in src/usr.sbin
gordon [Sun, 7 Jul 2002 22:22:16 +0000 (22:22 +0000)]
Remove nfsd and mountd from src/sbin, look for it in src/usr.sbin

22 years agonfsd and mountd now live in /usr/sbin not /sbin. Correct the command args.
gordon [Sun, 7 Jul 2002 22:19:08 +0000 (22:19 +0000)]
nfsd and mountd now live in /usr/sbin not /sbin. Correct the command args.
This also reduces the diff to NetBSD (very marginally).

Reviewed by: jake (mentor)

22 years agoHook nfsd and mountd back into the build in /usr/sbin, where they make more
gordon [Sun, 7 Jul 2002 22:17:38 +0000 (22:17 +0000)]
Hook nfsd and mountd back into the build in /usr/sbin, where they make more
sense. Since portmap/rpcbind is in /usr/sbin it doesn't make any sense for
nfsd and mountd to be in /sbin.

For the record, NetBSD has them in /usr/sbin while OpenBSD has them in /sbin

PR: bin/30972
Reviewed by: jake (mentor)

22 years agoUnhook sbin/nfsd and sbin/mountd from the build. They will be moving to
gordon [Sun, 7 Jul 2002 22:14:40 +0000 (22:14 +0000)]
Unhook sbin/nfsd and sbin/mountd from the build. They will be moving to
/usr/sbin shortly.

Reviewed by: jake (mentor)

22 years agoMake printval() take a 'void *' thus negating any assumptions the compiler
jmallett [Sun, 7 Jul 2002 21:45:59 +0000 (21:45 +0000)]
Make printval() take a 'void *' thus negating any assumptions the compiler
may try to make about the alignment of the dereferenced datum.

22 years agoChange help documentation for bootfile and module_path to reflect
mp [Sun, 7 Jul 2002 20:40:31 +0000 (20:40 +0000)]
Change help documentation for bootfile and module_path to reflect
the actual code. Both use a ";" (not a ",") to delimit entries.

PR: 39679
Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net>
MFC after: 3 days

22 years ago o Lock accesses to the free queue(s) in vm_page_zero_idle().
alc [Sun, 7 Jul 2002 19:27:57 +0000 (19:27 +0000)]
 o Lock accesses to the free queue(s) in vm_page_zero_idle().

22 years agoMake NEWCARD the default pccard/cardbus system.
imp [Sun, 7 Jul 2002 19:00:00 +0000 (19:00 +0000)]
Make NEWCARD the default pccard/cardbus system.

22 years agoBe more strict with WARNS now -- the GCC 3.1 turmoil is behind us.
obrien [Sun, 7 Jul 2002 18:47:52 +0000 (18:47 +0000)]
Be more strict with WARNS now -- the GCC 3.1 turmoil is behind us.

22 years agoMake building with ficl work. Unfortunately booting with it doesn't.
jake [Sun, 7 Jul 2002 18:23:10 +0000 (18:23 +0000)]
Make building with ficl work.  Unfortunately booting with it doesn't.

22 years agoDon't explicit kill of the process' own pid.
ume [Sun, 7 Jul 2002 18:19:48 +0000 (18:19 +0000)]
Don't explicit kill of the process' own pid.

PR: bin/38862
Submitted by: Martin Faxer <gmh003532@brfmasthugget.se> with some modification
MFC after: 1 week

22 years agoBuild ficl on sparc64 fwiw. It doesn't work.
jake [Sun, 7 Jul 2002 18:10:38 +0000 (18:10 +0000)]
Build ficl on sparc64 fwiw.  It doesn't work.

22 years agos/unavilable/unavailable/
dannyboy [Sun, 7 Jul 2002 18:08:51 +0000 (18:08 +0000)]
s/unavilable/unavailable/

PR: 39446
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
MFC after: 1 day

22 years agoOne #include <sys/lock.h> is enough.
mux [Sun, 7 Jul 2002 18:05:42 +0000 (18:05 +0000)]
One #include <sys/lock.h> is enough.

Submitted by: Olivier Houchard <cognet@ci0.org>

22 years agoFicl wants _setjmp and _longjmp. No need for weak symbols either.
jake [Sun, 7 Jul 2002 18:04:45 +0000 (18:04 +0000)]
Ficl wants _setjmp and _longjmp.  No need for weak symbols either.

22 years agoParaphrase a quote to remove year specific references.
mp [Sun, 7 Jul 2002 16:13:48 +0000 (16:13 +0000)]
Paraphrase a quote to remove year specific references.

PR: 40291
Submitted by: Pierre-Paul Lavoie <ppl@nbnet.nb.ca>

22 years agoRemove a debug output statement.
robert [Sun, 7 Jul 2002 15:29:00 +0000 (15:29 +0000)]
Remove a debug output statement.

22 years ago - Fix the code in sbuf_need() to double the allocation size until
robert [Sun, 7 Jul 2002 15:24:36 +0000 (15:24 +0000)]
 - Fix the code in sbuf_need() to double the allocation size until
   the new content size fits into the sbuf, instead of assuming
   that allocating twice the old size is enough.
 - Use memmove(3) rather than strcpy(3) to copy overlapping
   strings.

PR: bin/39930

22 years agoFix some printf format errors.
iedowse [Sun, 7 Jul 2002 12:30:20 +0000 (12:30 +0000)]
Fix some printf format errors.

Submitted by: Don Lewis <dl-freebsd@catspoiler.org>

22 years agoFix syntax error which occurred when LIBC_SCCS was defined.
robert [Sun, 7 Jul 2002 11:28:28 +0000 (11:28 +0000)]
Fix syntax error which occurred when LIBC_SCCS was defined.

22 years agoSilence pam_lastlog for now.
des [Sun, 7 Jul 2002 10:00:43 +0000 (10:00 +0000)]
Silence pam_lastlog for now.

22 years agoAdd a note about nslookup needing a slightly different version of the
dougb [Sun, 7 Jul 2002 08:41:59 +0000 (08:41 +0000)]
Add a note about nslookup needing a slightly different version of the
command line editing patch in -current and RELENG_4.

22 years agoMake it official. The old BIND Operator's Guide has no information
dougb [Sun, 7 Jul 2002 08:29:00 +0000 (08:29 +0000)]
Make it official. The old BIND Operator's Guide has no information
relevant to operation of a modern name server.

22 years agoAnother update from Mike Makonnen.
dougb [Sun, 7 Jul 2002 08:00:31 +0000 (08:00 +0000)]
Another update from Mike Makonnen.

Missed by: Me

22 years ago - Use 'options DEBUG_VFS_LOCKS' instead of the DEBUG_ALL_VFS_LOCKS
jeff [Sun, 7 Jul 2002 06:39:36 +0000 (06:39 +0000)]
 - Use 'options DEBUG_VFS_LOCKS' instead of the DEBUG_ALL_VFS_LOCKS
   environment variable to enable the lock verifiction code.

22 years ago - Don't hold the vn lock while calling VOP_CLOSE in vclean().
jeff [Sun, 7 Jul 2002 06:38:22 +0000 (06:38 +0000)]
 - Don't hold the vn lock while calling VOP_CLOSE in vclean().

22 years ago o Traverse the object's memq rather than repeatedly calling vm_page_lookup()
alc [Sun, 7 Jul 2002 06:01:25 +0000 (06:01 +0000)]
 o Traverse the object's memq rather than repeatedly calling vm_page_lookup()
   in vm_object_split().

22 years ago - BUF_REFCNT() seems to be the preferred method for verifying a locked buf.
jeff [Sun, 7 Jul 2002 05:29:45 +0000 (05:29 +0000)]
 - BUF_REFCNT() seems to be the preferred method for verifying a locked buf.
   Tell vop_strategy_pre() to use this instead.
 - Ignore B_CLUSTER bufs.  Their components are locked but they don't really
   exist so they don't have to be.  This isn't ideal but it is safe.

22 years agoAdd two asserts that prove & document getblk and geteblk's behavior of
jeff [Sun, 7 Jul 2002 05:27:08 +0000 (05:27 +0000)]
Add two asserts that prove & document getblk and geteblk's behavior of
returning locked bufs.

22 years agoLatest improvements from Mike Makonnen. Better kerberos and apm handling.
dougb [Sun, 7 Jul 2002 04:16:53 +0000 (04:16 +0000)]
Latest improvements from Mike Makonnen. Better kerberos and apm handling.

22 years agoSynchronize path with dot.cshrc by adding /usr/local/sbin.
mp [Sun, 7 Jul 2002 00:00:54 +0000 (00:00 +0000)]
Synchronize path with dot.cshrc by adding /usr/local/sbin.

PR:             26720
Submitted by:   Rob Simmons <rsimmons@wumpus.wlcg.com>
MFC after: 1 week

22 years ago - Hold a lock on the vnode acquired from the file table across the call to
jeff [Sat, 6 Jul 2002 22:14:38 +0000 (22:14 +0000)]
 - Hold a lock on the vnode acquired from the file table across the call to
   vm_mmap() as well as the GETATTR etc.
 - If the handle is a vnode in vm_mmap() assert that it is locked.
 - Wiggle Giant around a little to account for the extra vnode operation.

22 years agoFix a mistake in my last commit. Don't grab an extra reference to the object
jeff [Sat, 6 Jul 2002 21:27:20 +0000 (21:27 +0000)]
Fix a mistake in my last commit.  Don't grab an extra reference to the object
in bp->b_object.

22 years agosec-doc.7 has been repo-copied to sdoc.7 to be consistent with sprog.7.
chris [Sat, 6 Jul 2002 20:30:29 +0000 (20:30 +0000)]
sec-doc.7 has been repo-copied to sdoc.7 to be consistent with sprog.7.

Sponsored by: DARPA, NAI Labs

22 years agoRemove the nanosleep calls from the spin loops in the locking code.
jdp [Sat, 6 Jul 2002 20:25:56 +0000 (20:25 +0000)]
Remove the nanosleep calls from the spin loops in the locking code.
They provided little benefit (if any) and they caused some problems
in OpenOffice, at least in post-KSE -current and perhaps in other
environments too.  The nanosleep calls prevented the profiling timer
from advancing during the spinloops, thereby preventing the thread
scheduler from ever pre-empting the spinning thread.  Alexander
Kabaev diagnosed this problem, Martin Blapp helped with testing,
and Matt Dillon provided some helpful suggestions.

This is a short-term fix for a larger problem.  The use of spinlocking
isn't guaranteed to work in all cases.  For example, if the spinning
thread has higher priority than all other threads, it may never be
pre-empted, and the thread holding the lock may never progress far
enough to release the lock.  On the other hand, spinlocking is the
only locking that can work with an arbitrary unknown threads package.

I have some ideas for a much better fix in the longer term.  It
would eliminate all locking inside the dynamic linker by making it
safe for symbol lookups and lazy binding to proceed in parallel
with a call to dlopen or dlclose.  This means that the only mutual
exclusion needed would be to prevent multiple simultaneous calls
to dlopen and/or dlclose.  That mutual exclusion could be put into
the native pthreads library.  Applications using foreign threads
packages would have to make their own arrangements to ensure that
they did not have multiple threads in dlopen and/or dlclose -- a
reasonable requirement in my opinion.

MFC after: 3 days

22 years agoNew release note: kbdmap(1)/vidfont(1) C rewrite.
bmah [Sat, 6 Jul 2002 19:42:39 +0000 (19:42 +0000)]
New release note:  kbdmap(1)/vidfont(1) C rewrite.

Changed release notes:  KSE (rewrite and status update), Binutils
2.12.1 (20020622 snapshot).

MFCs noted:  libpcap-0.7.1, tcpdump-3.7.1, OpenSSH through 3.4p1.

Also retroactively note some OpenSSH items as MFC-ed and historic.
I'm not sure when these were merged, but I'm pretty sure it was a long
time ago.

22 years agoThe .Nm utility.
charnier [Sat, 6 Jul 2002 19:35:14 +0000 (19:35 +0000)]
The .Nm utility.

22 years agoThe .Nm utility. Add FreeBSD Id.
charnier [Sat, 6 Jul 2002 19:34:37 +0000 (19:34 +0000)]
The .Nm utility. Add FreeBSD Id.

22 years agoThe .Nm utility
charnier [Sat, 6 Jul 2002 19:34:18 +0000 (19:34 +0000)]
The .Nm utility

22 years agoThe .Nm utility
charnier [Sat, 6 Jul 2002 19:19:48 +0000 (19:19 +0000)]
The .Nm utility

22 years agoThe .Nm utility
charnier [Sat, 6 Jul 2002 19:13:21 +0000 (19:13 +0000)]
The .Nm utility

22 years agoCleanup after my de-__P (remove leading whitespace before prototype args).
alfred [Sat, 6 Jul 2002 16:34:32 +0000 (16:34 +0000)]
Cleanup after my de-__P (remove leading whitespace before prototype args).
Add newlines after function return types in function declarations.

Approved by: wpaul (a long time ago)

22 years agoCleanup after my de-__P (remove leading whitespace before prototype args).
alfred [Sat, 6 Jul 2002 15:59:57 +0000 (15:59 +0000)]
Cleanup after my de-__P (remove leading whitespace before prototype args).
Add newlines after function return types in function declarations.

Approved by: wpaul (a long time ago)

22 years agoPart 2/2 of the kerberos5/doc/ "make release" breakage fix:
ru [Sat, 6 Jul 2002 15:00:07 +0000 (15:00 +0000)]
Part 2/2 of the kerberos5/doc/ "make release" breakage fix:

Make sure the "krb5" does not have the /usr/share/info/dir,
or it will clobber the "base" version on install.

22 years agoPart 1/2 of kerberos5/doc/ "make release" breakage fix:
ru [Sat, 6 Jul 2002 14:58:20 +0000 (14:58 +0000)]
Part 1/2 of kerberos5/doc/ "make release" breakage fix:

Finish the fix of rev. 1.28 changes in rev. 1.47 (removed
gross dir file bootstrap rule again).

22 years agoFix wrong use of ACPI_NO_UNIT_LIMIT which is for as_maxunits, not as_units.
iwasaki [Sat, 6 Jul 2002 13:59:59 +0000 (13:59 +0000)]
Fix wrong use of ACPI_NO_UNIT_LIMIT which is for as_maxunits, not as_units.

22 years agoFixup uses of GETVOBJECT.
jeff [Sat, 6 Jul 2002 08:59:52 +0000 (08:59 +0000)]
Fixup uses of GETVOBJECT.

 - Cache a pointer to the vnode's object in the buf.
 - Hold a reference to that object in addition to the vnode's reference just
   to be consistent.
 - Cleanup code that got the object indirectly through the vp and VOP calls.

This fixes at least one case where we were calling GETVOBJECT without a lock.
It also avoids an expensive layered call at the cost of another pointer in
struct buf.

22 years agomake this repect ps_sigintr if there is a pre-existing signal
julian [Sat, 6 Jul 2002 08:47:24 +0000 (08:47 +0000)]
make this repect ps_sigintr if there is a pre-existing signal
or suspension request.

Submitted by: David Xu

22 years agoClean up execve locking:
jeff [Sat, 6 Jul 2002 07:00:01 +0000 (07:00 +0000)]
Clean up execve locking:

 - Grab the vnode object early in exec when we still have the vnode lock.
 - Cache the object in the image_params.
 - Make use of the cached object in imgact_*.c

22 years ago - Disable original vop_strategy lock specification.
jeff [Sat, 6 Jul 2002 05:23:17 +0000 (05:23 +0000)]
 - Disable original vop_strategy lock specification.
 - Switch to the new vop_strategy_pre for lock validation.

VOP_STRATEGY requires only that the buf is locked UNLESS the block numbers need
to be translated.  There may be other reasons, but as long as the underlying
layer uses a VOP to perform the operations they will be caught later.

22 years ago - Add vop_strategy_pre to validate VOP_STRATEGY locking.
jeff [Sat, 6 Jul 2002 05:21:12 +0000 (05:21 +0000)]
 - Add vop_strategy_pre to validate VOP_STRATEGY locking.
 - Disable original vop_strategy lock specification.
 - Switch to the new vop_strategy_pre for lock validation.

VOP_STRATEGY requires only that the buf is locked UNLESS the block numbers need
to be translated.  There may be other reasons, but as long as the underlying
layer uses a VOP to perform the operations they will be caught later.

22 years agoUse the new #! directive for vop_rename. Leave the old lock specification
jeff [Sat, 6 Jul 2002 04:41:27 +0000 (04:41 +0000)]
Use the new #! directive for vop_rename.  Leave the old lock specification
intact but disabled.

22 years agoAdd "vop_rename_pre" to do pre rename lock verification. This is enabled only
jeff [Sat, 6 Jul 2002 04:39:48 +0000 (04:39 +0000)]
Add "vop_rename_pre" to do pre rename lock verification.  This is enabled only
with DEBUG_VFS_LOCKS.

22 years agoAdd a new configuration directive that inserts calls to debugging functions
jeff [Sat, 6 Jul 2002 03:46:36 +0000 (03:46 +0000)]
Add a new configuration directive that inserts calls to debugging functions
in the VOP inlines.  This is intended to replace the simple locking
specifications for calls that have more complicated behavior such as rename and
lookup.

The syntax of the new entries is:
#! name pre/post function

If the function is marked 'pre' it is executed prior to calling the VOP and
takes a pointer to a struct vop_{name}_args as it's only parameter.

If the function is marked 'post' it is executed after the VOP call and takes
a pointer to a struct vop_{name}_args as it's first parameter and the integer
return value from the vop as the second paramter.

22 years agoMake space for compilations.
obrien [Sat, 6 Jul 2002 02:49:07 +0000 (02:49 +0000)]
Make space for compilations.

22 years ago Fix at least one of the things wrong with signals
julian [Sat, 6 Jul 2002 02:45:11 +0000 (02:45 +0000)]
 Fix at least one of the things wrong with signals
 ^Z should work a lot better now.

Submitted by: peter@freebsd.org

22 years agoRemove the advertising clause from the Duke BSD copyright on the
gallatin [Sat, 6 Jul 2002 02:44:15 +0000 (02:44 +0000)]
Remove the advertising clause from the Duke BSD copyright on the
zero-copy files

Requested by: rwatson
Approved by: Jeff Chase (my old boss at Duke)

22 years agoWe don't need to hit the user over the head so strong now that we've
obrien [Sat, 6 Jul 2002 01:07:48 +0000 (01:07 +0000)]
We don't need to hit the user over the head so strong now that we've
fixed all the known warnings suffiently to not require NO_WERROR.

Ok'ed by: peter

22 years agoRemove bogus vm_page_wakeup() in vm_page_cowfault() that will cause panics
gallatin [Fri, 5 Jul 2002 23:33:27 +0000 (23:33 +0000)]
Remove bogus vm_page_wakeup() in vm_page_cowfault() that will cause panics
in the zero-copy send path if a process attempts to write to a page
which is still in flight.

reviewed by: ken

22 years agoImplement the last 2-3 missing instructions for ipfw,
luigi [Fri, 5 Jul 2002 22:43:06 +0000 (22:43 +0000)]
Implement the last 2-3 missing instructions for ipfw,
now it should support all the instructions of the old ipfw.

Fix some bugs in the user interface, /sbin/ipfw.

Please check this code against your rulesets, so i can fix the
remaining bugs (if any, i think they will be mostly in /sbin/ipfw).

Once we have done a bit of testing, this code is ready to be MFC'ed,
together with a bunch of other changes (glue to ipfw, and also the
removal of some global variables) which have been in -current for
a couple of weeks now.

MFC after: 7 days

22 years agoFix a lock order reversal in uma_zdestroy. The uma_mtx needs to be held across
jeff [Fri, 5 Jul 2002 21:39:52 +0000 (21:39 +0000)]
Fix a lock order reversal in uma_zdestroy.  The uma_mtx needs to be held across
calls to zone_drain().

Noticed by: scottl

22 years agoMerge rev 1.2 (FreeBSD a.out configuration support) into the
obrien [Fri, 5 Jul 2002 20:44:29 +0000 (20:44 +0000)]
Merge rev 1.2 (FreeBSD a.out configuration support) into the
Binutils 2.12_20020622 snap.

22 years agoUse the stock 2.12.1 snapshot version of this.
obrien [Fri, 5 Jul 2002 20:42:13 +0000 (20:42 +0000)]
Use the stock 2.12.1 snapshot version of this.

22 years agoUse the stock version of this.
obrien [Fri, 5 Jul 2002 20:37:36 +0000 (20:37 +0000)]
Use the stock version of this.

22 years agoBring the binutils_2_12_20020622 snap version of this to the HEAD branch.
obrien [Fri, 5 Jul 2002 20:36:17 +0000 (20:36 +0000)]
Bring the binutils_2_12_20020622 snap version of this to the HEAD branch.

22 years agoWe use the stock version of this file as in rev 1.4.
obrien [Fri, 5 Jul 2002 20:35:38 +0000 (20:35 +0000)]
We use the stock version of this file as in rev 1.4.

22 years agoWe use the stock version of this file.
obrien [Fri, 5 Jul 2002 20:34:21 +0000 (20:34 +0000)]
We use the stock version of this file.

22 years agoMerge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.12_20020622 snap.
obrien [Fri, 5 Jul 2002 20:32:42 +0000 (20:32 +0000)]
Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.12_20020622 snap.

22 years agoMerge our ELF branding into Binutils 2.12_20020622 snapshot.
obrien [Fri, 5 Jul 2002 20:30:48 +0000 (20:30 +0000)]
Merge our ELF branding into Binutils 2.12_20020622 snapshot.
(note that this will be the last Binutils update to offer our original
method of ELF branding (WANT_OLD_BRANDELF_METHOD))

22 years agoThis commit was generated by cvs2svn to compensate for changes in r99461,
obrien [Fri, 5 Jul 2002 20:16:34 +0000 (20:16 +0000)]
This commit was generated by cvs2svn to compensate for changes in r99461,
which included commits to RCS files with non-trunk default branches.

22 years agoImport of Binutils from the FSF 2.12 branch (just post-.1 release).
obrien [Fri, 5 Jul 2002 20:16:34 +0000 (20:16 +0000)]
Import of Binutils from the FSF 2.12 branch (just post-.1 release).
These bits are taken from the FSF anoncvs repo on 22-June-2002 23:28:00 EDT.

22 years agodd %i as an alias for %d for greater compatibility with our *BSD bretheren
imp [Fri, 5 Jul 2002 18:36:49 +0000 (18:36 +0000)]
dd %i as an alias for %d for greater compatibility with our *BSD bretheren

Obtained from: NetBSD
Reviewed by: jake, rwatson, bosko