Age | Commit message (Collapse) | Author |
|
ok schwarze@
|
|
In particular, do not call getnetbyaddr(3), use gethostbyaddr(3) only.
Do not call setnetent(3) and the dummy sethostent(3).
OK henning@; and deraadt@ agrees with the general direction.
|
|
|
|
|
|
|
|
pools struct out. however, struct pool in the kernel contains lots
of things that userland probably isnt interested in, like actual
mutexes, and probably shouldnt get easy access to, like pointers
to kernel memory via all the lists/trees.
this implements a kinfo_pool structure that has only the data that
userland needs to know about. it cuts the sysctl code over to
building it from struct pool as required and copying that out
instead, and cuts userland over to only handling kinfo_pool.
the only problem with this is vmstat, which can read kernel images
via kvm, which needs some understanding of struct pool. to cope,
the struct pool definition is guarded by if defined(_KERNEL) ||
defined(_LIBKVM) as inspired by sysctl which needs to do the same
thing sometimes. struct pool itself is generally not visible to
userland though, which is good.
matthew@ suggested struct kinfo_pool instead of struct pool_info.
the kinfo prefix has precedent.
lots of people liked this.
|
|
inconsistent usage in route(8) noted by Gregor Best (gbe (at) ring0.de)
|
|
ok guenther
|
|
Nothing use them for the moment, but here is the plan:
Since a route lookup is always necessary to output a packet it makes
sense to store all the information regarding how the packet should be
sent in the routing entry. This will save us some expensive lookups
on address lists.
But once we have all the information about our addresses in the routing
table, we can even use it in the input path with the hope that the number
of lookups in the forwarding case can be reduce to one.
ok henning@, chris@
|
|
still not identical. OK sthen@ mpi@ jca@
|
|
|
|
Found by csszep (at) gmail.
|
|
|
|
OK benno@ deraadt@
|
|
ok deraadt@
|
|
the previous value again and checking prev.next is still next.
maybe ok guenther
|
|
pointer is forthcoming.
|
|
|
|
in the base. Ports fixes to follow shortly for the two ports (gkrellm
and net-snmp) affected.
ok zhuk@ millert@
|
|
hideroot to show them only to root.
OK deraadt@
|
|
which allows us to modify ifnet structure in a relatively safe way;
discussed with deraadt, ok mpi
|
|
ok benno
|
|
|
|
update the printf format for them. While here, delete a now unused variable.
problem pointed out by Scott McEachern (scott (at) blackstaff.ca)
|
|
|
|
They do not indicate a problem with the reduction of namespace export,
but got suckered into the 1999 plan.
ok benno
|
|
- 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@
|
|
OK claudio@
|
|
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.
|
|
OK markus@ claudio@
|
|
|
|
ok guenther millert kettenis
|
|
|
|
|
|
|
|
|
|
|
|
"Input packets dropped" isn't really a good description of what
happened when we failed to allocate a new node in the net80211 stack.
This allocation doesn't happen for every packet, only for new nodes
that appear in reach of the antenna.
ok net80211 expert department (we have vacancies, apply within)
|
|
no objection from mcbride@ krw@ markus@ deraadt@
|
|
|
|
reminded by Andreas Bartelt.
|
|
Prompted by the mail from Andreas Bartelt, tested by Andreas and me.
ok henning
|
|
specifically, rewrite them to permit some markup in the column headers,
and use "Ta" instead of literal tabs; mandoc does not currently match groff
100%, but a mandoc fix may be some time off, and we've gone enough releases
with poorly formatting column lists.
in some cases i have rewritten the lists as -tag, where -column made
little sense.
|
|
construct;
this also sidesteps what seems to be a problem with mandoc, in that
"-column -compact" seems to mess up the formatting. thus these pages should
now have their lists formatted nicely (i.e. correctly aligned and with indent
applied);
as a side note, the fact that headers are not properly marked up is another
issue which will be addressed separately (a mandoc fix is needed, i think).
i have fudged a few of these to mark up properly, since the workaround does
make sense for some pages.
as another side note, i haven;t fixed man7, as i need to prepare a separate
diff for kristaps and ingo.
|
|
|