Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-10-03 | iwhois(1): make -n work, add .org, and a couple minor changes | BurnZeZ | |
2016-09-28 | nusb/kb: set usage to 0 (undefined) for items exceeding usage list | cinap_lenrek | |
2016-09-28 | nusb/lib: fix wrong endpoint id when openep() finds already existing ↵ | cinap_lenrek | |
endpoint file | |||
2016-09-26 | sam: putenv("%", ...): don't crash when no file is current | ftrvxmtrx | |
2016-09-22 | sam: use $% instead of $f for filename to be consistent with acme | cinap_lenrek | |
2016-09-22 | sam: make current filename available to shell commands in $f (thanks aiju) | cinap_lenrek | |
2016-09-21 | ip(3): spelling, thanks sl | cinap_lenrek | |
2016-09-21 | ip(3): update description of /net/ipifc/*/status format | cinap_lenrek | |
2016-09-20 | rio: fix onscreen() | cinap_lenrek | |
2016-09-19 | scat: hjdicks for amd64 | cinap_lenrek | |
2016-09-19 | pc(1): if the input base is not 10, print the 0d prefix before decimal ↵ | aiju | |
numbers; this way, all output is always valid input (for the current mode) | |||
2016-09-19 | merge | cinap_lenrek | |
2016-09-19 | webfs: aaand another one (should go to sleep) | cinap_lenrek | |
2016-09-19 | merge | cinap_lenrek | |
2016-09-19 | merge | cinap_lenrek | |
2016-09-19 | webfs: fix mistake... | cinap_lenrek | |
2016-09-19 | webfs: don't use cache connections when posting | cinap_lenrek | |
we cannot retry posts and we do not know for sure if a post had any side effect when we got no status, so always make a new connection for a post request. | |||
2016-09-19 | pc(1): add pb (thanks, BurnZeZ); add bit numbering | aiju | |
2016-09-18 | rio: improved bandsize() | cinap_lenrek | |
when dragging a window edge, allow one to slide to a corner or slide from corner to corner (usefull when inverting). also make sure the right or bottom of the rectangle returned by whichrect() is not outside of the screen (which makes drawing slow). | |||
2016-09-18 | cpu: quote remaining remote command arguments, don't syslog on missing ↵ | cinap_lenrek | |
/mnt/term/dev/cpunote file | |||
2016-09-17 | ipv6on: get network device from $netdir/ipifc/*/status | cinap_lenrek | |
2016-09-17 | etherzynq: implement promisc mode and multicast filter support | cinap_lenrek | |
2016-09-17 | nusb/ether: promisc and multicast support for admtek pegasus (aue) | cinap_lenrek | |
2016-09-17 | nusb/ether: multicast and promisc support for rtl8150 (url) | cinap_lenrek | |
2016-09-16 | merge | cinap_lenrek | |
2016-09-16 | nusb/ether: experimental pomisc mode and multicast support for smsc and asix | cinap_lenrek | |
2016-09-15 | pc(1): _ handling in numbers was broken at some point; restore documented ↵ | aiju | |
behaviour | |||
2016-09-15 | pc(1): add nsa() command | aiju | |
2016-09-14 | ape: fix format clash, %z is for size_t (which is a long currently), not ↵ | cinap_lenrek | |
pointer sized | |||
2016-09-11 | ape: bring strtod() in line with plan9's libc version | cinap_lenrek | |
2016-09-11 | libc: dont use floating point for portable umuldiv(), use 64 bit uvlong | cinap_lenrek | |
2016-09-11 | kernel: rekey chacha state on each randomread() invocation | cinap_lenrek | |
we can encrypt the 256 bit chacha key on each invocation making it hard to reconstruct previous outputs of the generator given the current state (backtracking resiatance). | |||
2016-09-11 | devcons: remove /dev/reboot "halt" command... | cinap_lenrek | |
the "halt" command written to /dev/reboot just causes the machine to crash... its also undocumented... removing it. -- cinap | |||
2016-09-11 | kernel: better nonce partitioning for chacha random number generator | cinap_lenrek | |
leave the block counter to chacha_encrypt() and increment the 96 bit iv instead. | |||
2016-09-11 | kernel: xoroshiro128+ generator for rand()/nrand() | cinap_lenrek | |
the kernels custom rand() and nrand() functions where not working as specified in rand(2). now we just use libc's rand() and nrand() functions but provide a custom lrand() impelmenting the xoroshiro128+ algorithm as proposed by aiju. | |||
2016-09-11 | kernel: make randomread() fault reentrant | cinap_lenrek | |
we now access the user buffer in randomread() outside of the lock, only copying and advancing the chacha state under the lock. this means we can use randomread() within the fault handling path now without fearing deadlock. this also allows multiple readers to generate random numbers in parallel. | |||
2016-09-11 | kernel: replace various custom random iv buffer filling functions with calls ↵ | cinap_lenrek | |
to prng() | |||
2016-09-09 | fortunes: Nein -- General Chuck Yeager | stanley lieber | |
2016-09-08 | authsrv(2): update Nvrsafe structure to include aesmachkey | cinap_lenrek | |
2016-09-08 | kernel: fix type for utime/stime in pexit(), fix debug format strings | cinap_lenrek | |
2016-09-08 | kernel: make sure procalarm() remaining time doesnt become negative | cinap_lenrek | |
2016-09-08 | kernel: always do unsigned subtractions for m->ticks delta for updatecpu() ↵ | cinap_lenrek | |
and rebalance(), handle ticks wrap arround in hzsched() | |||
2016-09-07 | kernel: use tk2ms() instead of TK2MS macro for process time conversion | cinap_lenrek | |
this code isnt time critical and process TReal delta can become very long, so use tk2ms() which is less prone to overflow. | |||
2016-09-07 | kernel: tsemacquire() use MACHP(0)->ticks for time delta | cinap_lenrek | |
we might wake up on a different cpu after the sleep so delta from machX->ticks - machY->ticks can become negative giving spurious timeouts. to avoid this always use the same mach 0 tick counter for the delta. | |||
2016-09-07 | devcap: timeout capabilities after a minute, fix memory leak, paranoia | cinap_lenrek | |
the manpage states that capabilities time out after a minute, so we add ticks field into the Caphash struct and record the time when the capability was inserted. freeing old capabilities is handled in trimcaps(), which makes room for one extra cap and frees timed out ones. we also limit the capuse write size to less than 1024 bytes to prevent denial of service as we have to copy the user buffer. (memory exhaustion). we have to check the from user *before* attempting to remove the capability! the wrong user shouldnt be able to change any state. this fixes the memory leak of the caphash. do the hash comparsion with tsmemcmp(), avoiding timing side channels. allocate the capabilities in secret memory pool to prevent debugger access. | |||
2016-09-06 | merge | cinap_lenrek | |
2016-09-06 | devproc: do unsigned subtraction to get MACHP(0)->ticks - up->times[TReal] delta | cinap_lenrek | |
2016-09-05 | pc(1): bugfix: allow setting output base to 0 (thanks, deuteron) | aiju | |
2016-09-03 | 5c: do shift propagation for rotate right (ROR) | cinap_lenrek | |
2016-09-03 | 5c: format assembly constant right shift encoding 0 as >>32 | cinap_lenrek | |