Commit Graph

181098 Commits

Author SHA1 Message Date
agc 2eb852f377 Get rid of a few TODO items that aren't needed. 2009-05-21 00:35:01 +00:00
agc 648b5a9919 CHANGES 1.99.1 -> 1.99.2
+ various minor cleanups
+ fix longstanding pasto where the key server preference packets are
  displayed with the correct ptag information
+ up until now, there has been an asymmetry in the command line
  options for netpgp(1) - whilst a file may have signature information
  added to it with the "--sign" command, there has been no way to
  retrieve the contents of the file without the signature.  The new
  "--cat" option does this (there are synonyms of "--verify-show" and
  "--verify-cat") - the signature is verified, and if it matches, the
  original contents of the file are sent to the output file (which
  defaults to stdout, and can be set with the --output option on the
  command line).  If the signature does not match, there is no output,
  and an EXIT_FAILURE code is returned.
+ revamped netpgp(1) to make it clear what commands are available, how
  these commands relate to each other, and which commands take custom
  options
2009-05-21 00:33:31 +00:00
dyoung 5f33bcda52 Install disk_begindetach.9 links. 2009-05-20 22:48:05 +00:00
christos b19e027aab fix signed/unsigned comparisons and const cast away (untested) 2009-05-20 22:31:46 +00:00
christos f1dbbfab6d Set endptr if the base is not supported. The opengroup spec does not special
case this condition. Note: glibc has the same problem.
2009-05-20 22:03:29 +00:00
christos fd67370208 mention that these functions return 0 and set errno to ERANGE on invalid base. 2009-05-20 22:01:34 +00:00
ad 51a76d6f11 Add a reminder about ldd depending on ld.so. 2009-05-20 19:38:38 +00:00
plunky 60180f5cfb adjust markup language according to mdoc(7)
.Fa	for function arguments (instead of Ar)
 .Va	for variable names (errno)
 .Ft	for structure type
2009-05-20 17:22:56 +00:00
christos e8266b2f6a add /libexec versions of rtld. 2009-05-20 16:22:22 +00:00
christos ebd7e1e10a catch up with rtld changes 2009-05-20 16:20:01 +00:00
reinoud b33f7bb0ef Retire IN_CALLBACK_ULK flagging since its not used anymore and the old
assertions on it would trigger without cause.
2009-05-20 15:30:26 +00:00
pooka d6c25c2b9b wait() for dead ssh processes (but don't block, so we might have
one teeny zmobie in the system).
2009-05-20 15:04:36 +00:00
pooka b5cb6a6ca0 Fix SNAFU in previous: connection handshake is already handled by
the connect routine now, so we're not required/allowed to do it twice.
Makes reconnect on dead link work again.
2009-05-20 14:39:42 +00:00
pooka dac06153a9 Copyright year management. no functional change (unless sarah disagrees) 2009-05-20 14:08:21 +00:00
pooka 8ff915319e Introduce -c [12], which can be used to open 1 or 2 ssh connections
to the server.  If "2" is specified, a separate connection is used
for data and directory operations.  Using two connections can
significantly increase directory operation performance on a saturated
link, at least up to 30x faster.
2009-05-20 13:56:36 +00:00
reinoud 2d212d801f Descriptor version is 16 bit and not 8 so use udf_rw16() to access them.
UniqueID was written in the logical volume integrity without byteswapping for
bigendian machines.
2009-05-20 13:25:50 +00:00
dent 8347be3c0a Fix some outdated info/other minor clean up. 2009-05-20 12:44:29 +00:00
yamt 89ff3f9c4f - fix various bugs in the iteration code.
- add assertions.
- unittest: more tests.  verify query results by comparing with linear search.
2009-05-20 10:56:29 +00:00
jnemeth 0633077892 keep up with changes subr_kobj.c 2009-05-20 08:32:35 +00:00
he bf6708350b Spread some 'const' to deal without warnings with string constants. 2009-05-20 08:16:52 +00:00
vanhu f61fedc250 typo 2009-05-20 07:54:50 +00:00
wiz be6de197c1 Punctuation nit and typo fix. 2009-05-20 06:38:39 +00:00
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