summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-01libsec: fix verifyDHparams() for version <= TLS1.1cinap_lenrek
for version <= TLS1.1, there is no sigalg field in the ServerKeyExchange message and the signature digest algorithm is fixed to md5+sha1 and we only support RSA signatures (TLS1.1 doesnt know about ECDSA).
2016-02-29glenda's default profile: remove /n/other mount, done by /lib/namespacecinap_lenrek
2016-02-28authsrv(2): document _asgetpakkey(), authpak_hash(), authpak_new(), ↵cinap_lenrek
authpak_finish()
2016-02-28games/doom: handle allocimage() failurecinap_lenrek
2016-02-28libsec: have 16 32-bit words in DigestState to avoid out of bounds warnings ↵cinap_lenrek
for poly1305
2016-02-28devdraw: remove unused Edepth[]cinap_lenrek
2016-02-28libdraw: remove unused static log2[] arraycinap_lenrek
2016-02-27rio: exit rio when /dev/cons or /dev/kbd read loop terminatescinap_lenrek
2016-02-27kbdfs: read outer /dev/kbd file and use it just like /dev/kbdincinap_lenrek
this allows running kbdfs under kbdfs :-) going use this in new drawterm. drawterm provides the initial /dev/kbd, but only sends rune up/down messages (keeps it simple). the servers kbdfs reads that and exports itself the full set of files, similar to what we do in vncs. this also provides note processing.
2016-02-27rcpu: post hangup note to remote when connection breakscinap_lenrek
when the cat that forwards notes on the remote exits, send a hangup note so processes wont keep hanging arround.
2016-02-22rcpu(1): fix manpage referencecinap_lenrek
2016-02-22libauthsrv: can write p = 2^448 - 2^224 - 1 now, as mpc has constant folding.cinap_lenrek
2016-02-22libfis: dont reject drives lacking SSP (sata ssd connected to ide with adapter)cinap_lenrek
2016-02-22ndb/dns: initialize unknown fids to point to the root qidcinap_lenrek
the dns file service can be restarted, which causes it to forget all fid state. given the simple file system structure of the dns service (just a single dns file), we can assume that rpcs on a unknown fid refers to the root, so the mountpoint will stay valid and /net/dns can be reopend avoiding the need for a remount of the dns service after restart.
2016-02-22rc: terminate rc when exec fails, cleanupcinap_lenrek
The execexec() function should never return, as it irreversably changes the filedescriptor table for the new program. This means rc's internal filedesciptors for reading the script get implicitely closed and we cannot continue the rc interpreter when Execute() fails. So Execute() now sets the error status, and execexec() runs Xexit() in case Execute() returns.
2016-02-22smtpd: remove unused lastsender logiccinap_lenrek
2016-02-22factotum: fix memory leak for p9any key confirmation, fix key handling for ↵cinap_lenrek
role=client when we look up role=speakfor key and askforkeys is set, the findkey() can return RpcNeedkey, which causes us to skip the query for a role=client key. Instead, we now check for the return value != RpcOk (and != RpcConfirm which we want to handle the same for both queries). we have to free the attribute lists when returning RpcConfirm.
2016-02-22stats: use rimport or import to mount remote systemcinap_lenrek
2016-02-21exportfs: fix endless loop for eof/error on second read in localread9pmsg()cinap_lenrek
the ini buffer was not reset when we got eof in the message body read causing a endless loop. instead of defining our own read9pmsg() function, just handle the first read specially when we consumed the first 4 bytes for the "impo" protocol escape check.
2016-02-21fix ipv6 icmphostunr() locking and memory free bugs (from sources)cinap_lenrek
2016-02-20sgi: add chmod to bootfs.proto for sgi kernelcinap_lenrek
2016-02-19libsec: remove unused tlsSecKill()cinap_lenrek
2016-02-18libsec: fix memset() size in tlsConnectionFree(), remove #include <bio.h>cinap_lenrek
2016-02-17libsec: add libc.h include for aes_xts.c (drawterm)cinap_lenrek
2016-02-16rcpu(1) man page: englishstanley lieber
2016-02-16ndb/dns: removing the buggy /net.alt remount hackcinap_lenrek
2016-02-16usbuhci: removing "uhci bug" print spam from interrupt handlercinap_lenrek
this code was if(0) for a long time due to wrong parentesis, fixed parentesis cause print spam on some machines making them unusage (kenji okomoto). removing the check alltogether.
2016-02-15provide rcpu(1), make usage line consistentcinap_lenrek
2016-02-15devmnt: deal with partial response for Tversion request in mntversion()cinap_lenrek
2016-02-14cron: just run /bin/rx to execute remote commandscinap_lenrek
2016-02-14rx: rcpu service supportcinap_lenrek
2016-02-14adding experimental rcpu servicecinap_lenrek
this is a reimplementation of cpu and import utilities in rc using a tlsclient and tlssrv as the encryption and authentication layers. there is only one new service, which after authentication and encryption setup accepts an arbitrary rc script over the network and executes it with the standard filedescriptors redirected to the conversaion (this is *after* authentication and in the context of the authorized user). the new rcpu program has a few improvements over cpu(1): - doesnt mangle program arguments - the remote process will get the clients standard file descriptors, so error and output are separated and you can consume the clients input from the remote side :-) - forwards error status of remote process theres no backwards mode for rimport, but a new program called rexport for the same purpose. all these services use exportfs without the bolted on initial handshake, so the hope is to clean up exportfs in the future and remove all the ugly crap in there.
2016-02-14exportfs: retry execing ourselfs as "/bin/exportfs" (argv0 might be relative ↵cinap_lenrek
path)
2016-02-14exportfs: properly reply to chdir() error when we speak 9pcinap_lenrek
when we got a bad root tree, we should speak the right language and return a Rerror response instead of crapping ascii into the 9p conversation.
2016-02-14tlsclient: add -o option to establish connection over a file, free the ↵cinap_lenrek
AuthInfo structure to avoid leaking secrets
2016-02-14newuser: /n/other now handled in /lib/namespacecinap_lenrek
2016-02-14provide /n and /mnt early in bootrc to allow consistent use in /lib/namespacecinap_lenrek
theres a bootstrap problem: when /bin/init is run, it processes /lib/namespace where we might want to mount or bind resources to /n or /mnt. but mntgen was run later in cpurc/termrc so these mounts would be ignored. we already have mntgen in bootfs, so we can provide these mountpoints early. i keep the termrc/cpurc mntgens where they are, but ignore the error prints. this way old kernels will continue to work.
2016-02-13tlssrv: add -A flag to skip changing user after authentication (usefull for aan)cinap_lenrek
2016-02-13mergecinap_lenrek
2016-02-13rio: fix wrong frame colors when moving non-current windowcinap_lenrek
When a window is moved or reshaped, that implicitely tops the window and makes it current. The conseqence of this is that we always have to redraw the window as if it where a current window in any case. This was handled for Reshaped windows, but not when the window was just moved. We now handle both cases the exact same way, getting rid of the Moved wctl message.
2016-02-12ip/chandial: fail with Ebadarg instead of printing memory contentsftrvxmtrx
2016-02-11libsec: simplify pkcs1_decrypt()cinap_lenrek
2016-02-11mergecinap_lenrek
2016-02-11libsec: fix double free in pkcs1_decrypt(), handle bad epm length in ↵cinap_lenrek
tlsSecRSAs(), cleanup
2016-02-10removing libgio, this is not golang mveery >:-(cinap_lenrek
2016-02-09fixed a typoMatthew Veety
2016-02-09Imported ngfs libgio. This is a library to create virtual file descriptors, ↵Matthew Veety
similar to common lisp grey-streams or golang's io.Reader/io.Writer. Now 95% bug-free.
2016-02-08fortunes: ./configure CFLAGS="-I$HOME/source/harvey/ape/amd64/include ↵stanley lieber
-I$HOME/source/harvey/ape/include -mno-red-zone -ffreestanding -fno-builtin -nostdlib -trigraphs -D_SUSV2_SOURCE -D_POSIX_SOURCE -D_LIMITS_EXTENSION -D_BSD_SOURCE -D_BSD_EXTENSION -DHAVE_SOCK_OPTS -DHARVEY -DPlan9" LDFLAGS="-static $HOME/source/harvey/ape/amd64/lib/crt1.o $HOME/source/harvey/ape/amd64/lib/crti.o $HOME/source/harvey/ape/amd64/lib/crtn.o -L$HOME/source/harvey/ape/amd64/lib -L$HOME/source/harvey/amd64/lib" LIBS="-lbsd -lap -lc" LIBM="" --prefix=$HOME/source/harvey/ape/ports *--host=x86_64-linux-gnu --build=x86_64-harvey *--enable-shared=no
2016-02-08webfs: faster shutdown using postnote()cinap_lenrek
when the 9p end is closed, post a note to our private note group to shoot down http procs. this results in quicker release of namespace resources.
2016-02-07/lib/keyboard: add more crucial symbolsaiju