summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-27fplot(1): add BUGS sectionstanley lieber
2015-11-26libsec: add chacha20 poly1305 aead, allow 64 bit iv's for chacha, add tsmemcmp()cinap_lenrek
chacha20 comes in two variants: ietf rfc7539, using 96 bit iv and 32 bit counter and draft-agl-tls-chacha20poly1305 using 64 bit iv and a 64 bit counter. so setupChachastate() now takes a ivlen argument which sets the mode. add ccpoly_encrypt()/ccpoly_decrypt() routines. to implement timing safe ccpoly_decrypt(), a constant time memcmp was needed, so adding tsmemcmp() to libsec.
2015-11-25mpc: mpc.c is generated by yacc, so remove it on mk cleanBurnZeZ
2015-11-25rio: allow reading the image of a hidden window thru the window filecinap_lenrek
2015-11-25rio: fix handling "resize" wctl for hidden windowscinap_lenrek
when the "resize" wctl was used on a hidden window, the window was put back on the screen, however, it was not removed from the hidden[] array so trying to hide the window again failed because whide() assumed it was already hidden. the fix is to not unhide the window, but preserve the hidden state, so windows can programmatically be reshaped and moved, but will remain hidden unless explicitely unhidden.
2015-11-24disksim: don't assume 4-byte pointerscinap_lenrek
2015-11-23rio: stop serving kbdin file (thanks eekee)cinap_lenrek
kbdfs already provides a /dev/kbdin file for the system, rio does not need to provide one for the onscreen keyboard anymore.
2015-11-22add mpc(1), extended precision code generatorcinap_lenrek
2015-11-22bootrc: remove usbwait hack, usbd/nusbrc are now synchronous by previous commitcinap_lenrek
2015-11-22usbd: intoruce /env/usbbusycinap_lenrek
to solve the usb device enumeration race on boot, usbd creates /env/usbbusy on startup and once all devices have been enumerated and readers have consumed all the events, we remove the file so nusbrc/bootrc can continue. this makes sure all the usb devices that where plugged in on boot are made available.
2015-11-22devenv: fix ORCLOSE handlingcinap_lenrek
when opening a /env file ORCLOSE, and the process exits, envgrp() would return nil can crash in envremove() because procexit will have set up->egrp to nil before calling closefgrp(). the solution is to capture the environment on open, keeping a reference in Chan.aux, so it doesnt matter on what process the close happens and a env chan will always refer to its original environment group.
2015-11-21libmp: initial attempt at constant time code, faster reductions for special ↵cinap_lenrek
primes (for ecc) introduce MPtimesafe flag to request time invariant computation disables normalization so significant digits are not leaked.
2015-11-20remove dunning-krugerrand codeaiju
2015-11-20libmp: fix test programcinap_lenrek
2015-11-20libmp: add mpvecadd()/mpvecsub() assembly versions for armcinap_lenrek
2015-11-20libmp: 386/amd64 mpvec*(): replace conditional branches with ADC/SBB ↵cinap_lenrek
instructions
2015-11-069fs: add case 9frontstanley lieber
2015-11-06mergecinap_lenrek
2015-11-06kernel: use nicer check in okaddr(), wet floor signs in fixfault()cinap_lenrek
instead of checking addr+len >= addr, check len >= -addr so that addr == 0 is never valid for len > 0 even if we decide to have memory at the zero page so theres never any chance user can pass in "nil" pointers. put up some signs where we fall thru the switch cases in fixfault()
2015-11-06mergecinap_lenrek
2015-11-06kernel: fix okaddr() checkcinap_lenrek
2015-11-029fs: add 9pio case for unauthenticated connections to 9p.io.stanley lieber
2015-11-01mergecinap_lenrek
2015-11-01libmp: optimize case x/0xffffffff in mpdigdiv() (helps arm)cinap_lenrek
2015-11-01libmp: add mpvecdigmuladd()/mpvecdigmulsub() assembly routines for armcinap_lenrek
2015-11-015c: handle (rare) MULU instruction in peephole optimizercinap_lenrek
2015-10-31fortunes: [9fans] FUSE on Plan9stanley lieber
2015-10-31delkey(1): update man page to reflect recent changes.stanley lieber
2015-10-30delkey: don't be stupidaiju
2015-10-28devtls: reject SHA2_256 mac for SSL, but TLS is finecinap_lenrek
sha256 is only defined for TLS1.2, however, technically, theres no reason not to use it in TLS1.0/TLS1.1. the choice is up to tlshand and pushtls, not the kernel.
2015-10-28mp(2): fix typo mnprand() -> mpnrand()cinap_lenrek
2015-10-25ascii: replace mnemonic np (new page) with ff (form feed) for consistencyBurnZeZ
2015-10-24rio: fix scrolling when cursor is above windowBurnZeZ
2015-10-22libsec: add chacha cipher (from charles forsyth)cinap_lenrek
2015-10-22libsec: add poly1305cinap_lenrek
2015-10-19fortunes: Maybe a git branch can help here?stanley lieber
2015-10-19acid/leak: fix endless loop for B2NB(b) == b case (thanks mischief)cinap_lenrek
2015-10-17wifi: prioritize rsne over wpaiecinap_lenrek
if beacon/proble contains both wpa information element and rsne, the rsne wins.
2015-10-15mergecinap_lenrek
2015-10-15lib9p: do not override Srv.end in listensrv(), simplify srvclose() and ↵cinap_lenrek
recounting listensrv() used to override Srv.end() with its own handler to free the malloc'd Srv structure and close the fd. this makes it impossible to register your own cleanup handler. instead, we introduce the private Srv.free() handler that is used by listensrv to register its cleanup code. Srv.free() is called once all the srv procs have been exited and all requests on that srv have been responded to while Srv.end() is called once all the procs exited the srv loop regardless of the requests still being in flight.
2015-10-12lib9p: add reqqueuefreeaiju
2015-10-10libsec: remove rc4 cipher suits for tlscinap_lenrek
2015-10-10aux/listen1: usage()cinap_lenrek
2015-10-10aux/listen1: allow alternative namespace when running as user none with -n ↵cinap_lenrek
option
2015-10-09cwfs: fix wstat() failing to mark block dirty when noatime is setcinap_lenrek
code assumed the accessdir() call would always mark the block dirty, but this is not the case when noatime flag is enabled. this was reported by michael in bug: "open/with_noatime_option_cwfs_doesnt_preserve_changes_in_file_permissionowner" -- cinap
2015-10-09libsec: clarify the code by declaring constant for DirectoryString and ↵cinap_lenrek
handle conversion in mkstring()
2015-10-09libsec: use the right string encoding for various x509 fieldscinap_lenrek
C= has to be PrintableString, E= and DC= are IA5String, everything else is DirectoryString which can be PrintableString or UTF8String.
2015-10-09wifi: quote value of parsed ether optionscinap_lenrek
introduce wificfg() function to convert ether->opt[] strings to wifictl messages, which needs quoting for the value. so etherX=type=iwl essid='something with spaces' works.
2015-10-08mergecinap_lenrek
2015-10-08cc: restore side(), but do not consider OINDEX as side effect freecinap_lenrek
from charles forsuth: because the previous version thought OINDEX might have a side effect, it stopped it building a tower of them. probably the best thing is to limit that anyway, since each one consumes 2-3 registers, so towering them can keep even more active, and the x86 hasn't got that many. the quick hack is to return that case to the earlier state by treating OINDEX as a side-effect in side(). it's not a bad thing to do in the OSTRUCT case, for similar reasons: it's better to collapse the indexed pointer into a direct register, instead of repeating the indexing operation through the copying of the value. OINDEX isn't a machine-independent operation, so it doesn't affect the uses in ../cc