Age | Commit message (Collapse) | Author |
|
|
|
from ehci spec:
The buffer pointer list in the qTD is long enough to support a maximum
transfer size of 20K bytes. This case occurs when all five buffer pointers
are used and the first offset is zero. A qTD handles a 16Kbyte buffer
with any starting buffer alignment.
|
|
|
|
overriding aborttime in udpquery() makes no sense. it causes
recursive queries to extend the timeout infinitely. nobody
but the issuer of the request should modify aborttime.
|
|
instead of an "i/o count too small", detect a missing capability (empty, null string)
before the write, and diagnose it as such.
|
|
Remove a warning in 9nfs and make it use the std. CFLAGS
(we detected the warning using -W).
|
|
|
|
|
|
|
|
|
|
and backspace to delete spaces until the previous tabstop
|
|
initialized and disable checksum offload for igbe (from sources)
|
|
|
|
|
|
|
|
|
|
addresses like: "1:2:3:4:5:6:7:255.255.255.255" caused parseip
to write beyond the ip buffer.
|
|
*alen has to be initialized to the size of the buffer
by the caller, and we are supposed to put the real
size of the address in there, but not copy more than
the original *alen value (truncate).
|
|
|
|
getaddrinfo(), ipv6 and fix EISCON typo in ape
|
|
|
|
|
|
|
|
update some names according to OpenBSD's driver (previously added device, 0x10c0, is also from OpenBSD's driver).
|
|
|
|
|
|
|
|
cleanup wifiencrypt()/wifidecrypt() routines moving tkip
and ccmp in separate routines so we dont use less stack
space.
|
|
|
|
in wpa2, the rsc field of the eapol message3 is the packet number for
*group* messages that the ap will use as there is no separate group
key message. in wpa1, we use it for the peerwise key.
|
|
do the xoring word wise for 16-byte block instead
of doing it bytewise in a loop.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
the kernel uses fixed area (TSTKTOP, TSTKSIZ) of the address
space to temporarily map the new stack segment for exec. for
386 and arm, this area was right below the stack segment which
has the problem that the program can map arbitrary segments
there (even readonly).
alpha and ppc dont have this problem as they map the temporary
exec stack *above* the user reachable stack segement and segattach
prevents one from mapping anything above or overlaping the stack.
lots of arch code assumes USTKTOP being the end of userspace
address space and changing this to TSTKTOP would work, but results
in lots of hard to test changes.
instead, we'r going to map the temporary stack programmatically
finding a hole in the address space where to map it. we also lift
the size limitation for arguments and allow arguments to fill
the whole new stack segement.
the TSTKTOP and TSTKSIZ are not used anymore so they where removed.
references:
http://9fans.net/archive/2013/03/203
http://9fans.net/archive/2013/03/202
http://9fans.net/archive/2013/03/197
http://9fans.net/archive/2013/03/195
http://9fans.net/archive/2013/03/181
|
|
|
|
aiju → what is this huge if(d != nil) {} megashit
if getdent() fails in newentry() then return immidiately
and dont override the error string.
|
|
|
|
|
|
|
|
|
|
store errno on the private process stack so its always per process
and not just per memory space. errno itself becomes a macro
dereferencing int *_errnoloc; which is initialized from main9.s
pointing to the private stack location.
various fixes in programs that just imported errno variable with
"extern int errno;" instead of including <errno.h>.
|
|
|