summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-04-10postscript: remove private copy of utf8 implementation (from sources)cinap_lenrek
2013-04-10etheriwl: add pci id for Centrino Wireless-N 100 (thanks fgudin9)cinap_lenrek
2013-04-05ape: inet_ntop() print v4 mapped addresses in v6 as dotted quadcinap_lenrek
2013-04-04sam(1): document -i flagppatience0
2013-04-04sam, samterm: add -i flag to make tab insert spaces up to the next tabstop ↵ppatience0
and backspace to delete spaces until the previous tabstop
2013-04-03intel ethernet: default to 16 byte cache line size when not properly ↵cinap_lenrek
initialized and disable checksum offload for igbe (from sources)
2013-04-03pci: add pci bridge id for Intel 6 Series/C200 (from sources)cinap_lenrek
2013-04-03pushtls: remove unneccesary include <auth.h> (from sources)cinap_lenrek
2013-04-02add import -z option to skip initial tree negotiation (from mycroftiv)cinap_lenrek
2013-04-02ape: inet_pton() parse dotted address to IPv4 mapped addresses for AF_INET6cinap_lenrek
2013-04-02fix parseip()cinap_lenrek
addresses like: "1:2:3:4:5:6:7:255.255.255.255" caused parseip to write beyond the ip buffer.
2013-04-02ape: check *alen before copying in getpeername(), getsockname() and accept()cinap_lenrek
*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).
2013-04-01ape: add inet_aton()cinap_lenrek
2013-03-31python: update python build configuration to new ape capabilities like ↵cinap_lenrek
getaddrinfo(), ipv6 and fix EISCON typo in ape
2013-03-31ape: initial IPv6 support, inet_pton()/inet_ntop(), getaddrinfo()/getnameinfo()cinap_lenrek
2013-03-31ape: define FD_SETSIZE for select()cinap_lenrek
2013-03-30mergeppatience0
2013-03-30ether82563: add untested devices from OpenBSD's em(4) Intel driver. also ↵ppatience0
update some names according to OpenBSD's driver (previously added device, 0x10c0, is also from OpenBSD's driver).
2013-03-29ape: fix potential double close in socket() and protect rock chain with spinlockcinap_lenrek
2013-03-24ether82563: add 82562V-2 didppatience0
2013-03-24fortunes: Now reboot twice[1].stanley lieber
2013-03-24wifi: cleanupcinap_lenrek
cleanup wifiencrypt()/wifidecrypt() routines moving tkip and ccmp in separate routines so we dont use less stack space.
2013-03-24wpa(8) document -1 and -2 optionscinap_lenrek
2013-03-23wpa: fix rsc for wpa2cinap_lenrek
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.
2013-03-23unrolling loops in aesCCMencrypt() and aesCCMdecrypt()cinap_lenrek
do the xoring word wise for 16-byte block instead of doing it bytewise in a loop.
2013-03-23wpa: remove debug printcinap_lenrek
2013-03-23mergecinap_lenrek
2013-03-23wpa2 support continued...cinap_lenrek
2013-03-23add experimental wpa2/ccmp supportcinap_lenrek
2013-03-22fortunes: stockholmkhm
2013-03-17mergecinap_lenrek
2013-03-17wpa: initial support for rsncinap_lenrek
2013-03-17aux/cpuid: xsaveoptftrvxmtrx
2013-03-16aux/cpuid: better looking arraysftrvxmtrx
2013-03-16aux/cpuid: fix wrong extfunc1 bitsftrvxmtrx
2013-03-16sysexec: fix possible segment overlap with temporary stackcinap_lenrek
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
2013-03-14mergecinap_lenrek
2013-03-14hjfs: fix the megashitcinap_lenrek
aiju → what is this huge if(d != nil) {} megashit if getdent() fails in newentry() then return immidiately and dont override the error string.
2013-03-12inst/mountcwfs, inst/mounthjfs: fix typosppatience0
2013-03-12mergecinap_lenrek
2013-03-12ether8169: add RTL8101/8102E macidcinap_lenrek
2013-03-12etheriwl: 6005 - set rom calibration flags and temperature sensor offsetftrvxmtrx
2013-03-11ape: threadsafe errnocinap_lenrek
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>.
2013-03-11mergecinap_lenrek
2013-03-11ape: fix thread race with close() and select()cinap_lenrek
in ape close(), do the real filedescriptor _CLOSE() *after* we cleared the _fdinfo[] slot because once closed, we dont own the slot anymore and another process doing open() can trash the slot. make sure open() retuns fd < OPEN_MAX. double check in _startbuf() holding mux->lock if the fd is already buffered preveting running double copyprocs on a fd. dont zero the mux->rwant/ewant bitmaps at the end of select() as we do not hold the mix->lock. in _closebuf() kill copyproc while holding the mux->lock to make sure the copyproc isnt holding it at the time it is killed. run kill() multiple times to make sure the proc is gone.
2013-03-11ape/malloc: make malloc and free threadsafe for pythoncinap_lenrek
2013-03-11ape/stdio: make fopen() quasi threadsafe for pythoncinap_lenrek
python uses processes sharing memory. it requires at least fopen() to be called by multiple threads at once so we introduce _IO_newfile() which allocates the FILE structure slot under a lock.
2013-03-10wpa(8): fix typosppatience0
2013-03-10ape: check for invalid filedescriptors in select()cinap_lenrek
2013-03-10nusb/disk: add small delay after unit start command (for thinkpad sdcard reader)cinap_lenrek
diskparts fails on thinkpad x200 sdcard reader if we dont give the unit some time to startup. the device took about 100ms to become ready so status poll loop with a long timeout would be overkill.