pooka
71a61647db
puffs_suspend.{0,3}
2007-01-26 23:55:58 +00:00
pooka
f4e2aba8ce
document puffs_fs_suspend()
2007-01-26 23:55:27 +00:00
elad
3238d589b2
No need to include acct.h, sysctl.h, and time.h.
2007-01-26 23:50:36 +00:00
pooka
0eaa3c5c67
We don't handle fsync in checkop anymore, so direct the fifoop fsync
...
also to a place less panicy, namely fifo_fsync (because currently the
metadata information is update when the node is changed. This will
probably change soon, though).
2007-01-26 23:25:56 +00:00
pooka
f235a8d60c
Add very uncorrect "suspend fs if server gets SIGUSR1" test for fs
...
suspension (hey, it's a test file system after all .... )
2007-01-26 23:02:05 +00:00
pooka
d83ed90176
add interfaces for suspending the file system
2007-01-26 23:00:33 +00:00
pooka
d2595d03c5
Initial attempt at suspend/snapshot support for userspace file
...
servers. This is still pretty much on the level "if it breaks ...".
It should work for single-threaded servers which handle one operation
from start to finish in one go. Also, it does not yet totally
correctly synchronize metadata and data in some cases. So needless
to say, it needs improvement, but it is possible that will have to
wait for some lock revampage.
2007-01-26 22:59:49 +00:00
elad
4ee02bdcac
Initialize kauth(9) sooner.
...
Since we'll soon want to be able to control the inheritance of credentials,
kauth(9) needs to be ready for use much sooner -- at least before the call
to proc0_init().
2007-01-26 21:57:47 +00:00
dyoung
854c48804d
KNF: bzero -> memset.
2007-01-26 19:49:18 +00:00
dyoung
2496a279f8
Define some more registers on the AMD Elan SC520, according to the
...
datasheet.
2007-01-26 19:42:56 +00:00
cbiere
1aaa06c687
Avoid a warning about an unused variable if compiling with -DNDEBUG.
...
Reported by Andreas Wiese in PR lib/35489.
2007-01-26 19:34:30 +00:00
dyoung
2115f7da2f
Fix the check for a routing loop.
2007-01-26 19:32:32 +00:00
dyoung
2539c85ea4
bzero -> memset
2007-01-26 19:20:15 +00:00
dyoung
d8316ce94e
KNF: bzero -> memset, change (struct in_ifaddr *)0 to NULL.
2007-01-26 19:15:26 +00:00
dyoung
3cd4307b24
bzero -> memset
2007-01-26 19:12:21 +00:00
dyoung
d77571df22
bzero -> memset
2007-01-26 19:02:02 +00:00
dyoung
befcb437f9
Change a couple of bzeros to memsets.
2007-01-26 19:01:26 +00:00
sborrill
4cdde1a3df
Add srtconfig and its man pages
2007-01-26 16:36:20 +00:00
sborrill
625376d814
Add missing bus_space_(read,write)_stream macros.
...
Approved by martin@
2007-01-26 16:28:18 +00:00
christos
07807b36a7
- centralize sendto tsp
...
- cleanup some casts
2007-01-26 16:12:41 +00:00
rpaulo
f8716dbbb5
Don't panic with "lazy bum". I have a machine that can boot multiuser
...
and run on SMP with this panic commented out.
No replies on tech-kern about this.
2007-01-26 12:44:50 +00:00
elad
4f9ade2efc
Add missing specificdata_key_delete() in fileassoc_deregister().
2007-01-26 12:36:46 +00:00
mouse
fa0144b381
Add srtconfig. It builds OK, at least in my tests, so it shouldn't
...
break anything having it there, and it's pretty much necessary for
anyone who wants to actually use srt.
2007-01-26 07:01:03 +00:00
dyoung
832c31b2c6
Mark some shared variables as volatile.
2007-01-26 03:01:32 +00:00
dyoung
d5268f7ddd
Fix grammar in comment. From Patrick Welche.
2007-01-26 02:27:29 +00:00
dyoung
6a0ae17676
Name magic numbers PCI_PMCSR_PME_EN and PCI_PMCSR.
2007-01-26 02:04:44 +00:00
dyoung
c0206e6ab8
#Define PCI_PMCSR_PME_EN.
2007-01-26 02:04:09 +00:00
cbiere
8544bfafc4
Fix for issue reported in PR lib/35401 as well as related overflow bugs.
2007-01-26 00:37:30 +00:00
cbiere
8521e1176a
* Consider all negative return values as error, not just -1.
...
* Corrected cast because (size_t) (INT_MAX + 1) is bogus.
2007-01-26 00:27:54 +00:00
christos
b841c08d29
WARNS=4
2007-01-25 23:51:28 +00:00
christos
7bc0bdf604
- merge the update code in one function
...
- support wtmpx
- kill local decls of logwtmp; use util.h
2007-01-25 23:51:11 +00:00
christos
b772b1e89b
sprinkle const.
2007-01-25 23:47:13 +00:00
pooka
61ffb7330d
if strategy fails, set bp->b_error and B_ERROR
2007-01-25 23:43:57 +00:00
cbiere
07c9d403fe
* Modified in_cksum() so it can handle unaligned data.
...
* Replaced most strlcpy() with set_tsp_name() and get_tsp_name() because
strlcpy() could potentially run out-of-bounds and doesn't zero out
unused buffer space.
* Replaced bcopy/bzero() with memcpy/memset().
* Fixed potential alignment/aliasing issues in measure().
* Replace u_short/u_long with uint16_t/uint32_t/in_addr_t where appropriate.
* Renamed sin to addr because sin is a reserved identifier.
* Use bindresvport() instead of looping over bind(); rresvport() returns
a SOCK_STREAM socket not SOCK_DGRAM.
2007-01-25 23:25:20 +00:00
perry
34c4900430
Before I completely forget the issue, convert "PROG_PAX" to the
...
better-named "PAXCTL_FLAGS".
2007-01-25 23:04:28 +00:00
christos
06fe4f2600
- use rresvport() instead of open-coding it.
...
- use warn/err.
2007-01-25 22:28:03 +00:00
njoly
a293da9ab4
Fix compilation on platforms where sizeof int/size_t differs.
...
Successfully tested on amd64.
ok by tron@
2007-01-25 21:17:38 +00:00
plunky
4c6d0d2a6f
use "%m" instead of "%s", strerror(errno) for syslog(3)
2007-01-25 20:33:41 +00:00
plunky
315d0953b6
minor adjustment to .Bl .. .El after reading mdoc(7)
2007-01-25 20:29:56 +00:00
plunky
d2ce8afd8d
make it clearer that its a single-use PIN
2007-01-25 20:28:54 +00:00
pooka
2dcf5f359a
don't hold spinlocks (except vnode interlock) when doing vget()
2007-01-25 17:43:56 +00:00
skrll
372930a9c7
Fix the path reference to the firmware package.
2007-01-25 16:16:38 +00:00
christos
2331183c52
PR/35479: djv AT bedford DOT net: fix byte order issue and zero the sockaddr.
2007-01-25 15:29:40 +00:00
elad
fe9f141d4d
Fix tyop in comment: specifidata -> specificdata.
2007-01-25 13:58:40 +00:00
elad
73a4d95bb6
Update comment: device -> mount. No functional change.
2007-01-25 13:57:28 +00:00
jschauma
aa5548dece
add UUOC
2007-01-25 05:40:26 +00:00
macallan
2b8bf5f8d1
have OF re-initialize the console before calling OF_exit() so we actually
...
end up in something usable
2007-01-25 02:20:23 +00:00
macallan
f2fda6052d
add some flags for chipsfb
2007-01-25 00:11:58 +00:00
dogcow
81bda513ca
fix radix
2007-01-24 23:54:24 +00:00
pooka
af33a7d513
include sys/mount.h
2007-01-24 22:49:21 +00:00