tron
a73f6299d6
Fix host tool build which got broken when SHA2 support was added.
2005-08-25 09:51:23 +00:00
rpaulo
fcf2b555d7
If the specificed MIB doesn't exist, then it's probably a kernel without
...
that socket type (AF_INET, AF_INET6, etc.). That's a normal condition, so
don't bail out.
Reviewed by Andrew Brown.
2005-08-24 21:33:57 +00:00
rpaulo
f16cc5d95a
Don't break each name in the AUTHORS section.
2005-08-24 21:31:45 +00:00
elad
3722a15dc3
Add support for SHA2 in cksum.
2005-08-24 19:59:08 +00:00
elad
eee731374f
Fix some lint warnings.
2005-08-24 19:44:45 +00:00
ginsbach
2ab55b55e7
Add description of service keys as these maybe in one of several forms.
2005-08-24 14:46:59 +00:00
ginsbach
21b9a99b7c
Implement "ethers".
2005-08-24 14:31:02 +00:00
tron
4616c2367c
Fix a one byte off error which causes "less" to crash if you view a
...
large file, jump to the end, scroll backwards with "b" and try to
search backwards afterwards.
2005-08-24 11:33:09 +00:00
elad
d5f9e57cff
Put back in information about the deprecated flags in the man-page. Be
...
explicit about them being removed, and suggest using the ``-a'' flag.
2005-08-23 15:29:48 +00:00
elad
b4df0b712a
Note about deprecated flags.
2005-08-22 14:47:55 +00:00
elad
7345c13cbb
Add comments about intentionally not documenting the deprecated -1, -2, -4,
...
-5, -6, and -m flags so they are not mistakenly get documented again in the
future.
2005-08-21 19:33:10 +00:00
elad
a7d7292dfa
Some changes to cksum:
...
1. Deprecate the -1, -2, -4, -5, -6, and -m flags. For now, simply remove
them from the documentation.
2. Add and document ``-a algorithm''.
2005-08-21 18:51:44 +00:00
lukem
c114b2eb28
Don't clear the trailing character on the auth_url() username;
...
we now use getline() and that newline strips for us.
Problem found & fixed by Mark Davies.
2005-08-21 16:16:33 +00:00
christos
c4ee9f6d2e
64 bit inode changes
2005-08-19 02:07:18 +00:00
rpaulo
70d95a4d7d
/sys is no longer available, change it to /usr/src/sys.
2005-08-18 01:09:02 +00:00
christos
d3b0b4d68a
PR/30750: Mark Davies: ssh gives bogus complaint when gssapi authentication
...
fails. The problem was that different ssh programs were compiled with different
cpp flags. In particular, ssh-keysign was affected. Move all the CPPFLAGS
to Makefile.inc. Note that I am not moving the library portion of the defines
because we don't want to link everything with all the libraries.
2005-08-18 00:19:28 +00:00
uebayasi
976fee6969
!' needs an escape sequence (
\&'). New sentence, new line.
...
Reviewed By: wiz
2005-08-17 00:58:19 +00:00
elad
bbf85a429b
Use PRIxPTR when printing a pointer.
2005-08-12 14:08:16 +00:00
rpaulo
cccbf666c8
Query the v6 sockets only if USE_INET6 != "no". Patch provided by Jukka Salmi
...
on PR#30963.
ok atatat@
2005-08-10 20:32:57 +00:00
rpaulo
0459285527
Fix a typo in the islistening() routine. Patch provided by Jukka Salmi
...
on PR#30963.
2005-08-10 20:21:14 +00:00
mrg
3a96c9add9
add a "file" to the arguments that isn't enclosed in square brackets
...
making it clear that at least one file/directory argument is required
in both the manual and usage. "find" with no args currently barfs but
these documents implied it would do something useful.
2005-08-10 06:51:24 +00:00
christos
81c9862ba6
- Minor logical restructure. Make sure we can create the client before
...
even bothering to call makemsg(); (Liam Foy)
- Use MAXPATHLEN consistently (Liam Foy)
- WARNS=3, KNF and misc cleanups
2005-08-09 23:41:38 +00:00
christos
573f57f885
Say which daemon produces the data and correct the default of 3 minutes
...
(Liam Foy)
2005-08-09 23:28:59 +00:00
christos
abefed98a7
Add typedefs for DuplicateProc and FreeProc from Max Okumoto.
2005-08-09 21:36:42 +00:00
christos
81b135acdf
From Max Okumoto:
...
- Remove casts to NULL.
- Remove space between cast and object.
2005-08-08 16:42:54 +00:00
he
4577ef8d16
Replace usage of caddr_t with intptr_t, to allow this to build cleanly
...
on both 32- and 64-bit archs.
2005-08-08 12:11:52 +00:00
blymn
64e76e4ea0
Don't error when tape drives are not configured on a system.
2005-08-08 11:31:48 +00:00
christos
a35a74cd06
Fix pasto: don't call the wrong function from the wrapper. Reported by perry.
2005-08-08 01:28:08 +00:00
elad
dbc883fab2
Use sysctl to read live kernel PF_INET PCBs.
2005-08-07 17:10:36 +00:00
christos
9eb4baf479
From Liam Foy:
...
- Print uptime in secs if uptime is less than 1 minute
- If at least one call to onehost() fails, return one (allows for external error detection)
- Avoid leaks, use clnt_destroy (from OpenBSD)
- err(3) cleans
From me:
- lint cleanups
- more KNF
2005-08-07 16:01:45 +00:00
cube
3b40577510
- Make sure devitab is correctly handled, in case we're removing the entry
...
it contains,
- Properly update the d_ihead list: if we have remaining aliases, use them
to fill in the gap
Thanks to Bernd Ernesti for the test cases.
2005-08-07 15:11:12 +00:00
blymn
132bb1fe89
Add tape statistics.
2005-08-07 12:32:38 +00:00
blymn
71c77b437a
Add support for tape statistics.
2005-08-07 12:23:20 +00:00
blymn
681d2bb37b
Add support for gathering tape statistics.
2005-08-07 12:21:46 +00:00
elad
c1494c99c6
Use sysctl to fetch IP, ICMP, TCP, and UDP statistics.
2005-08-06 17:58:13 +00:00
rpaulo
ec70a5dc17
Explained how -B works and how it works in conjunction with -I or -s.
...
Reviewed by wiz@
2005-08-06 11:23:32 +00:00
elad
8920c39bb8
Fix printing formats.
2005-08-05 12:16:51 +00:00
christos
6240774069
More KNF cleanups from Max Okumoto
2005-08-05 00:53:18 +00:00
rpaulo
9ce7ce6bf0
Added #include <kvm.h> since netstat.h, which is included too, needs it.
2005-08-04 19:41:28 +00:00
rpaulo
22a0fcf290
Added bpf.c.
2005-08-04 19:40:00 +00:00
rpaulo
66daeed445
Implemented the userland part of the BPF statistics and BPF peers,
...
net.bpf.stats and net.bpf.peers sysctls respectively. netstat(1) now
has an additional syntax:
netstat [-s] [-B] [-I Interface]
Only the super user can see a list of BPF peers with the following command:
# netstat -B
Active BPF peers
PID Int Recv Drop Capt Flags Bufsize Comm
4941 lo0 0 0 0 I--S- 262144 tcpdump
252 ex0 19668 0 5 I-RS- 32768 dhclient
And every user can see the BPF statistics with:
$ netstat -s -B
bpf:
19669 total packets received
5 total packets captured
0 total packets dropped
This idea came from FreeBSD (Christian S.J. Peron) but, currently, they
doen't have a userland utility in the base system to read the sysctls.
Reviewed by: christos@
2005-08-04 19:39:40 +00:00
christos
9f80093159
remove unnecessary casts to void * functions (Max Okumoto)
2005-08-04 00:20:12 +00:00
christos
62a6753895
from Max Okumoto: debug should be int, not boolean.
2005-08-03 20:55:01 +00:00
xtraeme
5057789f26
Don't show ptyfs in the display, it's useless.
2005-08-01 02:38:03 +00:00
christos
244d270d1b
warns=3, delint.
2005-07-30 16:19:09 +00:00
christos
d8213a2a2a
- Check stdin, stdout, and stderr for a tty. From Liam Foy for SUSv3
...
compliance.
- While here, delint, prototypes, getsetprogname, warns=3
2005-07-30 16:14:39 +00:00
christos
e8323719e6
Usage should exit with to according to posix (from Liam Foy).
...
While here, pass WARNS=3 and lint
2005-07-30 14:43:13 +00:00
yamt
19ff568b84
allow configuration without swap.
2005-07-30 06:40:30 +00:00
christos
b3350d3e14
Remove unused files. From Max Okumoto.
2005-07-30 00:49:13 +00:00
christos
0d20a48365
remove -static.
2005-07-29 01:19:20 +00:00