dyoung
3579e266f6
Describe disk_begindetach(9).
2009-05-20 03:50:39 +00:00
dyoung
ba38289d56
Revert part of last: .include <bsd.own.mk> for TOOL_SED / TOOL_AWK
...
definitions instead of using :Used / :Uawk alternates. Now,
'nbmake-i386 tags' works.
2009-05-20 03:41:25 +00:00
dyoung
3f9760ec8f
If TOOL_AWK or TOOL_SED are undefined, then use awk or sed,
...
respectively.
Use ${FINDCOMM} to avoid too-long arguments lists.
2009-05-20 03:36:36 +00:00
dyoung
85d8d1fcdd
On second thought, let's call disk_predetach() disk_begindetach().
...
Verbs are good.
2009-05-20 03:26:21 +00:00
christos
91805f2d22
Fix CVE-2009-1252: Buffer overflow in ntpd crypto code. A remote
...
attacker can send a specially constructed request packet that would
overflow the sprintf()'ed buffer causing ntpd to crash.
XXX: Pullup to 5.x
2009-05-20 01:37:36 +00:00
dyoung
36ee114227
Use disk_predetach().
2009-05-19 23:43:44 +00:00
pgoyette
9cce088ba8
When displaying boot-time trip-register settings, shift to exclude
...
fractional bits. Otherwise, a setting of 52C reports 832 during
boot, and that's way too hot for any memory!
2009-05-19 23:43:27 +00:00
dyoung
a76a7fd159
Encapsulate the checks that I do before detaching a disk(9) provider
...
in a pre-detachment routine, disk_predetach().
2009-05-19 23:42:05 +00:00
jnemeth
3431c6b695
fputs() instead of puts() so we don't get the silly extra blank line
2009-05-19 22:55:24 +00:00
yamt
0a13e5f80a
don't include sys/cdefs.h twice.
2009-05-19 22:48:19 +00:00
wiz
04c4f4a1d1
Sync usage and man page.
2009-05-19 22:39:52 +00:00
wiz
d4f65fc8c5
Sort option descriptions. Split usage in SYNOPSIS in two, since there
...
are two different methods of calling it.
Add arguments to option descriptions.
2009-05-19 22:35:41 +00:00
jnemeth
47371f5f63
Add -p option which outputs a property list suitable for loading with a
...
module. This is in preparation for having the kernel load an optional
<module>.prop alongside a module, which is useful for passing options
to autoloaded modules and modules loaded at boot time.
2009-05-19 22:09:59 +00:00
dyoung
d12b985d2c
Rename waittime to syncdone, make it bool, make it private to
...
cpu_reboot().
2009-05-19 22:03:16 +00:00
dyoung
96280e41f6
Use ${FINDCOMM} to avoid 'Arguments list too long'-related failure
...
of 'tags' target.
2009-05-19 22:01:34 +00:00
christos
9812fa677f
use symbolic constants and parenthesize the macro args everywhere.
2009-05-19 21:59:10 +00:00
christos
189ce7898b
always scroll when we advance past bottom. From Caleb Welton
...
cwelton at greenplum dot com
2009-05-19 21:45:14 +00:00
christos
fa64a5bf9b
warns=4
2009-05-19 20:44:52 +00:00
christos
50af0946b9
we need SHLINKINSTALLDIR to be /libexec for /bin and /sbin binaries.
2009-05-19 20:27:50 +00:00
christos
f511ba8667
don't define SHLINKINSTALLDIR in 10 places. It is done in Makefile.compat
2009-05-19 20:27:22 +00:00
dyoung
9167c17dd5
Add a detachment hook. Detach md(4) at shutdown.
2009-05-19 20:25:41 +00:00
agc
7e7091d626
Remove files which aren't used any more
2009-05-19 20:07:32 +00:00
dyoung
a94204e132
Delete wdactivate() and sdactivate(). They were no-ops, but as a
...
side-effect of registering them, config_detach(9) cleared DVF_ACTIVE
before it called wddetach() or sddetach(). Even though sd(4)'s
detachment may have subsequently failed with EBUSY, we could not
begin new disk I/O on sd(4) because the device had been deactivated.
By analogy to sdstrategy(), test device_is_active() in wdstrategy()
and if it is false set b_errno to EIO instead of initiating new
disk I/O.
XXX We should decline more politely to start new I/O, since
XXX !device_is_active() may mean simply that the device is suspended.
XXX I suppose that EIO is safe as long as system suspension is
XXX all-or-nothing.
2009-05-19 19:56:10 +00:00
phx
42b74af385
Removed old Amiga-specific "sicallback" software interrupts and replaced
...
them by MI softints. Approved by "is".
2009-05-19 18:39:26 +00:00
reinoud
2b1b74bba4
Account for the logical blocks recorded by the extent in the right endian!
2009-05-19 16:24:05 +00:00
reinoud
e186770777
On creation of a new node, don't forget to set the length of the allocated
...
space in the right endian!
2009-05-19 16:06:56 +00:00
reinoud
c3511553ae
Forgot to use the udf_rw16() on the descriptor crc lengths of FID's!
...
Also fix a few dubiously formatted checks.
2009-05-19 15:08:42 +00:00
reinoud
fbd470bae3
A descriptor's CRC lenth is 16 bit so use udf_rw16() on tag.desc_crc_len.
2009-05-19 15:07:20 +00:00
pooka
e11306504d
Set vnode op vector properly for block devices too. Makes mounting
...
a real block device work again.
2009-05-19 13:42:35 +00:00
yamt
1a764d8c67
radix priority search tree.
2009-05-19 12:39:56 +00:00
reinoud
f30b0e943b
Fix newfs_udf to create a valid disc images on bigendian machines.
2009-05-19 12:13:02 +00:00
tteras
68ab535bfd
From Jukka Salmi: Fix couple of typos from previous commit.
2009-05-19 09:34:52 +00:00
wiz
a1b5b4ecad
Specify that sorting in SEE ALSO should be done in a case-insensitive order.
...
Requested by Alan Barrett.
2009-05-19 09:04:50 +00:00
skrll
72c9ff9f0c
Whitespace.
2009-05-19 05:50:58 +00:00
agc
0df5e957ce
CHANGES 1.0.0 -> 1.99.1
...
+ released and tagged version 1.0.0; development version now 1.99.1
+ get rid of some fields which are no longer needed
+ minor name changes
+ add mmapped field to ops_data_t struct to denote that the array needs an
munmap(2) and not a free(3)
+ add an __ops_mem_readfile() function, and use it for reading files.
The function does mmap(2), and then falls back to read(2) if that fails.
Retire unused __ops_fileread() which had an unusual interface
+ drop sign_detached() from netpgp.c down into signature.c as
__ops_sign_detached()
2009-05-19 05:13:09 +00:00
bouyer
8ebd73cde8
Back out rev 1.27 now that MD implementations of spl*() have been fixed
...
to be a memory barrier.
2009-05-18 21:31:27 +00:00
ad
77e6671be0
- Remove unneded uvm_lwp_hold(), uvm_lwp_rele().
...
- Make physio_concurrency tuneable via crash(8).
- Update comments.
2009-05-18 21:12:33 +00:00
reinoud
c469916e3d
ANSI-fy. No idea why they weren't so in the first place.
2009-05-18 21:09:54 +00:00
reinoud
937ed04261
Fix *serious* bug in bswapping definitions for big endian machines.
2009-05-18 20:52:24 +00:00
reinoud
7b913c191b
Make ecma167 header file compilable by pcc
2009-05-18 20:51:03 +00:00
ad
610bc1e5aa
Don't pass a buffer to physio(), let it be allocated dynamically.
...
This leaves only scsipi and atapi doing the same.
2009-05-18 20:41:57 +00:00
dyoung
69408179ba
Make waittime static so that I know nothing else is using it.
2009-05-18 20:22:16 +00:00
dyoung
91789d5ac4
Remove 'register' qualifier from several variables. The object
...
file did not change.
2009-05-18 20:20:42 +00:00
tteras
0ab43f031c
From Tomas Mraz: Introduce union sockaddr_any and use it to make code
...
more readable. Related to trac #293 .
2009-05-18 17:40:38 +00:00
tteras
ef94861331
From Tomas Mraz: Remove variable that is not really used; only referenced
...
while uninitialized causing valgrind error.
2009-05-18 17:07:15 +00:00
tteras
5e83df8c82
From Tomas Mraz: Fix natt_flags check.
2009-05-18 17:00:42 +00:00
pooka
c94cfd7632
add some todo-items, based on a file which was lingering in my
...
local tree for apparently almost two years now
2009-05-18 15:47:28 +00:00
wiz
1791473d2b
Make HTML-ready.
2009-05-18 14:58:14 +00:00
wiz
b746c978a5
Sort errors.
2009-05-18 14:51:55 +00:00
wiz
caea0adcf4
Sort SEE ALSO.
2009-05-18 14:49:35 +00:00