Alexander Kabaev
42e1d99cc8
Do not dereference dvp pointer before doing a NULL check.
...
Noticed by: Coverity Prevent analysis tool.
2005-05-11 19:08:38 +00:00
Alexander Kabaev
59195c3a3d
Plug a potential memory leak.
...
Noticed by: Coverity Prevent analysis tool.
2005-05-11 18:53:14 +00:00
Søren Schmidt
c46e1f5333
Add new Intel PCI ID's for the ICH7 chips (untested).
2005-05-11 18:29:15 +00:00
Alexander Kabaev
0ca9ed8674
Handle theoretical case of vfs_export being called with both MNT_DELEXPORT and
...
MNT_EXPORT flags set. Do not reuse the memory that has just been freed.
2005-05-11 18:25:42 +00:00
Pawel Jakub Dawidek
862f5624ea
Add KASSERT() to be sure there is an active component.
...
Suggested by: Coverity Prevent analysis tool
2005-05-11 18:13:51 +00:00
Pawel Jakub Dawidek
0a3384a8f8
Check return value.
...
Found by: Coverity Prevent analysis tool
2005-05-11 18:07:39 +00:00
Alexander Kabaev
693937214b
Do not initialize path variable with useless value just before
...
xpt_create_path overwrites it anyway.
Noticed by: Coverity Prevent analysis tool
2005-05-11 17:39:33 +00:00
Max Khon
5cf3bf70f7
- check for geom_uzip module presence using kldstat -m.
...
kldstat -m finds geom_uzip module even if it is compiled in statically.
- create output file with x bit set.
- build mkuzip on all architectures (verified with "make universe").
- fix typo in info message.
2005-05-11 17:02:38 +00:00
Søren Schmidt
d81c813f10
Add support for AHCI compliant ATA devices.
...
For now just support the Intel ICH6 as that the HW at hand.
Sponsored by: pair.com
2005-05-11 16:10:08 +00:00
Warner Losh
3ecc7feefc
Take out Giant in uhub_child_* in giant. There's one place where we
...
could sleep which I think can lead to races. However, there are fewer
with this code than without it.
Submitted by: Hans Petter Selasky
2005-05-11 15:21:22 +00:00
Søren Schmidt
d0968d7845
Add back one line that got deleted in the last commit.
...
Change the comment there so it better describes whats going on.
This should fix the boot problems of late.
2005-05-11 14:36:26 +00:00
Xin LI
f73fd5bd75
Connect MLINKS for ttyname_r(3), and add prototype into unistd.h.
2005-05-11 14:07:25 +00:00
Xin LI
f57a875fa0
Avoid (unnecessarily) casting away const within uuid_is_nil.
2005-05-11 13:18:10 +00:00
Gleb Smirnoff
0c0e9713a6
'ngtee' also depends on net.inet.ip.fw.one_pass.
2005-05-11 12:58:15 +00:00
Søren Schmidt
faca873f76
Fix ATAPI DMA. We need to set the proper flags for DMA modes.
2005-05-11 12:41:35 +00:00
Gleb Smirnoff
8b39984252
Describe newly implemented bug.
2005-05-11 11:53:37 +00:00
Gleb Smirnoff
494e177ada
A new version of NetFlow node.
...
The most significant changes are:
- Use UMA zone instead of own chunk of memory.
- Lock each hash entry separately.
- Expire items "actively" - interrupt method can expire flows
from hash slot, when it searches through it.
- Remove global tailqueue. Make callout thread search through
every hash slot.
- Export datagram is detached from private data and filled. If
it is incomplete, it is attached back. Another thread will
continue working with it.
Lesser, but also important speedups:
- Flows in hash slot are stored in tailqueue. Whenever a flow is
hit, it is moved to the begging, so it can be located quicker.
- When callout thread works with hash slot it bails out if
slot mutex is contested.
2005-05-11 11:26:24 +00:00
Maxim Konovalov
2c6b324929
Add MacOS 10.4.
...
Submitted by: Jung-uk Kim
2005-05-11 11:11:29 +00:00
Brian Somers
709acd0300
Run /etc/rc.d/syscons restart when a usb keyboard is attached so that the
...
keymap and other settings are correct.
2005-05-11 10:24:20 +00:00
Gleb Smirnoff
cc8c6970fd
Move assertion below initializer.
...
Submitted by: Noritoshi Demizu
Pointy hat to: glebius
2005-05-11 08:28:09 +00:00
Tim Kientzle
85e66aedb4
Document zlib update procedure and provide future maintainers a
...
snapshot of the current state of the import.
MFC after: 2 weeks
2005-05-11 03:50:50 +00:00
Tim Kientzle
42307a8f43
Since the FreeBSD local modifications are mostly trivial (consisting
...
primarily of pointless $FreeBSD$ tags), sync most files in HEAD with
those in the ZLIB branch. This minimizes the differences between
HEAD and ZLIB and should simplify future imports.
After this, there are only three files with local modifications
(gzio.c, minigzip.c, and zconf.h) and two non-vendor files
(Makefile, zopen.c). The rest exactly match the vendor distribution.
PR: i386/76294
MFC after: 2 weeks
2005-05-11 03:47:48 +00:00
Matt Jacob
b49c46747a
Fix some incorrectly swapped fields in an ICB.
...
Access a PCI register with correct width.
Obtained from: Dmitry Valeryevich Trikoz
2005-05-11 03:00:50 +00:00
Juli Mallett
b894acfb2a
shutdown(2)'s how argument as 0 is nowhere near as cool as SHUT_RD
2005-05-11 02:50:41 +00:00
Juli Mallett
e8b92d55b6
Spell 1 as SHUT_WR in argument to shutdown(2).
2005-05-11 02:49:03 +00:00
Juli Mallett
bf6b7d84fd
Spell out shutdown(2)'s how argument in #ifdef notdef'd code.
2005-05-11 02:47:54 +00:00
Juli Mallett
370291ea4a
Spell SHUT_RD as SHUT_RD not 0 as the how argument to shutdown(2).
2005-05-11 02:45:49 +00:00
Juli Mallett
ed3836bb08
Spell SHUT_RDWR as SHUT_RDWR not 2 as the how argument to shutdown(2).
2005-05-11 02:43:04 +00:00
Juli Mallett
5aae7838e7
Spell SHUT_RDWR as SHUT_RDWR not 1+1 as the how argument to shutdown(2).
2005-05-11 02:41:39 +00:00
Matt Jacob
547725be50
Refactor isp_prt declaration so that platform
...
requirements can stay in platform files.
2005-05-11 00:22:17 +00:00
Maxim Konovalov
6904c47ab9
Add FreeBSD 5.4.
2005-05-10 17:51:18 +00:00
Christian Brueffer
e2f59e932f
Manual page for the "mn" Siemens Easy321-R1 E1/T1 device driver.
...
This is based on the comments in if_mn.c.
MFC after: 3 days
2005-05-10 16:48:03 +00:00
Maksim Yevmenkin
c18a1440f0
Mark AVM USB Bluetooth-Adapter BlueFritz! as "broken". This device is not
...
supported by ng_ubt(4) driver and needs its own driver.
PR: kern/76205
Submitted by: Tim Hemel < bsd AT timit DOT nl >
MFC after: 1 week
2005-05-10 16:25:58 +00:00
Hartmut Brandt
4aa6beaf60
Move the definitions of the OP_* constants from make.h into GNode.h
...
where they actually belong to. Move the definitions of the strings
for special macros like "$*" from make.h to parse.h - they're used
only in the parser.
Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.211)
2005-05-10 14:27:04 +00:00
Jim Rees
3785bdbe7f
set R_MUSTRESEND flag in mark_for_reconnect so re-connected requests get
...
re-sent instead of timing out.
don't log an error message on reconnection, which is not an error.
remove unused nfs_mrep_before_tsleep.
Reviewed by: Mohan Srinivasan
Approved by: alfred
2005-05-10 14:25:14 +00:00
Hartmut Brandt
824060d705
Path_Expand() expects its first argument to be writeable so put the
...
default system directory into a writeable character array before passing
it to Path_Expand().
Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.210)
2005-05-10 14:23:31 +00:00
Gleb Smirnoff
2046fd5f68
- Assert that mbuf length equals packet length.
...
- Tell libalias, that we have MCLBYTES to play with.
- Obtain length of data in mbuf from updated IP header.
2005-05-10 14:19:10 +00:00
Hartmut Brandt
e8b4c1591a
Move declarations of variables belonging to the variable module
...
from globals.h into var.h.
Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.209)
2005-05-10 14:16:40 +00:00
Hartmut Brandt
413c6d2540
Style: remove spaces before tabs.
...
Patch: 7.207
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-05-10 14:13:20 +00:00
Hartmut Brandt
a139b7bac1
Move the remaining two prototypes from nonints.h to make.h and
...
remove nonints.h.
Patch: 7.204
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-05-10 14:10:44 +00:00
Hartmut Brandt
9a910e11d1
Make shellPath and shellName static - they're used in job.c only.
...
Move definition of parsing error levels from make.h into parse.h.
Patches: 7.202,7.203
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-05-10 14:06:19 +00:00
Hartmut Brandt
43ad410a92
Make the three versions of fork() more uniform.
...
Patch: 7.201 (idea taken, but done differently)
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-05-10 14:03:28 +00:00
Hartmut Brandt
d7bc2a41df
Move the defines for TMPPAT and KQUEUE from the public job.h into job.c
...
since they are used only there.
Patch: 7.200
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-05-10 13:48:15 +00:00
Hartmut Brandt
626dc02016
Merge compat.c into job.c. There is a lot in common between these
...
files and we are going to factor this out.
Patch: 7.199 (slightly changed)
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-05-10 13:45:29 +00:00
Gleb Smirnoff
1ed86f6c90
Add option -l, to make output line buffered.
...
PR: bin/78692
Submitted by: Eugene Grosbein
MFC after: 2 weeks
2005-05-10 13:40:50 +00:00
Hartmut Brandt
c26295ddea
Move Cmd_Exec() from main.c to job.c and fix its prototype. This
...
results in a warning that will go away soon.
Patch: 7.198
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-05-10 13:18:58 +00:00
Tim J. Robbins
90931e9aa8
This commit was generated by cvs2svn to compensate for changes in r146052,
...
which included commits to RCS files with non-trunk default branches.
2005-05-10 13:01:37 +00:00
Yoshihiro Takahashi
257d63789e
- Move lptreg.h into pc98/cbus and rename to olptreg.h.
...
- Remove ifdef pc98.
2005-05-10 12:30:30 +00:00
Tim J. Robbins
829f2d6431
Update instructions to match recent import.
2005-05-10 12:04:01 +00:00
Yoshihiro Takahashi
d1725ef7ff
Change a directory layout for pc98.
...
- Move MD files into <arch>/<arch>.
- Move bus dependent files into <arch>/<bus>.
Rename some files to more suitable names.
Repo-copied by: peter
Discussed with: imp
2005-05-10 12:02:18 +00:00