he
355013fbd7
Don't use MALLOC_DECLARE() unless _KERNEL is defined.
...
Fixes build problem of usr.bin/fstat/ for vax.
2006-05-14 12:25:11 +00:00
mrg
e012cb30a7
quell GCC 4.1 uninitialised variable warnings.
...
XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
2006-05-11 01:12:21 +00:00
mrg
79652075f7
ntfs_runtovrun takes u_int8_t * not caddr_t
2006-05-11 01:11:11 +00:00
christos
93f1cb3704
Do the count check after we process getargs.
2006-04-28 19:17:45 +00:00
snj
d97db3840b
s/allready/already/
2006-04-25 02:19:31 +00:00
christos
5da80a50f2
Coverity CID 1138: Add KASSERT before deref.
2006-04-15 04:06:03 +00:00
christos
4a420185b2
Coverity CID 1197: Add KASSERT before deref.
2006-04-15 04:02:40 +00:00
christos
daeb76efcb
Coverity CID 1135: Add KASSERT before deref.
2006-04-15 04:01:41 +00:00
christos
2ce6f7c5c6
Coverity CID 1093: Fix NULL deref.
2006-04-15 03:59:23 +00:00
christos
03372c0db6
Coverity CID 1001: Avoid NULL deref.
2006-04-15 03:56:25 +00:00
christos
9e36ae3b49
Coverity CID 839: Add KASSERT before deref.
2006-04-15 02:58:12 +00:00
christos
f16f3462cc
Coverity CID 838: Add KASSERT before deref.
2006-04-15 02:56:51 +00:00
christos
be213d0c34
Coverity CID 2503: Remove bogus uninitialized deref.
2006-04-15 02:55:06 +00:00
christos
ceeda7c0ed
Coverity CID 721: Add KASSERT since error != 0 conditions all returned, and
...
ifdef out dead code.
2006-04-15 02:53:49 +00:00
christos
9071fc0f28
Coverity CID 2508: Initialize variable
2006-04-15 02:44:16 +00:00
christos
56ef669e31
Coverity CID 2863: Check for NULL before freeing.
2006-04-15 02:42:08 +00:00
christos
41d5f0d550
Coveriry CID 733: Remove dead code.
2006-04-14 22:05:07 +00:00
christos
1c2c11fc00
Remove dead code.
2006-04-14 22:03:18 +00:00
christos
986cf947f1
Coverity CID 715: Remove dead code.
2006-04-14 22:00:14 +00:00
christos
5cf38f035b
Strip the chrooted portion of the path from the reported pty path. Reported
...
and tested by Lasse Kliemann. Thanks!
2006-04-13 17:44:24 +00:00
xtraeme
0998485b9d
make this build again (initiliaze ntmp).
2006-04-11 16:57:47 +00:00
christos
139332cff1
Coverity CID 2860: Free malloced resources on mount error.
2006-04-11 14:12:53 +00:00
riz
9f6ad5fff1
Swap the order of the tf_gen and tf_id members of struct tmpfs_fid,
...
since tf_id needs 8-byte alignment on some architectures (like amd64).
struct tmpfs_fid now fits in 16 bytes on amd64 again.
OK matt@
2006-03-31 20:27:49 +00:00
martin
625f1bbe61
Restrict generation numbers to 32bit values - we would have had to bump
...
_VFS_MAXFIDSZ to 24 otherwise for 64bit archs.
2006-03-26 20:18:58 +00:00
christos
f8912e4424
PR/32986: Kouichirou Hiratsuka: Don't proceed with unmounting the filesystem
...
if vflush failed. Thank to Jeff Ito for adopting a similar fix from FreeBSD.
2006-03-20 19:54:15 +00:00
christos
5a57baa413
don't use MALLOC with a non-constant size; use malloc instead.
2006-03-17 23:29:07 +00:00
christos
bd047b110f
remove trailing newlines
2006-03-05 16:55:44 +00:00
yamt
ec5a93183a
merge yamt-uio_vmspace branch.
...
- use vmspace rather than proc or lwp where appropriate.
the latter is more natural to specify an address space.
(and less likely to be abused for random purposes.)
- fix a swdmover race.
2006-03-01 12:38:10 +00:00
wiz
5d1e8b2745
Fix some typos.
2006-02-25 02:28:55 +00:00
thorpej
58853410ae
Use device_class() instead of accessing dv_class directly.
2006-02-21 04:32:38 +00:00
christos
61315901b1
PR/31850: Geoff Wing: tmpfs does not honor sticky directories.
2006-02-21 03:19:45 +00:00
perry
fbae48b901
Change "inline" back to "__inline" in .h files -- C99 is still too
...
new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
2006-02-16 20:17:12 +00:00
jmmv
064fbe7e18
Do not use unnamed structures/unions without instances; they break the
...
build under vax because of gcc 2.95. Found by he@.
2006-02-16 14:57:50 +00:00
christos
6547cf74f3
make the include files usable from userland.
2006-02-10 16:00:02 +00:00
reinoud
979954f179
VND and harddiscs have their own defect free space management.
2006-02-04 23:21:43 +00:00
reinoud
8c7d758cbc
Change a comment into a TODO and fix up case where we could return an
...
illegal allready-freed memory space.
2006-02-04 21:29:11 +00:00
christos
d3ef798d46
protect the whole file, not parts of it.
2006-02-02 21:58:40 +00:00
reinoud
6ee0cb5d5d
Replace reinclude protection names with less generic versions.
2006-02-02 16:14:26 +00:00
reinoud
73bc73c9ad
De __P() prototypes.
2006-02-02 15:57:35 +00:00
reinoud
14ab2cc9e6
Fix header re-inclusion protection defines to a less generic naming
...
scheme.
2006-02-02 15:52:23 +00:00
reinoud
aba87fd86c
Fix $NetBSD$ tags. (sorry)
2006-02-02 15:38:35 +00:00
reinoud
09457a8a6e
Initial import of a UDF file system implementation for NetBSD.
...
Finally the logic glue and the set distribution lists modifications.
2006-02-02 15:26:32 +00:00
reinoud
cff5e7ad2c
Initial import of a UDF file system implementation for NetBSD.
...
The code supports read access to all media types that CD/DVD type drives
can recognize including DVD-RAM and BD- drives as well as harddisc partions
and vnd devices. UDF versions upto the latest 2.60 are to be supported
though due to lack of test media version 2.50 and 2.60 are not implemented
yet though easy to add. Both open and closed media are supported.
Write access is planned and in preparation. To facilitate this some hooks
are present in the code that are not strictly needed in a read-only
implementation but which allow writing to be added more easily.
Implemented and tested media types are CD-ROM, CD-R, CD-RW, CD-MRW,
DVD-ROM, DVD*R, DVD*RW, DVD+MRW but the same code can also read DVD-RAM,
HD-DVD and BluRay discs. Also vnd devices have been tested with several
sector sizes.
Discs created and written by UDFclient, Nero's InCD and Roxio's
DirectCD/Drag2Disc read fine.
2006-02-02 15:19:15 +00:00
jmmv
1aa1083c54
Cut a too long line introduced during the conversion to lwps.
2006-01-26 20:07:34 +00:00
tsutsui
7a10e95ea9
free() -> dealloc() for _STANDALONE.
2006-01-26 16:27:43 +00:00
christos
9c6e6ff8b2
Protect against uio_lwp being NULL from Pavel Cahyna
2006-01-14 23:49:59 +00:00
yamt
403fb83166
smbfs: use curlwp rather than uio->uio_lwp.
...
the latter is a garbage in the case of UIO_SYSSPACE.
PR/32499 from Juan RP.
2006-01-12 13:36:17 +00:00
wrstuden
160f564c51
Change union_unmount() to not play with the fs root vnode explicitly.
...
Let it get recycled along with all of the others. This is important
as if the root vnode has already been reclaimed, then we get a panic
when we try to vget it.
This addresses PR: kern/31382
2006-01-05 20:31:33 +00:00
tsutsui
1f5055228d
Add preliminary support for System V Boot File System.
...
Written by UCHIYAMA Yasushi <uch@netbsd>.
2005-12-29 14:53:45 +00:00
chs
0545b6e0cb
changes for making DIAGNOSTIC not change the kernel ABI:
...
- for structure fields that are conditionally present,
make those fields always present.
- for functions which are conditionally inline, make them never inline.
- remove some other functions which are conditionally defined but
don't actually do anything anymore.
- make a lock-debugging function conditional on only LOCKDEBUG.
as discussed on tech-kern some time back.
2005-12-27 04:06:45 +00:00