| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Delete a bunch of unnecessary #includes and sort to match style(9)
while doing the above cleanup.
ok deraadt@ krw@
|
| |
|
|
|
|
|
|
|
|
|
| |
the data structures are now readable without _KERNEL needing to be defined.
ok deraadt@
there's probably a lot more of these that can be cleaned up if
anyone is interested in looking into it.
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
|
| |
for flow control with unix domain sockets, this is now done by
filling the send buffer with fake data counters.
OK naddy@; no fallout in a bulk build
|
|
|
|
|
| |
Fixes a gcc warning. No binary change.
Found by and OK deraadt@
|
|
|
|
|
|
|
|
| |
kvm_getfiles. This allows to run netstat without any extra privileges
and removes another setgid program from base..
There is still kvm reader code in there which is used for debugging
purposes (crashdump). netstat should still behave mostly the same.
deraadt@ and sthen@ agree that it is time to get this puppy in.
|
|
|
|
|
| |
delete <sys/param.h> if now possible
ok guenther
|
|
|
|
|
|
|
|
|
| |
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
| |
|
|
|
|
|
|
| |
update the printf format for them. While here, delete a now unused variable.
problem pointed out by Scott McEachern (scott (at) blackstaff.ca)
|
|
|
|
|
|
|
|
|
|
| |
- convert netstat from kvm_getfiles() to kvm_getfile2() using that
- delete kvm_getfiles() and KERN_FILE as no longer used (bump libkvm's major)
- rename kvm_getfile2() to kvm_getfiles(), kinfo_file2 to kinfo_file
and KERN_FILE2 to KERN_FILE.
ok deraadt@, millert@
ports scan sthen@
|
|
|
|
|
|
|
|
| |
as the format and no variable args.
Replace "%#0.*X" with "%#.*X": the zero-fill flag is ignored/implied
on numeric conversions when a precision is specified.
ok jung@ millert@ krw@
|
|
|
|
| |
bigger
|
| |
|
| |
|
|
|
|
| |
print 0x0 instead. Hides a lot stuff people don't need to see.
|
|
|
|
|
| |
with -v. Also netstat -P supports more than TCP now.
ok markus@ jmc@
|
|
|
|
|
|
| |
makes gcc4 happy.
ok deraadt@ miod@
|
| |
|
| |
|
| |
|
|
|
|
| |
rescinded 22 July 1999. Proofed by myself and Theo.
|
| |
|
| |
|
|
|
|
| |
millert@ ok
|
|
|
|
| |
KAME_SCOPEID should be enabled after KAME get{addr,name}info(3) merge.
|
| |
|
|
|
|
| |
some things based on sizeof(long).
|
| |
|
| |
|
|
|