Age | Commit message (Collapse) | Author |
|
|
|
now call the poll backend. With this change we implement greater
poll(2) functionality instead of emulating it via the select backend.
Adapted from NetBSD and including some changes from FreeBSD.
Tested by many, deraadt@ OK
|
|
|
|
argument. old cred only calls user suser_ucred. this will allow future
work to more flexibly implement the idea of a root process. looks like
something i saw in freebsd, but a little different.
use of suser_ucred vs suser in file system code should be looked at again,
for the moment semantics remain unchanged.
review and input from art@ testing and further review miod@
|
|
altq expects struct pkthdr in a mbuf chain.
this fixes a panic caused by uninitialized m_pkthdr.tags when altq is
enabled on ppp.
also, initialize m_pkthdr.len and m_pkthdr.rcvif as a caller of
MGETHDR is supposed to do.
report and test by matthieu@
ok deraadt@, henning@, dhartmei@
|
|
pushed for by tygs@netcologne.de. Apparently we also now known how to talk
to the lawyers there, if we were so mad. Note that a few other copyright
issues in pppd still remain, so this does not close this story.
|
|
|
|
make altq actually work with kernl ppp.
add if_start for the altq case to kick transmission.
don't call ppp_restart() to prevent useless interrupt
loop under rate-limiting.
|
|
follows BSD/OS practice and ucd-snmp code (FreeBSD does it for specific
interfaces only).
was: if_lastchange get updated on every packet transmission/receipt.
now: if_lastchange get updated when IFF_UP is changed.
|
|
|
|
this was done long ago in NetBSD during an update to ppp-2.3b4.
|
|
|
|
|
|
|
|
ppp_tty.c:790: warning: `s' might be used uninitialized in this function
|
|
|
|
|
|
|
|
|
|
|