summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-27kernel: add secalloc() and secfree() functions for secret memory allocationcinap_lenrek
The kernel needs to keep cryptographic keys and cipher states confidential. secalloc() allocates memory from the secret pool which is protected from debuggers reading the memory thru devproc. secfree() releases the memory, overriding the data with garbage.
2016-08-27libc: add poolisoverlap() and definitions for Pool *secrmemcinap_lenrek
2016-08-26Bfn: set +xaiju
2016-08-25document Bfnaiju
2016-08-25fix Bfn botchaiju
2016-08-25add Bfn scriptaiju
2016-08-20mergecinap_lenrek
2016-08-20vga/igfx: add pci did's for kenjis intel graphics cards.cinap_lenrek
2016-08-20mergecinap_lenrek
2016-08-20vga/igfx: work in progress fdi link train for sandy bridge, properly ↵cinap_lenrek
calculate fdi and displayport lane count
2016-08-18fix awk format printing bugs (thanks aiju)spew
2016-08-16devmnt: fix mistake in mntrahread()cinap_lenrek
mntrahread() had the prefetch window condition wrong so it would very agressively prefetch ignoring the prefetch window.
2016-08-15webfs: dont include http status in "needkey" error stringcinap_lenrek
2016-08-15libframe: consistent use of nil vs. 0cinap_lenrek
2016-08-15libflate: add bounds checking on decode array, add sanity checks in hufftab()cinap_lenrek
2016-08-14ndb/cs: don't lookup AAAA records for IL, make sure translated address is ↵cinap_lenrek
IPv4 for IL, consistent use of nil vs. 0 for pointers
2016-08-14ip/il: dont attept to connect over IPv6, IL only supports IPv4 packetscinap_lenrek
2016-08-146c: subsitute floating point registers eleminating MOVSD and MOVSS ↵cinap_lenrek
instructions in peephole pass
2016-08-10ratrace: fix fork/exec race with "nohang" procctl (like a debugger)cinap_lenrek
2016-08-08document mplogic functionsaiju
2016-08-08auth/fgui: use pale colorscinap_lenrek
2016-08-08libcontrol: primitive text entry cut and paste with mousecinap_lenrek
2016-08-08hgwebfs: make hgwebfs prompt for passwordcinap_lenrek
2016-08-08webfs: avoid retry loops when we got a bad key in factotumcinap_lenrek
2016-08-08webfs: include factotum key query in error string for 401/407 Unauthorized ↵cinap_lenrek
status
2016-08-08authsrv(6): document session secret key derivation for p9sk1 and dp9ikcinap_lenrek
2016-08-08mptrunc: normalize after mpassign to handle the case b==raiju
2016-08-06thread(2): threadgrp() -> threadgetgrp(), thanks jpmcinap_lenrek
2016-08-05libauthsrv: ANAMELEN -> PASSWDLENcinap_lenrek
2016-08-04libauth: fix mount file-descriptor leak in auth_chuid()cinap_lenrek
2016-08-04auth/login: add dp9ik key to sub factotum, get rid of temporary /srv filecinap_lenrek
2016-08-04ape/libauth: add PASSWDLEN constant to compile passtokey.c from native ↵cinap_lenrek
libauthsrv (thanks lawler)
2016-07-31auth: various cleanups, use common readcons() from libauthsrv, zero keys ↵cinap_lenrek
after use
2016-07-31auth/secstore: use common readcons() routine from libauthsrvcinap_lenrek
2016-07-31auth/factotum: use common readcons() function from libauthsrvcinap_lenrek
2016-07-31libauthsrv: export common readcons() routine and introduce PASSWDLEN constantcinap_lenrek
drawterm, factotum, secstore and the auth commands all had ther own implementation of readcons. we want to have one common function for this to avoid the duplication, so putting that in libauthsrv. introduce PASSWDLEN which makes the use more explicit than ANAMELEN.
2016-07-24auth/changeuser: fix misleading print (secret is 31 chars max, not 256)cinap_lenrek
2016-07-24devtls, devssl: make sure channel has ORDWR mode and is not a mount chan on ↵cinap_lenrek
fdtochan()
2016-07-24swap: make sure swap chan has ORDWR mode on fdtochan()cinap_lenrek
2016-07-24make error handling in 9p service loops consistentcinap_lenrek
when we get eof, stop the loop immidiately and do not rely on the read to eventually return an error. when convM2S() fails to decode the message, error out and stop the loop. there is no point in continuing.
2016-07-24upas/fs: remove checkmboxrefs() debugging code, properly handle errors in 9p ↵cinap_lenrek
loop
2016-07-24ndb/dns: remove procname statistics and restart feature, cleanup 9p service loopcinap_lenrek
given that the memory leaks have been fixed, theres no need for the obscure restart feature which is not reliable anyway. remove the code updating procname on each 9p request. handle convM2S error by exiting the service loop, dont read 9p channel after eof.
2016-07-19kernel: dont pprint() into 9p channelscinap_lenrek
when fd 2 (stderr) points to a mount channel, dont cause protocol confusion by dumping error strings into it.
2016-07-155c: fix int -> uvlong cast bug (thanks to qwx on his patience on a the ↵cinap_lenrek
trouble session to narrowing it down) we used to not sign extend if the destination was unsigned uvlong, which is wrong. we have to sign extend only based on the signedness of the source (it gets propagated to vlong) this bug hit in hjfs in the newentry() function, causing file creation to fail with "create -- phase error": newentry(...) { uvlong sj; int si; ... sj = si = -1; ... }
2016-07-155a: ROL instructioncinap_lenrek
2016-07-10libsec: add scrypt password based key derivation functioncinap_lenrek
2016-07-08disk/prep: if no 9fat, reserve space for plan9 partition table in autopart ↵cinap_lenrek
(thanks Shamar) usually, the plan9 partition table is contained in the first 9fat partition after the pbs/fat header, but when no 9fat partition is requested, we have to make sure partitions wont overlap the partition table (start at sector offset >= 2).
2016-07-085l: ROR instructioncinap_lenrek
2016-07-05remove mpc.tab.h on mk cleanspew
2016-07-04add history for libregexpspew