mycroft
9822fee1d0
Make the code to determine whether we need to byte-swap headers at least
...
pretend to work on 64-bit hosts (and not overrun an array).
2000-07-26 15:19:35 +00:00
simonb
9c7e8fa55d
Remove white space after \ line continuation char.
2000-07-26 15:16:28 +00:00
thorpej
79e0feb179
Install ssh_config and sshd_config for `distribution' target.
2000-07-25 18:54:09 +00:00
thorpej
8f6bf0e264
Add a build-framework for an SSH implementation which is not
...
yet part of the NetBSD source tree. These Makefiles are a
noop until such time as that implementation is committed.
2000-07-25 16:32:24 +00:00
ad
1784978a24
- Wrap line.
...
- Minor oops in a comment.
2000-07-24 15:15:25 +00:00
ad
1b7b60f391
RCS ID police.
2000-07-24 11:59:38 +00:00
mycroft
98987090cb
Fix library order.
2000-07-23 22:23:14 +00:00
wiz
563d6ee1be
Add format string to fprintf().
2000-07-23 22:18:44 +00:00
mycroft
6ea1997e79
Fix problem building lint.7.
2000-07-23 22:17:14 +00:00
simonb
0afebfffdf
Redo previous slightly differently - restore the behaviour of two
...
characters for the tty name and the first 'T' of 'TTY' hanging over
the blank column at the end of the username field.
2000-07-22 03:14:06 +00:00
mjl
ecb8be475b
Fix name comparison bug due to questionable microoptimisation,
...
reported by Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
in PR/10638.
2000-07-21 01:21:31 +00:00
jdolecek
654400f740
ectx_sanify(): ditch utterly broken 'optimization', which caused incorrect
...
emulation structures to be used in every even case if default emulation
and emulation of process differed.
Bug found by Bill Studenmund.
2000-07-20 20:47:02 +00:00
itojun
e07dc430ef
sync with net/pfkeyv2.h change. do not assume SADB_[EAC]ALG numbers are
...
continuous. sync with kame.
2000-07-20 16:23:17 +00:00
ad
6afadc9fb4
Simple const.
2000-07-19 10:52:35 +00:00
enami
069d55ea4c
- Free storage allocated by fparseln.
...
- Handle comment only or empty line in the parser.
2000-07-19 07:22:53 +00:00
ad
677a105692
More work on newsyslog(8):
...
- Add some comments. It might be getting a little unclear what's going on.
- Make it useful as non-root.
Also, some new features taken from FreeBSD. The last two are not well
tested yet:
- Specifing log files on the command line limits operation to those files.
- Add cyclic time specification for periodic trimming.
- Add restricted ISO-8601 time specification for periodic trimming.
2000-07-18 15:59:24 +00:00
jdolecek
2d6604a645
Do not mmap() with MAP_PRIVATE - looks like kernel tries to preallocate
...
some memory in case the mmapped contents would be changed and this fails
for very large files; it's unnecessary anyway, cmp(1) does not change file
contents in any way.
This fixes bin/10625 by Uwe Klaus.
While here, change the code to fallback to classic stdio if mmap fails.
2000-07-18 10:23:43 +00:00
lukem
b2a6191c15
add rfc 2389, since that's now supported
2000-07-18 07:18:36 +00:00
lukem
7816d2586e
add support for FEAT and OPTS commands with features' and
opts'.
...
(from RFC 2389).
add support for MLST & MLSD (machine parseble listings) with 'mlst', 'mlsd'
and 'pmlsd' (mlsd |$PAGER) commands. (from draft-ietf-ftpext-mlst-11)
rename remotesyst() to getremoteinfo(), and modify to parse the result from
FEAT (if supported), and take into account the support for the various
extensions such as MDTM, SIZE, REST (STREAM), MLSD, and FEAT/OPTS.
put each feature into one of the following categories:
- known to work (explicit FEAT)
- unknown but assume works until explicit failure, when it's
then tagged as `known not to work'.
- known not to work (FEAT succeeded but didn't return anything,
or was unknown and then explicit failure)
assign results into features[] matrix.
add support to getreply() so that an optional callback will be called
for each line received from the server except for the first and last.
this is used in FEAT (and MLST) parsing.
modify various commands to check if REST (STREAM), MDTM and SIZE are
explicitly or implicitly supported before using.
fix `syst' when verbose is off.
minor knf (indent goto labels by one space, etc).
simply various command usage handlers by assuming that argv != NULL except
for quit() and disconnect().
2000-07-18 07:16:52 +00:00
lukem
6f9c683fe4
minor knf. call setbinary()/setascii() with non-NULL 2nd arg
2000-07-18 06:49:21 +00:00
lukem
144c518689
convert to new knf
2000-07-18 06:45:03 +00:00
jdolecek
320186a83a
add comma between xrefs in SEE ALSO
2000-07-16 22:05:46 +00:00
mrg
b64bf9c5ef
update to openssl 0.9.5a
2000-07-16 11:32:07 +00:00
itojun
f39d44cbaf
repair inet6.ip6 stat (broken in 1.4 -> 1.5).
2000-07-16 03:07:20 +00:00
enami
ce5e5c761e
- Set the minimum width for login name to 4, the width of "USER".
...
- Fix the number of colmuns left for proc. args. Previously, an effect of
NUL was canceled implicitly, but now we must handle it explicitly.
- Fix the width for tty name.
2000-07-15 22:45:14 +00:00
simonb
34d4c12031
Use KERN_CONSDEV for determining the console device instead of CPU_CONSDEV
...
which is not available on all ports.
2000-07-13 14:28:07 +00:00
ad
5bf219a1a3
- Use _PATH_VARRUN.
...
- Address PR 10577 from mjl: recognise '.' as user/group seperator.
2000-07-13 11:28:50 +00:00
itojun
710d2cd983
remove pulldown statistics
2000-07-13 11:07:34 +00:00
assar
b4c7f0f535
fix the krb5 su to ordinary user case, from Mark Davies
...
<mark@MCS.VUW.AC.NZ>
2000-07-13 08:37:10 +00:00
itojun
e233a99759
do not print m_pulldown statistics. it is too experimental and
...
belongs to kame tree only (not for *bsd tree).
2000-07-13 03:53:03 +00:00
simonb
fdbafc0681
For the -i option, don't convert a single space before a tab stop to a
...
tab. Fixes PR bin/5797 from Todd Vierling.
2000-07-13 02:07:53 +00:00
ad
682d5ce7b8
Xr passwd.conf
2000-07-11 12:12:53 +00:00
ad
82fb41b688
English.
2000-07-11 12:12:18 +00:00
ad
543370583e
parse(): be sure to clear *log before filling.
2000-07-11 12:06:32 +00:00
ad
ef0846927c
- Detail flags in manpage using a table.
...
- Typo patrol.
- Add new flag, `p': keep zero'th historical log file uncompressed (plain).
Inspired by woods' newsyslog package.
2000-07-11 11:39:46 +00:00
kleink
a1359f90c2
-s: Replace the reference to strcmp(3) with a functional description.
2000-07-11 06:47:21 +00:00
eeh
6697064b0d
Make this compile on sparc64.
2000-07-10 22:45:25 +00:00
ad
e854f5df38
Sorry about breakage - no connectivity at evenings or weekends for me. Anyway:
...
- Put back `-n' option. This is a slight improvement on its predecessor.
- More paranoid error checking.
- Fix miscellaneous buglets.
2000-07-10 11:15:07 +00:00
itojun
4806b1729d
printf() pedant - even if we are sure that there's no %-formatted in a
...
varaiable, don't pass variable alone to printf().
From: kris@freebsd.org (FreeBSD-current usr.bin/hexdump/display.c 1.4 -> 1.6)
2000-07-10 10:09:04 +00:00
assar
e2ba218ce3
print size_t as casted to (u_long) with %lu
2000-07-10 02:23:04 +00:00
assar
8d33b0b319
add Kerberos5 support
2000-07-10 02:09:15 +00:00
assar
66ba16788d
repair, simplify, and improve the Kerberos part
2000-07-10 01:45:24 +00:00
aymeric
51ccad7517
newsyslog wouldn't parse the count field because sscanf return value was
...
tested against the wrong value (0 != 1)
2000-07-09 12:14:01 +00:00
enami
43bbf1ae3c
- Kill the auto variable Pflag like other ch* commands.
...
- Pass NULL instead of 0 where a pointer is expected.
- Use consistient error message format.
- Use tab for basic indentation.
2000-07-08 03:14:50 +00:00
mjl
9493ab0864
Add some validity checks for seed and password.
2000-07-07 15:45:00 +00:00
ad
c9545d3e5d
Back out previous two.
2000-07-07 15:42:35 +00:00
mjl
dcdbb27d5c
Make it deal with skeykeys file containing different hash
...
algorithms. Also don't grep for each element but make awk do the work
once.
2000-07-07 15:19:09 +00:00
mjl
cd5004ad3d
Adapt to RFC2289 S/Keys by pulling in changes from OpenBSD. Also
...
ANSIfied and fixed a bug in hex dump mode.
2000-07-07 15:18:14 +00:00
itojun
bbef2fbaac
errx?/warnx? audit. do not pass variable alone, use %s. idea from openbsd
2000-07-07 15:10:32 +00:00
itojun
82cbc88d2a
pull rpc/nettype.h in, for some of function prototype. checked by fvdl
2000-07-07 15:00:57 +00:00