Jeff Roberson
c944ebed73
- Lock access to the buf lists in spec_sync()
...
- Fixup interlock locking in spec_close()
2002-09-25 02:29:49 +00:00
Jeff Roberson
75cabb639a
- Hold the vp lock while accessing v_vflags.
2002-09-25 02:28:07 +00:00
Jeff Roberson
6cb8bf2027
- Lock down the syncer with sync_mtx.
...
- Enable vfs_badlock_mutex by default.
- Assert that the vp is locked in VOP_UNLOCK.
- Use standard interlock macros in remaining code.
- Correct a race in getnewvnode().
- Lock access to v_numoutput with interlock.
- Lock access to buf lists and splay tree with interlock.
- Add VOP and VI asserts.
- Lock b_vnbufs with the vnode interlock.
- Add vrefcnt() for callers who want to retreive the vnode ref without
holding a lock. Add a comment that describes when this is safe.
- Add vholdl() and vdropl() so that callers who already own the interlock
can avoid race conditions and unnecessary unlocking.
- Move the VOP_GETATTR() in vflush() into the WRITECLOSE conditional case.
- Hold the interlock before droping the mntlist_mtx in vflush() to avoid
a race.
- Fix locking in vfs_msync().
2002-09-25 02:22:21 +00:00
Jeff Roberson
d40a8125f5
- Properly lock v_vflags in getdirents().
2002-09-25 02:13:38 +00:00
Jeff Roberson
d64370cb30
- Use incore() where no other interlock locking is necessary.
...
- Lock access to numoutput.
2002-09-25 02:12:32 +00:00
Jeff Roberson
b7227b7712
- Lock accesses to v_numoutput.
...
- Lock calls to gbincore.
2002-09-25 02:11:37 +00:00
Garrett Wollman
dcbfb460ca
Back down to 1003.2-1992 for the time being -- it is causing too many
...
headaches for common but deprecated uses of standard utilities.
2002-09-25 01:58:56 +00:00
Jeff Roberson
609058e884
- Don't protect mountedhere with the vn interlock.
...
- Protect mountedhere with the vn lock.
2002-09-25 01:44:21 +00:00
Jeff Roberson
3cc511c528
- Use the standard vp interlock macros.
2002-09-25 01:42:24 +00:00
Jeff Roberson
9a0a3322af
- Finish the struct vnode lock annotation.
...
- Order fields by what lock is required to access them.
2002-09-25 01:37:25 +00:00
Jeff Roberson
3ef3e7c42b
- Get rid of the unused LK_NOOBJ.
2002-09-25 01:24:58 +00:00
Jeff Roberson
6a2eac8acc
- Lock access to numoutput on the swap devices.
2002-09-25 01:24:17 +00:00
Jeff Roberson
63e7e60dba
- Add a ASSERT_VOP_LOCKED in vnode_pager_alloc.
...
- Lock access to v_iflags.
2002-09-25 01:23:43 +00:00
Jake Burkholder
7576c7c9c2
Removed debug code.
2002-09-25 01:13:46 +00:00
Jake Burkholder
338ca1a4ef
Pass the function to call (trap or syscall) to tl0_trap and tl1_trap in %o2.
2002-09-25 00:26:04 +00:00
Jake Burkholder
9bf558ba57
Rearrange tl1_trap slightly, also save and restore the out registers so
...
that instruction emulation is possible in kernel mode.
2002-09-24 23:22:42 +00:00
Paul Saab
a7d681929a
Add some PCI id's for fxp. I've only tested 0x103B, but the Intel
...
Linux driver defines 0x103[B-E] so add those as well.
Obtained from: Intel Linux e100 driver
MFC: Immediately if re@ allows it, otherwise after 4.7-RELEASE
2002-09-24 23:13:38 +00:00
Mike Barcroft
ac53b225bb
Get howmany() macro from <sys/param.h>, instead of depending on its
...
existence in <sys/types.h>.
2002-09-24 22:30:56 +00:00
Jake Burkholder
a3eed4ea5e
Allocate stack space for the trapframe along with the normal register
...
frame in the save instruction, rather than doing a separate sub.
2002-09-24 22:19:20 +00:00
Matt Jacob
301472c20b
Code cleanup: use mpt_prt instead of device_printf.
2002-09-24 21:33:43 +00:00
John Baldwin
660e41d37f
Remove all mention of MTX_NOSWITCH. It was obsoleted a long time ago.
2002-09-24 20:45:58 +00:00
Andrey A. Chernov
bf3c8a5270
Use POSIX-style sort syntax in example
2002-09-24 20:15:11 +00:00
Andrey A. Chernov
94ac52db2a
Make it works with POSIX sort (POS arg)
...
All old sorts understand -k too.
2002-09-24 20:10:59 +00:00
Andrey A. Chernov
6fd04a1f52
Make it works with POSIX sort (POS arg)
...
All old sorts understand -k too.
2002-09-24 20:05:01 +00:00
Andrey A. Chernov
55ca7e1fcf
Set _POSIX2_VERSION=199209 before calling MKkey_defs.sh as workaround of
...
obsolete +POS sort syntax.
2002-09-24 19:55:37 +00:00
Tony Finch
36076c1e7b
The spec says that unifdefall removes all #ifs, and this now requires
...
the -k flag to unifdef.
2002-09-24 19:50:03 +00:00
Tony Finch
981dbf5bac
The readability is improved by reducing the use of the passive voice.
...
No changes to the meaning are made.
2002-09-24 19:48:39 +00:00
Tony Finch
352d0a6932
It is probably a bad idea to unconditionally process directives with
...
constant controlling expressions: in particular, removing #if 0 sections
is considered "rude". This commit changes the default so that such
things are passed through unchanged, and the old behaviour can be had
with the -k "kill konsts" flag.
Suggested by: markm
MFC after: 3 weeks
2002-09-24 19:27:44 +00:00
Andrey A. Chernov
73be6d69ef
Make it work with POSIX sort (POS arg).
...
All old sorts understand -k too.
2002-09-24 19:05:40 +00:00
Jens Schweikhardt
334a0d61e1
Correct the description of what fortunes get installed (by default, also the
...
offensive ones). Make it clear that datfiles/Makefile needs to be edited in
case someone wants it otherwise.
PR: misc/36153
Submitted by: Nick Jennings <nick@namodn.com>
X-MFC after: 4.7 is out the door.
2002-09-24 19:00:52 +00:00
Andrey A. Chernov
15897030c6
Make it work with POSIX sort (POS arg).
...
All old sorts understand -k too.
2002-09-24 18:53:46 +00:00
Andrey A. Chernov
197442ec02
Make it work with POSIX sort (POS arg)
...
All old sorts understand -k too.
2002-09-24 18:16:36 +00:00
Brooks Davis
06204d34a8
Convert most printf()s to if_printf()s.
2002-09-24 17:37:32 +00:00
Brooks Davis
fa882e87a5
Add a new helper function if_printf() modeled on device_printf(). The
...
function takes a struct ifnet pointer followed by the usual printf
arguments and prints "<interfacename>: " before the results of printf.
Since this is the primary form of printf calls in network device drivers
and accounts for most uses of the ifnet menber if_unit, this
significantly simplifies many printf()s.
2002-09-24 17:35:08 +00:00
Mike Barcroft
be6180cf89
Add forgotten <sys/_types.h> include. Fix some style bugs while I'm
...
here.
PR: 43326
2002-09-24 17:28:12 +00:00
Hajimu UMEMOTO
b838ab7c19
Mention about how to build sendmail with SASLv2.
2002-09-24 17:07:37 +00:00
Jake Burkholder
e191c83fd4
Split user trap processing out into a separate routine so that traps which
...
never result in user traps don't have to plow through it.
2002-09-24 16:42:18 +00:00
Prafulla Deuskar
587edcdc95
Corrected license in the source files. It should say "MUST" instead of "MAY".
...
MFC after: 2 days
2002-09-24 16:27:59 +00:00
Mark Murray
3e2d217cd3
Fix some bitrotted documentation.
2002-09-24 13:34:36 +00:00
Tim J. Robbins
03ab141313
Warn when setinvalidrune() is referenced for consistency with the rest
...
of the rune functions (except sgetrune() and sputrune(), which are really
macros).
2002-09-24 09:25:37 +00:00
Tim J. Robbins
38b5abad06
Add cross-references between wide character and single-byte character
...
versions of printf() and scanf().
2002-09-24 09:22:47 +00:00
Tim J. Robbins
89265cb899
Remove an unneeded call to _sfrefill() that was missed in the conversion
...
from vfscanf() to vfwscanf(). It doesn't hurt to have it there, but it's
redundant since __fgetwc() will refill the buffer if it needs to.
2002-09-24 09:18:32 +00:00
Jonathan Mini
044af7c357
Back out last commit. Linux uses the old 4.3BSD sockaddr format.
2002-09-24 07:03:01 +00:00
Kirk McKusick
c18ef4c018
Add support to fsck_ffs to account for storage for extended
...
attributes.
Sponsored by: DARPA & NAI Labs.
2002-09-24 05:18:17 +00:00
Yoshihiro Takahashi
ecf15560c7
MFi386: revisions 1.127, 1.128 and 1.129.
2002-09-24 03:17:38 +00:00
Warner Losh
679aabee94
OLDCARD -> NEWCARD
...
pccbb -> cbb
PR: 43263
2002-09-24 02:55:33 +00:00
Warner Losh
f0e8cf0d26
Two new majors. devd and watchdog
2002-09-24 02:46:46 +00:00
Yoshihiro Takahashi
9601a29654
Move the com_emr register definition to sioreg.h.
2002-09-24 02:35:57 +00:00
Yoshihiro Takahashi
1577b9e6dd
Merged from sys/dev/sio/sio.c revision 1.379.
2002-09-24 02:26:55 +00:00
Yoshihiro Takahashi
fb82e755e5
MFi386: revisions 1.536 and 1.538.
2002-09-24 02:22:35 +00:00