elad
6ed9366c27
Don't overflow when DEBUG is defined.
...
PR/30833, from Tomas Skare.
2005-09-13 21:38:03 +00:00
jmmv
2ddaf8b92b
Nodes cannot use the '0' identifier or they will be skipped by readdir.
...
E.g., the root node's '.' and '..' directory entries did not appear in
a directory list, because the root node always holds the first id.
2005-09-13 21:30:52 +00:00
christos
0743a9e845
use stat and not lstat to detect if we have a directory. refactor the mkpath()
...
code.
2005-09-13 20:09:55 +00:00
jmmv
5f4b660e4e
Adapt recent changes to the style of the rest of the file.
2005-09-13 20:02:05 +00:00
yamt
873763ea0f
uao_put: recognize endoff == 0 as "to the end of the object",
...
as VOP_PUTPAGES (thus vnode pager) does. for tmpfs.
2005-09-13 19:54:09 +00:00
christos
66077da03e
remove itojun and add christos from openssl, openssh, and bind.
2005-09-13 17:13:50 +00:00
christos
f12b717439
blurb for libpthread.
2005-09-13 17:09:59 +00:00
elad
1a75cd7fa5
- cksum -m -> cksum -a md5.
...
- Generate SHA512 checksums too.
Is there any reason to still generate MD5 checksums?
2005-09-13 16:38:01 +00:00
christos
c83d281198
Forgot to reverse the conditional test.
2005-09-13 16:35:24 +00:00
christos
929821126f
when creating directories, check if the failure occured because someone
...
else created the directory before we did to avoid races. From chuq.
2005-09-13 15:50:17 +00:00
christos
d69a9593f3
We don't need any ndbm sources.
2005-09-13 15:32:48 +00:00
yamt
647aa77538
- don't waste/leak kva.
...
- implement getpages/putpages. support mmap.
- eliminate meaningless memcpy.
- ubcify.
2005-09-13 14:29:18 +00:00
yamt
a7ca1cc6ef
tmpfs_read: return EISDIR rather than EINVAL for non-VREG files.
...
XXX should we follow nfs, which uses EPERM?
2005-09-13 14:27:29 +00:00
christos
25f2b410ca
don't use the _foo.c files; all the code is in foo.c now.
2005-09-13 13:52:23 +00:00
christos
95a8d0876b
don't use the weak names directly, so that the compat code works.
2005-09-13 13:51:50 +00:00
yamt
1873c5428a
tmpfs_link: always free pnbuf.
2005-09-13 12:11:27 +00:00
wiz
57a6585373
Fix getCDKMatrixCell type. From Eric Auge in PR 31055.
2005-09-13 11:48:41 +00:00
martin
699dc5a659
Add missing <compat/..> include
2005-09-13 09:52:17 +00:00
martin
30895fa9a4
The entity passed to the HAL as a HAL_BUS_HANDLE needs to be an integral
...
or pointer type. So on sparc64 (and maybe others too?) where
bus_space_handle_t is a struct, pass the address of the bus_space_handle_t
and adjust the register access functions accordingly.
While there, slightly optimize the bus_space_* usage in the register
access functions and macros.
2005-09-13 05:50:29 +00:00
christos
ebc4ea57cf
redefine panic if we are a user program.
2005-09-13 04:40:42 +00:00
christos
6d662c2dfa
make this compile again.
2005-09-13 04:40:25 +00:00
christos
100801ed72
rename lfs.h to lfs_user.h so that it does not conflict.
2005-09-13 04:14:17 +00:00
christos
3544d898ac
split out lfs_itimes(). It is used in fsck_lfs.
2005-09-13 04:13:25 +00:00
christos
d3949dc269
compat reorg.
2005-09-13 03:23:34 +00:00
christos
58b392c018
make this compile again.
2005-09-13 03:23:09 +00:00
christos
6acf4b5ca8
add compat netbsd32 context.
2005-09-13 03:22:54 +00:00
christos
b6ec0ee911
extract compat netbsd32 gunk.
2005-09-13 03:22:32 +00:00
christos
f1cc481dfe
XXX: Work around libpthread's "intimate" connection with libc.
2005-09-13 02:45:38 +00:00
christos
478e2d98de
compat reorg.
2005-09-13 02:30:23 +00:00
christos
238c109f03
move compat code to the compat tree.
2005-09-13 01:45:14 +00:00
christos
66412e7240
compat code reorg
2005-09-13 01:44:32 +00:00
christos
5b84b3983f
compat core reorg.
2005-09-13 01:44:08 +00:00
christos
ba2a95bba7
compat code reorg. Other archs will need similar changes...
2005-09-13 01:43:29 +00:00
christos
063b880cf0
compat code reorg.
2005-09-13 01:42:32 +00:00
lukem
922ca28a60
Add "named" item to move /etc/namedb/named.conf to /etc/named.conf.
...
Per discussion with Matthias Scheler.
2005-09-12 23:16:15 +00:00
christos
49110e63f0
Range checks are not optional. The omission of this one, allows the user
...
to corrupt the heap and/or crash the kernel (Christer Oeberg).
2005-09-12 22:17:49 +00:00
christos
6a2a989266
variable name mistake again.
2005-09-12 22:16:56 +00:00
skrll
81eeab7ea5
Fix spello.
2005-09-12 21:15:04 +00:00
skrll
180eb637a5
Use the correct length parameter when capturing rx packets.
2005-09-12 21:11:11 +00:00
christos
d9f67be7fe
- Avoid overflow by checking the count argument (Christer Oeberg).
...
- While I am here, don't leak fds either.
2005-09-12 20:54:38 +00:00
christos
49840169c0
Add another KASSERT.
2005-09-12 20:26:44 +00:00
christos
c93a283e5f
- access the ffs and ext2fs itimes functions through a pointer, so that
...
if the filesystem is not compiled in the kernel still links. Probably
a better solution is to use weak symbols.
- move the filesystem-specific itime macros to the filesystem header files.
2005-09-12 20:23:03 +00:00
christos
30b59dc1e8
Add a KASSERT like the one ffs has.
2005-09-12 20:21:18 +00:00
drochner
9cde940a73
move the new ffs_itimes() to a berr place -- ffs_subr.c is shared with
...
userland
2005-09-12 20:09:59 +00:00
yamt
db9ffe1576
- don't keep a reference to a variable on stack.
...
- remove a meaningless assumption about the order of structure members.
2005-09-12 19:56:58 +00:00
yamt
ffb84f0f1b
fix lock/unlock mismatch. XXX this is not a real fix.
2005-09-12 19:55:22 +00:00
wiz
2f0ee62bbb
According to rwhod(8), file names are actually /var/rwho/whod.*
2005-09-12 18:35:32 +00:00
wiz
6438e0bfa7
Sync usage with man page.
2005-09-12 18:34:37 +00:00
wiz
4b44cc9527
New sentence, new line.
...
Add -u to SYNOPSIS. Fix some typos.
Use more markup. Bump date for -u.
2005-09-12 18:33:56 +00:00
christos
b9c29c4def
convert to use it nanotime, but don't call it unless it is necessary.
2005-09-12 16:55:01 +00:00