summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-06mergecinap_lenrek
2016-01-06add missing /sys/src/cmd/auth/lib/private.ccinap_lenrek
2016-01-05authsrv(6): englishstanley lieber
2016-01-06auth: release dp9ik implementation and reentrant factotumcinap_lenrek
2016-01-06libmp: silence compiler warning for strtompcinap_lenrek
2016-01-05pc/pc64: import i210 support from erik quanstrom's 9atomcinap_lenrek
2016-01-05kernel: change active.machs from bitmap to char array to support up to 64 ↵cinap_lenrek
cpus on pc64
2016-01-05fdisk: properly convert byte units K,M,G and T to cylinders/sectorscinap_lenrek
the shared command language assumed 512 byte sectors, which is not the case for fdisk as it uses cylinders for the block unit. so we introduce an extra argument in the Edit structure and parseexpr() function so byte sizes are properly converted to the block unit when the K,M,G and T postfixes are used.
2016-01-04libmp: check nil return value of strtomp() in test programcinap_lenrek
2016-01-04mpc: use new strtomp() c-style prefixes to parse integer constantscinap_lenrek
2016-01-04libmp: mistake in strtomp()cinap_lenrek
2016-01-03libmp: support for c-style base prefixes for strtomp(), octal supportcinap_lenrek
2015-12-25libsec: implement TLS-PSK for tlsClient()/tlsServer()cinap_lenrek
2015-12-23file: recognize bootable disk images (by 0x55AA boot sector signature)cinap_lenrek
2015-12-23file: recognize tcpdump pcap filescinap_lenrek
2015-12-23snoopy: fix timestamps for pcap files (thanks BurnZeZ)cinap_lenrek
the pcap files produced by snoopy had the wrong timestamps because it expected: /* magic=0xa1b2c3d4 */ ulong ts_sec; /* seconds*/ ulong ts_usec; /* microseconds */ but we wrote: uvlong ts; /* nanoseconds */ now, we write: /* magic=0xa1b23c4d */ ulong ts_sec; /* seconds */ ulong ts_nsec; /* nanoseconds */
2015-12-22libjson: added printing support (thanks spew)cinap_lenrek
2015-12-22libjson: fix memory leak setjmp/longjmp problem (thanks spew)cinap_lenrek
spew → I fixed the memory leak setjmp/longjmp problem with libjson spew → http://www.spew.club/json.patch spew → full file: http://www.spew.club/json.c spew → going to bed, I'll annoy cinap_lenrek tomorrow to try to get this committed
2015-12-21tls: implement chacha20/poly1305 aead cipher suitscinap_lenrek
2015-12-21kernel: missing changes for ibrk() prototypecinap_lenrek
2015-12-20mpfmt: handle base 2, 4aiju
2015-12-16import/expoerfs: dont assert() fault when ai->secret is > 8 bytes, just use ↵cinap_lenrek
the first 8 bytes
2015-12-16auth/httpauth: use auth_userpasswd() instead of AuthHttp request to AScinap_lenrek
the /sys/lib/httppasswords will be removed soon from authsrv, so we use auth_userpasswd() to verify a username/password pair instead.
2015-12-16libsec: use tsmemcmp() when comparing hashes, use mpfield() for ecc, use ↵cinap_lenrek
mptober() when right adjusting mpint to bytes
2015-12-16libmp: add mpfield() function for fast field arithmeticcinap_lenrek
instead of testing for special field primes each time in mpmod(), make it explicit with a mpfiled() function that tests a modulus N to be of some special form that can be reduced more efficiently with some precalculation, and replaces N with a Mfield* when it can. the Mfield*'s are recognized by mpmod() as they have the MPfield flag set and provide a function pointer that executes the fast reduction.
2015-12-16devprov: remove unused extern int unfaircinap_lenrek
2015-12-16kernel: use uintptr for ibrk() return value (for base >2GB) and clarify ↵cinap_lenrek
segbrk(2)
2015-12-11/sys/lib/dist/ndb/common: update for sl's auth serversstanley lieber
2015-12-09/lib/ndb/common: add auth=cb.inri.net authdom=nycstanley lieber
2015-12-08mp: strtomp support for bases 2,4,8aiju
2015-12-08mp: fix bug in mplogic.c; update mkfileaiju
2015-12-08mp: add logic operations; mpfmt: include 0x with #aiju
2015-12-07fixed spelling error in 2c(1) for the axp entry.Matthew Veety
2015-12-07made sure that rcmain.local runs independent of the existence of ↵Matthew Veety
$home/lib/profile. Documented /rc/lib/rcmain, /rc/lib/rcmain.local, $home/lib/profile in rc(1) and the first two in namespace(4)
2015-12-07Added change to /rc/lib/rcmain to allow execution of /rc/lib/rcmain.local if ↵Matthew Veety
it exists. /rc/lib/rcmain.local is similar to $home/lib/profile in that it will only be executed with -l, but is site-wide.
2015-12-07yacc: attempt to keep line numbers right for yyparse()cinap_lenrek
as the generated parser intermixes lines from .y source and the parser text, the line source/lineno for yyparse() shows up wrong in the debugger. to make stack traces a bit less crazy, put a #line 1 "/sys/lib/yaccpar" before copying in the parser text.
2015-12-06mergecinap_lenrek
2015-12-06libmp: fix assert() for mpexp() with nil moduluscinap_lenrek
2015-12-06libmp: fix wrong move instruction for arm vector operationscinap_lenrek
2015-12-06winwatch: l allows label changesaiju
2015-12-01libmp: mpmod() fix typocinap_lenrek
2015-12-01libmp: with mpmod() m = 2^a - c ensure that digits(c) < digits(m)cinap_lenrek
2015-12-01mergecinap_lenrek
2015-12-01libsec: fix genprime() to produce normalized resultcinap_lenrek
this fixed bug "assert_failed_m-flags__mpnorm_since_283cc2200e34".
2015-11-30mkone: yacc wants the Daiju
2015-11-30webcookies: strdup() file argument to avoid crash (thanks mischief)cinap_lenrek
mischief reports: acid: lstk() abort()+0x0 /sys/src/libc/9sys/abort.c:6 ppanic(p=0x1bff4,fmt=0x1d749)+0x146 /sys/src/libc/port/malloc.c:166 pv=0x1dad8 msg=0x1e4a8 v=0x3ffffe7c n=0x2f D2B(p=0x1bff4,v=0x3fffffae)+0x57 /sys/src/libc/port/pool.c:926 a=0x3fffffa4 poolfreel(v=0x3fffffae,p=0x1bff4)+0x20 /sys/src/libc/port/pool.c:1152 ab=0x1dad8 poolfree(p=0x1bff4,v=0x3fffffae)+0x3b /sys/src/libc/port/pool.c:1287 free(v=0x3fffffb6)+0x23 /sys/src/libc/port/malloc.c:250 readjar(file=0x3fffffb6)+0xce /sys/src/cmd/webcookies.c:473 jar=0x1ea28 lock=0x1ea68 p=0x1ea6d main(argv=0x3fffffa0,argc=0x0)+0x10f /sys/src/cmd/webcookies.c:1295 file=0x3fffffb6 srv=0x0 mtpt=0x1cfd0 _argc=0x66 _args=0x1cfe0 home=0x0 _main+0x31 /sys/src/libc/386/main9.s:16 acid:
2015-11-30mergecinap_lenrek
2015-11-30kernel: cleanup exit()/shutdown()/reboot() codecinap_lenrek
introduce cpushutdown() function that does the common operation of initiating shutdown, returning once all cpu's got the message and are about to shutdown. this avoids duplicated code which isnt really machine specific. automatic reboot on panic only when *debug= is not set and the machine is a cpu server or has no display, otherwise just hang.
2015-11-29fplot(1): fix typoBurnZeZ
2015-11-27fortunes: If you get this, delete it. - Sorry! -- Tim Berners-Lee, www-talk, ↵stanley lieber
Mon, 28 Oct 91 14:34:12 GMT+0100