harti
4e0c48e6b2
Var_Parse: Separate different error states by introducing an else block
...
after a return. Move assignments to {freePtr, dynamic, start} closer to the
return statements to clarify which variables are actually used for
communication between the losely coupled blocks of the code. Clear up
an if-expression to make common structures of the conditions clearer.
Use strchr instead of switch statements to check for a character beeing
a member of a set.
Patches: 7-62.2, 7-62.3, 7-64, 7-65.1, 7-65.2
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-24 16:05:45 +00:00
nyan
8e982916de
Fix to support Buffalo HYPERMEMORY.
...
Submitted by: Chiharu Shibata
MFC after: 3 days
2005-02-24 13:15:05 +00:00
maxim
61170056d6
o Move ifcr_count sanity check up and reject negative values before we
...
panic at kmem_alloc() via malloc(9).
PR: kern/77748
Submitted by: Wojciech A. Koszek
OK'ed by: brooks
Security: local DoS, a sample code in the PR.
MFC after: 3 days
2005-02-24 13:14:41 +00:00
harti
2aa59c2f63
Push assignments to just before the returns from the function to
...
get it clearer what variables are actually needed.
Patches: 7.62.2, 7.62.3
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-24 10:35:39 +00:00
harti
06004c6dc3
Fix wording of a comment.
...
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-24 10:30:23 +00:00
harti
a0efca0f99
Replace the calls to Lst_ForEach with the new LST_FOREACH macro and
...
fix the prototype for Compat_RunCommand to take the actual argument
types instead of void *.
2005-02-24 10:23:31 +00:00
glebius
3ea240134d
Fix long lines in comment introduced in previous commit.
2005-02-24 10:15:50 +00:00
glebius
85713a70f2
mdoc(7) cleanup
...
Submitted by: ru
2005-02-24 09:43:16 +00:00
glebius
bf4d5b4248
Fix problem when master comes up with one interface down, and preempts
...
mastering on all other interfaces:
- call carp_carpdev_state() on initialize instead of just setting to INIT
- in carp_carpdev_state() check that interface is UP, instead of checking
that it is not DOWN, because a rebooted machine may have interface in
UNKNOWN state.
Sponsored by: Rambler
Obtained from: OpenBSD (partially)
2005-02-24 09:05:28 +00:00
das
bb8d9ef4c4
Revert rev 1.8, which causes small (e.g. 2 ulp) errors for some
...
inputs. The trouble with replacing two floats with a double is that
the latter has 6 extra bits of precision, which actually hurts
accuracy in many cases. All of the constants are optimal when float
arithmetic is used, and would need to be recomputed to do this right.
Noticed by: bde (ucbtest)
2005-02-24 06:32:13 +00:00
alc
114d5288d5
Forced commit: The previous revision's message should have referred to
...
revision 1.115, not revision 1.114.
2005-02-24 06:27:26 +00:00
alc
813391b80c
Revert the first part of revision 1.114 and modify the second part. On
...
architectures implementing uma_small_alloc() pages do not necessarily
belong to the kmem object.
2005-02-24 06:13:01 +00:00
trhodes
50e2e2ab28
Add a HISTORY section.
...
PR: 75282
2005-02-24 06:03:31 +00:00
trhodes
c9575a24a9
Add IOGEAR GUF320.
...
PR: 73825
2005-02-24 04:32:54 +00:00
trhodes
90b1a65713
Previous commit missed the following:
...
PR: 76064
Submitted by: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk> (original version)
Reviewed by: keramida (follow-up in the PR)
2005-02-24 03:47:44 +00:00
trhodes
615f15f046
To be more complete, discuss 'make kernel' since we do cover buildkernel.
...
Xref config.8.
Bump doc date.
2005-02-24 03:46:36 +00:00
obrien
52dc6e757b
Allow a forced dump even if the dump header information is inconsistent.
...
Output more verbosity with additional -v's.
Submitted by: seanc
2005-02-24 02:45:10 +00:00
sam
30c910d152
plug resource leak
...
Noticed by: Coverity Prevent analysis tool
Reviewed by: scottl
2005-02-24 02:24:24 +00:00
sam
ff02b83cb6
remove gratuitous null ptr check
...
Noticed by: Coverity Prevent analysis tool
2005-02-24 02:06:22 +00:00
sam
bdc596c106
o nuke duplicate call of dpt_free when dpt_init fails
...
o nuke gratuitous null ptr check; softc can never be null in this routine
Noticed by: Coverity Prevent analysis tool
Reviewed by: mdodd
2005-02-24 02:03:55 +00:00
sam
aade8ccf6a
move ptr deref's to after null ptr checks
...
Noticed by: Coverity Prevent analysis tool
2005-02-24 01:40:52 +00:00
sam
50a81676fb
the rt parameter to ifa_rtrequest callbacks should always be non-null;
...
eliminate grauitous ptr checks that follow ptr deref's
Noticed by: Coverity Prevent analysis tool
2005-02-24 01:34:01 +00:00
trhodes
09a1a81190
Fix a couple of grammar nits.
...
PR: 77437
Submitted by: Paul A. Hoadley <paulh@logicsquad.net> (original version)
2005-02-24 01:00:09 +00:00
sam
7c2c7ce845
change m_adj to reclaim unused mbufs instead of zero'ing m_len
...
when trim'ing space off the back of a chain; this is indirect
solution to a potential null ptr deref
Noticed by: Coverity Prevent analysis tool (null ptr deref)
Reviewed by: dg, rwatson
2005-02-24 00:40:33 +00:00
trhodes
b8a8e1ad9c
Do not mislead users into checking for a mount_ufs or mount_ufs2 manual
...
page. They do not exist.
PR: 53303
Submitted by: Marc Silver <marcs@draenor.org> (original version)
2005-02-24 00:32:58 +00:00
csjp
46e1f303ce
Add locking assertions into vn_extattr_set, vn_extattr_get and
...
vn_extattr_rm. This is meant to catch conditions where IO_NODELOCKED
has been specified without the vnode being locked.
Discussed with: rwatson
MFC after: 1 week
2005-02-24 00:13:16 +00:00
brueffer
2c91b34a9d
Autogenerate device listings for snd_sbc(4).
...
MFC after: 3 days
2005-02-24 00:12:17 +00:00
trhodes
450bd49d6f
Note how cp(1) handles directories ending in "/."
...
PR: 75774
Submitted by: Mike Meyer <mwm@mired.org> (original version)
2005-02-24 00:06:22 +00:00
csjp
d828c546b6
Drop bzero and shove the responsibility of zeroing the kse upcall
...
object on to the zone allocator. It should be noted that uma_zalloc(9)
uses bzero to zero out the object so there probably wont be any
real performance benefit. If UMA grows the ability to supply
zeroed zones more efficiently in the future, we will not have to
modify all the existing consumers.
Discussed with: rwatson,julian
MFC after: 1 week
2005-02-24 00:05:50 +00:00
csjp
e615bf7280
-document the fact that extattr_get_* can fail if the requested
...
attribute does not exist on the file.
-bump document date
Reviewed by: rwatson,trhodes
MFC after: 1 week
2005-02-24 00:04:45 +00:00
brueffer
a6c32869a1
- move information about supported hardware into a HARDWARE section
...
- bump .Dd
MFC after: 3 days
2005-02-23 23:57:36 +00:00
trhodes
a93219a0e3
Xref chflags(2).
...
Note that unlink.2 can return EPERM if the immutable or append-only flags are set.
PR: 77043
2005-02-23 23:55:58 +00:00
imp
9e46bb8954
Tweak description and add Belkin F5D5020
2005-02-23 23:55:32 +00:00
trhodes
725d92b4e1
Add information on utilities which may or may not be aware of file flags.
...
PR: 55653
Submitted by: Tony Maher <tonymaher@optushome.com.au> (original version)
2005-02-23 23:07:45 +00:00
sam
3e47903f1e
eliminate dead code
...
Noticed by: Coverity Prevent analysis tool
2005-02-23 22:53:04 +00:00
brueffer
320c497985
Sort the list of devices in the HARDWARE section. Also move the section
...
below the DESCRIPTION section for consistency with the other manpages.
MFC after: 3 days
2005-02-23 22:50:43 +00:00
sam
1039871d0e
eliminate dead code and collapse the remainder
...
Noticed by: Coverity Prevent analysis tool
Reviewed by: rwatson
2005-02-23 22:50:19 +00:00
sam
3a6bbba595
avoid potential null ptr derefs
...
Noticed by: Coverity Prevent analysis tool
2005-02-23 22:44:38 +00:00
trhodes
861533551b
Add better mdoc(7) mark up, clean up wording, better describe the effects
...
of some arguments.
PR: 47705
Based on a patch submitted by: Gary W. Swearingen <swear@attbi.com>
Glanced at by: simon
2005-02-23 22:40:45 +00:00
trhodes
a0718f2d2a
Update list of utilitys which are implemented externally, Xref info.1,
...
clean up some text, bump doc date.
PR: 47690
Submitted by: Gary W. Swearingen <swear@attbi.com> (original version)
2005-02-23 22:37:17 +00:00
trhodes
4051909c10
Make it more obvious that cap_mkdb(1) is required to rebuild the database.
...
PR: 76981
Submitted by: Lowell Gilbert <freebsd-bugs-local@be-well.ilk.org>
2005-02-23 22:11:59 +00:00
des
3b0638f2e6
If what we have is a struct sockaddr_storage * and what we want is a
...
struct sockaddr_storage *, there's no point in casting it prematurely
to a struct sockaddr *. This unbreaks WARNS=6 on sparc64.
2005-02-23 21:26:55 +00:00
ru
e8f0ad4994
Fixed warnings and bump WARNS to 6.
2005-02-23 20:59:03 +00:00
ru
ee1a956412
Bump WARNS to 6.
2005-02-23 20:42:47 +00:00
ru
8b0da78238
Simplify steps necessary to cross-install -CURRENT onto a
...
separate partition. (Take advantage of "make distribute"
installing /boot/device.hints.)
2005-02-23 20:37:11 +00:00
sam
cb20a66d8c
remove dead code
...
Noticed by: Coverity Prevent analysis tool
Reviewed by: silby
2005-02-23 19:34:44 +00:00
sam
0646ee6acc
eliminate potential null deref
...
Noticed by: Coverity Prevent analysis tool
Reviewed by: jhb
2005-02-23 19:32:29 +00:00
brueffer
7f5cb5b1ba
Reword the HARDWARE section, so it can be used in the autogenerated
...
hardware notes.
2005-02-23 19:31:12 +00:00
brueffer
3b4c9e818e
- make the hardware list look like that of other manpages
...
- fix typo
MFC after: 3 days
2005-02-23 19:23:36 +00:00
hrs
1ca937d62d
Update release notes:
...
debug.mpsafevm enabled by default on alpha, amd64, and i386.
2005-02-23 18:30:57 +00:00