summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-04-18ssh: close the channel when vt hangs upcinap_lenrek
2017-04-18vt: allow for a bit of bufferingcinap_lenrek
2017-04-18vt: convert from event to threadscinap_lenrek
the event library doesnt do any flow control. if the host keeps sending data while the user is mousing arround, extract() will collect the data until memory fills up. so instead we abandon the event library and convert the program to use channels.
2017-04-17vt: increase history buffer to 64K runescinap_lenrek
2017-04-17ssh: weekend projectcinap_lenrek
manpage should follow...
2017-04-17factotum: append public rsa encyption exponent after the moduluscinap_lenrek
this makes implementing ssh-rsa authentication easier, as we then can convert the public key directly to ssh format and check if the server will accept that public key. tlshand just needs the modulus to see if the public key matches the one it has from the certificate.
2017-04-17rsa2ssh: drop support for version 1 key formatcinap_lenrek
2017-04-17vt: implement snarf supportcinap_lenrek
2017-04-11pc64: state mp.h dependency for archacpi.$Ocinap_lenrek
2017-04-09upas/fs: remove imap lastread deboundingcinap_lenrek
its unclear why this was here, waketime logic should handle this already.
2017-04-09upas/fs: fix sync conditioncinap_lenrek
we used to check for mb->d->name != nil before stating, to avoid stating pop3/imap mailboxes who don't really have a local file, but this breaks when the md->d is reconstructed (faked) from the index! resulting in the mailbox stop being refreshed. the solution is to not have mb->d == nil for imap/pop mailoxes.
2017-04-08upas/fs: make use of Maxmsg consistentcinap_lenrek
2017-04-08upas/fs: simplify imap4read()cinap_lenrek
2017-04-08upas/fs: fix dir comparsion and skip directories in mdir, avoid statcinap_lenrek
- ignore directories in dirskip() - use sortkey of 0 for invalid items, otherwise it could confuse qsort() - use file size from dirreadall() instead of doing stat - various cleanups
2017-04-08upas/send: use openfolder() to deliver mail to avoid code duplicationcinap_lenrek
2017-04-08upas/common: deliver mail to mdir as .tmp file and rename after it has been ↵cinap_lenrek
fully written theres a race condition when mail delivery to mdir is slow, then upas/fs sees partial mail file and caches the truncated file size. to avoid this, delivery will create the new mail file with the .tmp extension (which is ignored by upas/fs) and after everything has been written, rename it to the final name.
2017-04-05kernel: avoid waserror() botch in devwalk (from drawterm, thanks aiju)cinap_lenrek
calculate alloc flag before waserror(), as compilers like gcc will not notice the value changing later because setjump() restores the old value due to callee-saves. change is applies here to make it easier to merge with drawterm. thanks to aiju for debugging this; used to cause drawterm memory leak until compiled with gcc -O0.
2017-04-04kernel: fix memory leak in checkpagerefs() debug function (thanks aiju)cinap_lenrek
2017-04-04tlshand: simplify tlsReadN()cinap_lenrek
2017-04-04tlshand: fix mpint to bytes conversion, reorganize send/recv buffer, check ↵cinap_lenrek
for overflow in msgSend() when converting mpint to bytes, always pad it to the size of the modulus (RSA,DHE,ECDHE). mptobytes() now takes a byte len parameter which the caller usually calculates from the group modulus using mpsignif(). this bug sometimes caused "bad record mac" after the handshake. use a shared buffer, given that msgSend()/msgRecv() don't overlap we can use the first half for sending, and the top half for receiving, shifting down as neccesary. the space beween sendp and recvp is free. explicitely check for overflow in msgSend().
2017-04-03mergecinap_lenrek
2017-04-03tlshand: fix ECDHE and DHE for SSLv3cinap_lenrek
2017-04-03fix typo in 9p(2) manpageaiju
2017-04-02devvga: remove unused copy of checkport() functioncinap_lenrek
2017-04-02devvga: fix mistakecinap_lenrek
2017-04-02devvga: include hwgc in vgactl filecinap_lenrek
2017-04-02aux/wpa: go to background when not prompting, handle open networkscinap_lenrek
2017-04-02pc(1): fix memory leak and add clog() functionaiju
2017-04-01nusb/lib: make usbcmd() return value symmetic; returning size of data phase ↵cinap_lenrek
(if any) (thanks aiju) usbcmd() with Rh2d used to return the command size (8+ndata) wile returning only ndata for Rd2h. this changes it to always return ndata for Rh2d. it mostly doesnt matter as Rh2d callers only check r < 0 for error, but this makes the interface symmetic.
2017-04-01hjfs: avoid 8c "non-interruptable temporary" warningcinap_lenrek
2017-04-01chgrp: remove unused function declaration (thanks archeus)aiju
2017-04-01games/blit: remove strange debugging lineaiju
2017-04-01ndb/dns: double Maxretries for long cname redirection chainscinap_lenrek
2017-03-31nusb/serial: pl2303: better error handlingaiju
2017-03-30mergecinap_lenrek
2017-03-30sdnvme: enable in pcf, pccpuf, pc64 kernel configurationcinap_lenrek
2017-03-30sdnvme: don't write completion queue doorbell register when nothing has been ↵cinap_lenrek
processed turns out on real hardware, the front falls off if we write the completion queue doorbell registers without consuming an entry. so only write the register when we have processed something.
2017-03-29hjfs: disable hjfs check until more functionality is completespew
2017-03-28hjfs: improve error messaging around blocks that are not foundspew
2017-03-28hjfs: Fix bugs in ref count scan check. Enable as a console command (caveat: ↵spew
command arguments will change as I implement more functionality)
2017-03-29move blit roms to /sys/lib/blitcinap_lenrek
2017-03-29blit: fix mkfilecinap_lenrek
2017-03-29kernel: fix twakeup()/timerdel() race conditioncinap_lenrek
timerdel() did not make sure that the timer function is not active (on another cpu). just acquiering the Timer lock in the timer function only blocks the caller of timerdel()/timeradd() but not the other way arround (on a multiprocessor). this changes the timer code to track activity of the timer function, having timerdel() wait until the timer has finished executing.
2017-03-29sdnvme: NVMe controller driver (work in progress)cinap_lenrek
basic NVMe controller driver, reads and writes work. "namespaces" show up as logical units. uses pin/msi interrupts (no msi-x support yet). one submission queue per cpu, shared completion queue. no recovery from fatal controller errors. only tested in qemu (no hardware available). commiting this so it can be found by someone who has hardware.
2017-03-28games/blit: mkfile: install into /bin/gamesaiju
2017-03-28add games/blitaiju
2017-03-27hjfs: fix broken dprintspew
2017-03-27hjfs: simplify dprintingspew
2017-03-27hjfs: add simple scan check of directory entry blocksspew
2017-03-27hjfs: check: check a block if its ref count is _not_ zero. Also check all ↵spew
the ref counts of blocks of a directory and clean up messages