summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2013-03-09provide wpa(8) manual pagecinap_lenrek
2013-03-09aux/wpa: check reply counter only after mic checkcinap_lenrek
2013-03-09add wpa key setup program aux/wpacinap_lenrek
2013-03-09wifi: add experimental wpa / tkip encryption supportcinap_lenrek
2013-03-09factotum: add wpapsk client authenticationcinap_lenrek
2013-03-08added geigerstatsaiju
2013-03-07fortunes: He wasn't asking about plan9port.stanley lieber
2013-03-06aan: fix structure padding for amd64cinap_lenrek
2013-03-03fltfmt: make %g print decimal numbers less than 1 with a leading zeroppatience0
2013-03-03fltfmt: %.0g should print with one significant figureppatience0
2013-03-01fltfmt: fix %g not printing as %e in some cases when it shouldppatience0
2013-03-01nusb/kb: fix "Home" key producing "7" with some usb keyboards (import from ↵cinap_lenrek
sources patch/usb-khome) Fixes the problem with certain keyboards generating "7" on "Home" key press. http://9fans.net/archive/2013/03/8 http://9fans.net/archive/2013/03/10
2013-02-286c: fix 32bit pointer truncation (from patch/6c-sugen-types)cinap_lenrek
1. Go group spotted that a slightly-obscured pointer move was done by AMOVL not AMOVQ. 2. Inspecting the code further, I noticed that other pointer types were set to TLONG not TIND, causing similar truncation of pointers to 32 bits.
2013-02-28ape: add PASS_MAX constant for getpass() to limits.h (from patch/ape-pass_max)cinap_lenrek
add PASS_MAX to limits.h for ape, and make getpass respect it. also increase the size of the maximum passwords (we use long ones at work). Needed for native port of SVN (in progress).
2013-02-27termrc: termrc.local can start ndb/cs for us, so check if its already runningcinap_lenrek
2013-02-27add cpurc.local and termrc.local hookscinap_lenrek
2013-02-27fltfmt: %.ng is supposed to print a number with n significant figures, but ↵ppatience0
it prints it with n+1. This fixes that behaviour.
2013-02-27dont use full qualified domain names in example configurationcinap_lenrek
use shorter sysnames instead of full qualified domain names so one doesnt have to setup the dns server in the example configuration.
2013-02-25cwfs: fix mtime for dump yyyy directoriescinap_lenrek
2013-02-24cdproto: only include binaries for $objtype, filter temporary filescinap_lenrek
2013-02-23sdiahci: only wait for drives that are in the process of becoming ready when ↵cinap_lenrek
onlining, add *noahci option
2013-02-23libip: make myetheraddr() accept # device namescinap_lenrek
2013-02-22ether8169: add another RTL8111/8168B mac idppatience0
2013-02-22ndb(2): fix wrong attr namesftrvxmtrx
2013-02-22sdiahci: fix mistakecinap_lenrek
2013-02-22sdiahci: prevent nil pointer dereference on spurious interrupt statuscinap_lenrek
on some controllers, we get bogus interrupt indication for non present drives. ack the irq but ignore.
2013-02-22ether8169: add RTL8111e mac id (thanks glorfdev for the patch)cinap_lenrek
2013-02-21mergecinap_lenrek