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
christos
54705baa2e
wrong variable name.
2005-09-12 16:54:35 +00:00
christos
c7d2653a66
use nanotime().
2005-09-12 16:44:29 +00:00
christos
370f05b81d
don't play with ctime directly anymore.
2005-09-12 16:43:38 +00:00
christos
1114655b16
Fix the CHANGE part too.
2005-09-12 16:42:09 +00:00
christos
ce573378a6
propagate itime changes from the other filesystems.
2005-09-12 16:37:13 +00:00
bouyer
241368ab96
Check that m_copyback() didn't fail. Pointed out by YAMAMOTO Takashi.
2005-09-12 16:30:46 +00:00
christos
a12024da06
Use nanotime() to update the time fields in filesystems. Convert the code
...
from macros to real functions. Original patch and review from chuq.
Note: ext2fs only keeps seconds in the on-disk inode, and msdosfs does not
have enough precision for all fields, so this is not very useful for those
two.
2005-09-12 16:24:41 +00:00
tsarna
cd41b5d099
add _rwhod user (and group)
2005-09-12 16:21:56 +00:00
christos
291ee3d215
Introduced nanotime() which is going to be used by some fs code yet to
...
be committed. This should really be an MD routine and microtime should
be implemented from it, not the opposite (which is what we have now).
2005-09-12 16:21:31 +00:00
christos
e64d9da627
Rewrite a macro in order to eliminate an unused global variable (Liam Foy)
2005-09-12 16:16:23 +00:00
tsarna
04414a373b
Add -u option: rwhod will drop privledges and become the given user.
...
reviewed by jwise
2005-09-12 16:13:13 +00:00
rpaulo
ffd7544c80
Add missing '$' in __RCSID().
2005-09-12 16:10:11 +00:00
rpaulo
f2b738e568
In ufs_extattr_start(), unlock uepm_lock when bailing out.
...
Ok'd Jason Thorpe.
2005-09-12 16:09:06 +00:00
lukem
d50a2d0385
Reorganize items so that they're in alphabetical order except that
...
"obsolete" is moved to the end.
Clean up some comments.
2005-09-12 15:48:29 +00:00
christos
f9e066d346
Prettier /etc/fstab generation (from Liam Foy)
2005-09-12 15:47:09 +00:00
christos
c9d876ed6c
Warn if the group being removed is still the primary group of an existing
...
user. From Liam Foy.
2005-09-12 15:45:03 +00:00
lukem
d4b0741135
not all items can be fixed automatically
2005-09-12 15:42:12 +00:00
tsutsui
a369ae7ab2
Add esiop at pci, which just works.
2005-09-12 15:36:19 +00:00
yamt
55dd3a28d4
remove no longer used macros.
2005-09-12 12:41:06 +00:00
yamt
8dcf8ba6e2
xennet_start: don't allocate cluster mbufs unless needed.
2005-09-12 12:40:43 +00:00
macallan
fc1aa8099e
add a blank line before case WSDISPLAYIO_LINEBYTES
2005-09-12 12:07:47 +00:00
macallan
0841377bbd
add ioctl(WSDISPLAYIO_LINEBYTES) - needed by XFree's wsfb
2005-09-12 11:02:21 +00:00
jmmv
7164c6807f
Remove tmpfs from here, as it doesn't have a Makefile (dunno if it is
...
needed, yet). Pointed out by FUKAUMI Naoki in private mail.
2005-09-12 09:11:20 +00:00
wiz
5ae9d694d4
Add adt7467c.4.
2005-09-12 08:16:29 +00:00
macallan
dc24724129
man page for the adt7467c driver
2005-09-12 03:19:50 +00:00
wiz
a76a5aebb5
Fix typo. From YOMURA Masanori in private mail.
2005-09-11 23:50:46 +00:00
wiz
a464698404
Argument is regular_file, not "regular file". From YOMURA Masanori in private mail.
2005-09-11 23:49:58 +00:00
xtraeme
db1dafba87
Fix from OpenBSD:
...
rev 1.56:
Don't initialize the card (and start an autonegotiation!) every time
the IP address changes. Makes 'dhclient sk0' invocations way faster
and more consistant. i.e. one DHCPREQUEST elicts the DHCPACK.
Fix from FreeBSD:
rev 1.109:
Solve "No PHY found" problem for more Yukon Lite variants.
These changes fixed the problem on my sk(4) trying to get an IP
via dhclient(8).
2005-09-11 23:49:39 +00:00
wiz
edd2c20bae
Comment out /usr/share/examples/usermgmt -- dir does not exist. Fix macro typo.
...
From YOMURA Masanori in private mail.
2005-09-11 23:49:20 +00:00