summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-09-13hgignore: ignore mips binariesmischief
2014-09-13vi: implement _nsec syscallmischief
2014-09-14libsec: experimental DHE client support for tls and cleanupscinap_lenrek
2014-09-14libsec: add diffie-hellman functionscinap_lenrek
2014-09-14libsec: fix hmac for keys bigger then 64 byte block sizecinap_lenrek
RFC2104 defines HMAC for keys bigger than the 64 byte block size as follows: Applications that use keys longer than B (64) bytes will first hash the key using H (the hash function) and then use the resultant L byte string as the actual key to HMAC.
2014-09-13libsec: ecgen() and ecdsasign() fixaiju
2014-09-11acme: remove unused #includeBurnZeZ
2014-09-11games/gb: minor goofaiju
2014-09-11games/nes: reduce volume, causes overflow and confuses ac97aiju
2014-09-06/lib/rob: Just write the code.stanley lieber
2014-09-06add /lib/terrystanley lieber
2014-09-06ip/ayiya: experimental anything in anything tunnel protocol clientcinap_lenrek
this is a work in progress implementation of the ayiya (anything in anything) protocol as used by sixxs.net. hiro tested it and it worked for him, but progress has stalled as sixxs.net rejected my request for an account and ignored my emails since.
2014-09-04doom: fix alignment issues for armcinap_lenrek
2014-09-045e: fix signed long multiplycinap_lenrek
2014-09-035e: push ERRMAX for note message on stack avoiding unaligned stack pointercinap_lenrek
2014-09-02ether8139: fix pointer to smaller int tuncation warning on amd64cinap_lenrek
2014-08-28/sys/lib/dist/ndb/common: add auth=fs.stanleylieber.com authdom=inristanley lieber
2014-08-27fortunes: $75K Prosthetic Arm Is Bricked When Paired iPod Is Stolenstanley lieber
2014-08-27ipconfig: remove sleep() left over from debug :-)cinap_lenrek
2014-08-27ipconfig: fix readipifc() memory leaks in recvra6 and sendra6 processescinap_lenrek
to avoid continuously leaking memory in recvra6 and sendra6 processes, pass the previous Ipifc* pointer to readipifc().
2014-08-26ip: set arp entry for own v6 address when not tentativecinap_lenrek
after running ip/ipconfig -6, we are unable to ping our own link-local address and the arp daemon sends out useless neighbor solicitation requests to itself. this change adds an arp entry for our ipv6 address. however, this must not be done for tentative interface configuration.
2014-08-26ipconfig: cleanup code duplication in ip6cfg()cinap_lenrek
2014-08-26ping: don't spin when we get error reading icmp connection, print error and ↵cinap_lenrek
sleep
2014-08-22pc64: enable ether8139 in kernel config (thanks hiro)cinap_lenrek
2014-08-21ether8139: fix pointer truncation by ulong cast, use mallocalign()cinap_lenrek
2014-08-21secstore: improve error messages, newSConn() can't failcinap_lenrek
2014-08-21ip: fix memory leak in ipicadd6()cinap_lenrek
allocate the Iplifc structure on the stack instead. i assuming that it was allocated on heap in fear of causing stack oveflow. on 386, this adds arround 88 bytes on the stack but it doesnt seem to cause any trouble. (checked with poolcheck after ctl write)
2014-08-18pc, pc64: fix off by one error in _multibootentrycinap_lenrek
2014-08-17boot: dont print errors if ethernet has no ifstats file, can happen with usb ↵cinap_lenrek
ethernet
2014-08-175a: revert MOVM .S and .W are exclusive (broke bcm build)cinap_lenrek
2014-08-17kernel: make noswap flag exclude processes from killbig() if not eve, reset ↵cinap_lenrek
noswap flag on exec
2014-08-16Fix acme crash: Get D in a new window with D being an existing directoryiru
2014-08-16kernel: fix todfix() racecinap_lenrek
we have to recheck the condition under tod lock, otherwise another process can come in and updated tod.last and tod.off and once we have the lock, we would make time jump backwards.
2014-08-16kernel: xinit() use ulong for page counts, cleanupcinap_lenrek
2014-08-16nusb/kb: delete code for keyboard boot protocol handling, just use hid parsercinap_lenrek
unify the keyboard and mouse readers into one using the hid report parser for both. remove the keyboard protocol handling, as it is now handled by hid parser and all we get is a sequence of keycodes in Hiddev.k[] which we diff for up/down and translate to pc scancodes.
2014-08-14spred: command window improvementsaiju
2014-08-14import: make aan (-p flag) work in ``backwards mode'' (-B)cinap_lenrek
in backwards mode, the roles of the aan filters need to be reversed. add "-n address" option to import to override the announce address for the aan server part (default tcp!*!0).
2014-08-13nusb/ptp: do maxpkt reads to avoid babble error with usb 2.0 devices (thanks ↵cinap_lenrek
mischief!) mischief got babble error with his mobile phone as we used to read at max 64 bytes for the data response phase. his device has 512 byte packet size. thans to mischief for the patience.
2014-08-13devenv: prevent non-hostowner from creating or removing variables in '#ec', ↵cinap_lenrek
cleanup
2014-08-12ip: fix missed unlocks and waserror handlerscinap_lenrek
ipifcunbind() could error out from ipifcremlifc() and Medium.unbind() *after* decrementing ifc->conv->inuse! move the decrement after calling these functions. make ipifcremlifc() never raise error but return error string. the only places where it could error is when it calls into medium functions like Medium.remroute() and Medium.remmulti(). Ignore these errors as they could happen when the ethernet driver crashed (think imported ethernet device or usb ethernet in userspace), so we will be able to unbind. add waserror() handlers as neccesary to deal with errors from Medium.addmulti(), Medium.areg() and arpenter() to properly unlock the data structures.
2014-08-12aux/8prefix: fix usagemischief
2014-08-10secstore(1): clarify how the server is dialed and add new $secstore ↵mischief
environment variable
2014-08-10secstore: read server from $secstore environment variablemischief
this allows setting the secstore server with secstore=tcp!example.com!secstore or secstore='$secstore' to read from ndb.
2014-08-10fortunes: it´s easy but you are complicatedstanley lieber
2014-08-10fs(8): correct spellingstanley lieber
2014-08-11cwfs: add optional uid argument to allow command, unify permission override codecinap_lenrek
the allow command now takes an optional uid argument for the user to be granted temporary god status on the fileserver for maintenance. this was kenji okomotos idea, so thanks :) remove wstatallow and writeallow flags. instead, we have global: int allowed; that contains the uid of the currently allowed user id or -1 if permission checking is globally disabled for the fileserver. when zero, normal permission checking takes place. added int isallowed(File*) function that returns non-zero when the context is the console, or the allowed user. this is also used internally by iaccess(), so all the extra code of in the callers of iaccess() is gone now. dont conflate allowed user with noauth flag and auto-allow on ream. the installer already knows about noauth and allow flags so theres no problem with bootstraping.
2014-08-095a: MOVM.IA.W.S ..., [R15] is exception return and needs to be allowed ↵cinap_lenrek
(thanks aiju)
2014-08-09cwfs: fix 32bit multiplication overflows for allocation sizes (thanks kenji ↵cinap_lenrek
okomoto)
2014-08-095a: reject MOVM instruction with .S and .W bits both set (aijus idea)cinap_lenrek
2014-08-08kernel: more nil vs 0 cleanup in chan.ccinap_lenrek