Jeff Roberson
88cf6b94bd
- If vn_lock fails with the LK_INTERLOCK flag set, interlock will not be
...
released. vcanrecycle() failed to unlock interlock under this condition.
- Remove an extra VOP_UNLOCK from a failure case in vcanrecycle().
Pointed out by: rwatson
2002-08-21 06:40:34 +00:00
Jeff Roberson
71ea4ba57c
- Add two new debugging macros: ASSERT_VI_LOCKED and ASSERT_VI_UNLOCKED
...
- Use the new VI asserts in place of the old mtx_assert checks.
- Add the VI asserts to the automated lock checking in the VOP calls. The
interlock should not be held across vops with a few exceptions.
- Add the vop_(un)lock_{pre,post} functions to assert that interlock is held
when LK_INTERLOCK is set.
2002-08-21 06:19:29 +00:00
Luigi Rizzo
f0ac20f7d2
Whoops, the manpage lied... ipfw2 has always accepted addr:mask
...
specifications.
2002-08-21 05:57:41 +00:00
Warner Losh
34c947d8b6
When setting the WI_RID_ENCRYPTION mode, we have to conditionally
...
set EXCLUDE_UNENCRYPTED if we're not in OPEN mode (or if we are a
symbol card).
Obtained from: OpenBSD (looks like a millert@ special)
2002-08-21 05:57:37 +00:00
Warner Losh
87c397af5c
comment about the magic number -149
2002-08-21 05:35:51 +00:00
Warner Losh
abc38e4485
Treat IBSS the same as ADHOC in wi_get_cur_ssid. This makes ifconfig
...
work better, but might not make ibss actually work on the prism2 cards
that I have (this is the first time I've tried ibss in a long time).
2002-08-21 05:31:04 +00:00
Jeff Roberson
856d3a056f
- Hold the vnode lock across unlink() so that the v_vflag check is safe.
...
- Fix the long broken error handling for VV_ROOT and VDIR.
2002-08-21 03:55:35 +00:00
Archie Cobbs
613744fcb4
Keep subdirectory list sorted.
2002-08-20 23:58:49 +00:00
Matt Jacob
7104aeef01
A chunk of cleanup, both stylistic and substantive.
...
We now also read configuration information for the SCSI cards- this allows
us to try and say what the speed settings now are.
Start, but not yet complete, the process of reorgs && #defines so that we
can backport to RELENG_4 pretty soon.
2002-08-20 23:04:08 +00:00
Tim J. Robbins
71f9b42067
Restrict visibility of wcwidth() and wcswidth(); they are XSI extensions.
2002-08-20 22:44:40 +00:00
Archie Cobbs
a9c61b3dfc
Add ng_l2tp module.
2002-08-20 22:03:57 +00:00
Archie Cobbs
97cbe82b40
Man page for new L2TP netgraph node type.
...
Obtained from: Packet Design
2002-08-20 22:00:56 +00:00
Archie Cobbs
901fadf792
New L2TP netgraph node type.
...
Obtained from: Packet Design
2002-08-20 21:59:50 +00:00
Alfred Perlstein
0f6f01c07b
Fix url for wordlists.
...
PR: docs/41830
2002-08-20 21:41:14 +00:00
Johan Karlsson
72abe188fb
Take care of WARNS=3 warnings by using unsigned/signed variable
...
as needed.
Approved by: ken, sheldonh (mentor)
2002-08-20 20:54:03 +00:00
John Baldwin
004998bc66
Whitespace and style fixes.
...
Submitted by: bde
2002-08-20 19:50:30 +00:00
Archie Cobbs
0157ee2275
When declaring local variables in macros, always use "_name" instead
...
of "name" to avoid ugly problems when the containing code already has
a variable named "name".
2002-08-20 18:57:11 +00:00
Hajimu UMEMOTO
6921d421ae
Previous commit of adding ut to xterm entry broke kterm-color entry.
...
3 bytes (ut:) seems too long for kterm-color. There is a limitation
of buffer size within 1024 bytes in our ncurses.
Submitted by: mistral@imasy.or.jp
Reviewed by: matusita
MFC after: 1 day
2002-08-20 16:38:05 +00:00
Ollivier Robert
d3acd1e834
Fix buildworld breakage.
...
Pointy hat: phk
2002-08-20 15:58:44 +00:00
Andrey A. Chernov
8011a282e0
Document SWIDTH*
2002-08-20 15:19:34 +00:00
Yaroslav Tykhiy
b1d8d5cdd9
Clean up hostname and hostinfo handling in inithosts():
...
o check getaddrinfo(3) return value, not result pointer
o getaddrinfo(3) returns int, not pointer
o don't leak memory allocated for hostnames and hostinfo structures
o initialize pointers that will be checked for NULL somewhere
MFC after: 1 week
2002-08-20 14:56:06 +00:00
Jens Schweikhardt
d4bbfee298
Insert missing 'are' to fix grammar bogon.
...
MFC after: 3 days
2002-08-20 14:43:10 +00:00
Yoshihiro Takahashi
48093d339b
Remove duplicate vinum entry.
2002-08-20 14:41:44 +00:00
Yoshihiro Takahashi
dacea73d13
Merged from sys/dev/syscons/syscons.c revisions 1.386 and 1.387.
2002-08-20 14:39:29 +00:00
Maxime Henrion
579bb37015
Use the __BUS_ACCESSOR macro for NEXUS_ACCESSOR
...
instead of rolling our own implementation.
Reviewed by: tmm
2002-08-20 13:50:17 +00:00
Ruslan Ermilov
4612010cdd
Allow embedded :' and
!' in target names.
...
PR: bin/6612
Obtained from: OpenBSD
MFC after: 1 week
2002-08-20 12:50:32 +00:00
Maxime Henrion
6527574b75
- Use the __BUS_ACCESSOR macro for EISA_ACCESSOR instead
...
of reimplementing it.
- #undef EISA_ACCESSOR after use like we do for other accessors.
Reviewed by: tmm
2002-08-20 12:32:06 +00:00
Poul-Henning Kamp
7428de69d2
Implement list of EA return functionality.
...
Correctly delete EA's when the content length is set to zero.
Sponsored by: DARPA & NAI Labs.
2002-08-20 11:34:58 +00:00
Poul-Henning Kamp
8453c174a1
Be consistent about quoting things.
...
Be (somewhat) prepared for things to change size under us.
Recognize a empty attribute name as magic and print the list of attributes.
Use <err.h> for code clarity.
Deal with zero length returns.
Sponsored by: DARPA & NAI Labs.
2002-08-20 11:33:25 +00:00
Ruslan Ermilov
81c0610313
Allow one to override ${MINSTALL} in /etc/make.conf.
...
Prompted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
2002-08-20 11:11:37 +00:00
Orion Hodson
2296709020
Back out last commit. Needs slightly more subtle handling.
2002-08-20 08:02:56 +00:00
Scott Long
c8eeea2ffc
Remove the possibility of a race condition when reading the . and ..
...
entries.
2002-08-20 04:46:59 +00:00
Scott Long
95ec5961f6
Don't abuse the stack when translating names.
2002-08-20 04:46:04 +00:00
Jun Kuriyama
ba77aa0d56
Merge changes in GENERIC to reduce difference (mostly cosmetic).
2002-08-20 04:36:31 +00:00
Tim J. Robbins
7d77551c77
Add a manual page for wcwidth().
2002-08-20 03:42:21 +00:00
Tim J. Robbins
c8e804757d
Add a manual page for wcswidth().
2002-08-20 03:40:45 +00:00
David E. O'Brien
1c8deadc52
Use mv -f. Otherwise if you accidently build as root, and then as a user,
...
it keeps asking you if you want to overwrite it or not.
Submitted by: peter
2002-08-20 03:06:30 +00:00
Robert Watson
740348c40a
Prefer NULL to 0 when passing a NULL pointer.
2002-08-20 02:54:09 +00:00
Robert Watson
8a97ecf648
Provide stub mpo_syscall() implementations for mac_none and mac_test.
...
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-08-20 02:53:35 +00:00
Robert Watson
0a9b91cde1
Correct one more errant whitespace nit that crept in during changes
...
in the arguments to vn_rdwr(). Hopefully the last.
2002-08-20 02:21:38 +00:00
Robert Watson
b4edfededd
Handle one more case of a fifofs filetmp: set filetmp.f_cred to
...
ap->a_cred, and pass in ap->a_td->td_ucred as the active_cred to
soo_poll().
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-08-20 02:17:59 +00:00
Andrey A. Chernov
353450fbbe
Move just committed version of wcswidth.c here (from "locale"),
...
a bit optimized now.
2002-08-20 02:06:28 +00:00
Andrey A. Chernov
c1a0a78d00
Remove wcswidth.c from here (and move it to "string")
2002-08-20 01:59:26 +00:00
Andrey A. Chernov
8077fafd28
Remove space at the end of continuation line in prev. commit
2002-08-20 01:16:06 +00:00
Peter Wemm
66efd5f568
Untangle this warning a bit:
...
COMPAT_SVR4 is broken and usage is, until fixed, not recommended
BTW; does anybody remember why this is here?
2002-08-20 00:29:16 +00:00
Marcel Moolenaar
ecfdc2e0cd
Add support for the R_IA64_IPLTLSB relocation in non-PLT context.
...
This relocation creates a function descriptor at the specified
address and is commonly used for C++ to create virtual function
tables.
2002-08-20 00:24:33 +00:00
Gordon Tetlow
4642178fcc
Print out a carriage return to make the screen output make more sense
...
Submitted by: mike@
2002-08-20 00:14:11 +00:00
Peter Wemm
f453022cd9
remove unit counts from atkbdc, pckbd, sc
2002-08-20 00:10:22 +00:00
Peter Wemm
ca9cc66fbd
de-count pcbkd
2002-08-20 00:09:16 +00:00
Peter Wemm
ae05c598e1
de-count pckbd for pc98. This file is only compiled if NPCKBD was 1,
...
so the conditional compile should never have been used.
2002-08-20 00:05:41 +00:00