summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2016-07-029fs: remove juke, kfs and snap targets, caching for other and dumpcinap_lenrek
2016-06-30acpi: _ADR and _BBN might be methods, so use amleval() to evaluate the valuecinap_lenrek
2016-06-30rc: implement 9atoms ` split {command} syntax extensioncinap_lenrek
2016-06-30doom: use Kprint for pause function (from qu7uux)cinap_lenrek
the pause function is different from just accessing the menu: it pauses both single and multiplayer games, stops music and sound, and is recorded in demos (does not cause a desync, unlike menu access). this uses Kprint rather than Kbreak because Kbreak is e.g. Kctl+pause on some keyboards.
2016-06-30ether8169: fix wrong mbps setting (from qu7uux)cinap_lenrek
the first time rtl8169link is called (from rtl8169pnp), the link isn't up, so setting edev->mbps based on Phystatus register is skipped. edev->mbps is then still set at the default 100, and that ends up being what devether uses. this is why some rtl8169 cards are misprinted as 100Mbps in kmesg. later, after rtl8169link is called again from rtl8169interrupt, the link is up and edev->mbps is set to the correct value (as shown by e.g. /net/ether0/stats). so instead, set speed regardless of link status.
2016-06-30doom: fix blazing door sounds (from qu7uux)cinap_lenrek
blazing doors are a "fast" door type with its own sound effects, introduced in doom2. doom2 map 2 has one right at the beginning. this fixes two bugs: - when a closing blazing door is completely shut, the closing sound effect is erroneously played again (the first time being when it began closing). this gives the impression of two doors closing. - when reopening a closing blazing door (standing underneath a blazing door while it's closing), the sound effect for regular doors opening is played, instead of the one for blazing doors, because of a missing case in the switch statement.
2016-06-30vga/igfx: fix integer overflow in datam calculation (from qu7uux)cinap_lenrek
data[mn] and link[mn] are 24-bit values. in the expression 'm = (n * ((freq * bpp)/8)) / (lsclk * lanes)', uvlongs are used to prevent integer overflow, but since freq, bpp, lsclk and lanes are all ints, the cast to uvlong does not happen until it's too late, getting a wrong value. instead, use u32int for m and n, and use casts where necessary. example of bad calculation: freq = 141400000 lsclk = 270000000 lanes = 2 bpp = 18 → 0x7f3ee1ca6 (correct value: 0x4b69d0)
2016-06-30acme(1): remove references to awdcinap_lenrek
2016-06-30acme/win: implement /dev/wdir file in win to change directory tagline, ↵cinap_lenrek
remove awd
2016-06-30rc: write /dev/wdir after printing the prompt, not after executing "cd" commandcinap_lenrek
2016-06-27mergecinap_lenrek
2016-06-27ndb/dns: purge db records on refresh for resolvers, remove old debug and ↵cinap_lenrek
testing code when ndb/dns runs as a resolver only (cfg.cachedb == 0), we still want to purge the "local#" db records to reread dns server configuration or react to changed ip addresses. removing old poolcheck and dncheck code, these bugs have been fixed a long time ago.