Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-01-15 | rcpu: use $cpu environment variable for host when not specified | cinap_lenrek | |
2017-01-15 | libsec: avoid temp variables in chacha/salsa ENCRYPT() macro | cinap_lenrek | |
given that we only pass uchar* with constant offsets to the s and d arguments of ENCRYPT(), we do not need the temporary variables sp/dp and the compiler is smart enougth to combine the const offset with the ones from GET4() and PUT4() and emit single load and store instructions for the byte accesses. | |||
2017-01-13 | rx: remove ssh code | cinap_lenrek | |
2017-01-13 | listen(8): remove tcp22 section | cinap_lenrek | |
2017-01-13 | remove !tcp22 service | cinap_lenrek | |
2017-01-13 | cpu(1), import(4): note deprecation and refer to rcpu(1) | cinap_lenrek | |
2017-01-13 | listen(8): remove reference to ssh(1) | cinap_lenrek | |
2017-01-13 | rsa(8): remove reference to ssh(1) | cinap_lenrek | |
2017-01-13 | srv(4): fix reference to tlssrv(8) | cinap_lenrek | |
2017-01-13 | factotum(4): remove reference to ssh(1) | cinap_lenrek | |
2017-01-13 | execnet(4): remove trailing , | cinap_lenrek | |
2017-01-13 | execnet(4): remove reference to ssh(1) | cinap_lenrek | |
2017-01-13 | vt(1): remove reference to ssh(1) | cinap_lenrek | |
2017-01-13 | con(1): remove reference to ssh(1) | cinap_lenrek | |
2017-01-13 | 9p(2): remove reference to ssh(1) | cinap_lenrek | |
2017-01-13 | stub(8): remove reference to sshnet | cinap_lenrek | |
2017-01-13 | authsrv(6): remove reference to ssh(1) | cinap_lenrek | |
2017-01-13 | srv(4): remove ssh/sshsrv references | cinap_lenrek | |
2017-01-12 | ssh: R.I.P. | khm | |
2017-01-12 | sgi: change definition of tas() to take void* like the rest | cinap_lenrek | |
2017-01-12 | merge | cinap_lenrek | |
2017-01-12 | libsec: implement extended 192-bit nonce xchacha variant and hchacha function | cinap_lenrek | |
2017-01-12 | kernel: make the mntcache robust against fileserver like fossil that do not ↵ | cinap_lenrek | |
change the qid.vers on wstat introducing new ctrunc() function that invalidates any caches for the passed in chan, invoked when handling wstat with a specified file length or on file creation/truncation. test program to reproduce the problem: #include <u.h> #include <libc.h> #include <libsec.h> void main(int argc, char *argv[]) { int fd; Dir *d, nd; fd = create("xxx", ORDWR, 0666); write(fd, "1234", 4); d = dirstat("xxx"); assert(d->length == 4); nulldir(&nd); nd.length = 0; dirwstat("xxx", &nd); d = dirstat("xxx"); assert(d->length == 0); fd = open("xxx", OREAD); assert(read(fd, (void*)&d, 4) == 0); } | |||
2017-01-12 | kernel: add "close" ctl message for tcp connection to gracefully hang up a ↵ | cinap_lenrek | |
connection without a tcp reset (used by go) | |||
2017-01-10 | games/mix: Add Knuth MIX emulator/assembler | spew | |
2017-01-08 | 6c: reverse register allocation order to avoid having to spill AX,DX and CX | cinap_lenrek | |
allocating AX,CX,DX last improves 64-bit multiplication-add chains like a*b + c*d as the multiplication does not need to save and restore AX and DX registers in most cases. reserving CX for shifts also helps. | |||
2017-01-07 | aux/data2s: compress output | cinap_lenrek | |
encode printable characters litteraly, use D() macro to reduce DATA instruction overhead. this halves the time spend assembling $CONF.root.s for the kernel build. | |||
2017-01-06 | cfs: fix cfsctl interaction with mount cache (mount -C flag) | cinap_lenrek | |
the root fileserver is mounted with the mount cache enabled causing the contents of the cfsctl file to be cached as well leading to wrong results. so after we generated the new stat buffer, we increment the qid.vers so the cache starts out clean. | |||
2017-01-02 | 6c, 8c: fix "DI botch" evacuating DI/SI/CX registers to ".save" variables | cinap_lenrek | |
2016-12-29 | vgaigfx: enable softscreen by default | cinap_lenrek | |
given that the igfx driver doesnt provide any acceleration functions and drawing is usually faster with double buffering as it eleminates reads over the pci bus, enable softscreen by default. | |||
2016-12-28 | samterm: avoid flushimage when theres nothing new to flush | cinap_lenrek | |
2016-12-28 | libmp: avoid temporary buffer allocation in mprand() | cinap_lenrek | |
2016-12-28 | fplot: fix zoom egetrect check (thanks qu7uux) | cinap_lenrek | |
2016-12-28 | fplot: parse negative numbers in argument to -r option (thanks qu7uux) | cinap_lenrek | |
2016-12-28 | libsec: replace des based X9.17 genrandom() with chacha random number generator | cinap_lenrek | |
2016-12-26 | keyfs: print error message when reading /adm/keys fails | cinap_lenrek | |
2016-12-25 | cdproto: explicitely create /$objtype/bin subdirectories for all archs | cinap_lenrek | |
2016-12-24 | libavl: fix manpage example, minor improvement to code | spew | |
2016-12-22 | avl: fix man page example | spew | |
2016-12-22 | alv(2): new avl implementation | spew | |
2016-12-22 | auth/as: simplify further | cinap_lenrek | |
2016-12-22 | auth/as, auth/none, auth/newns: consistent handling of command arguments, ↵ | cinap_lenrek | |
cleanup | |||
2016-12-22 | merge | cinap_lenrek | |
2016-12-22 | libauth: don't attempt to mount when opening mount srv file fails in nsop() | cinap_lenrek | |
making newnsdebug error messages more usefull... | |||
2016-12-20 | mpxor: sign should be 1/-1, not 0/-1 | aiju | |
2016-12-19 | rcpu: avoid filedescriptor conflict with <{} (thanks mycroftiv) | cinap_lenrek | |
the rcpu client dup's fd 0,1,2 to fd 10,11,12 which can accidentally override the pipe file descriptor allocated by the <{} operator. to avoid this problem, we generate the remote script as an /env file in a separate step now. | |||
2016-12-18 | awk: improve random number generation | cinap_lenrek | |
don't use rand() and scale it to 0..1, instead call native frand() which produces uniform random number. instead of seeding the rng with time(0), use truerand(). | |||
2016-12-17 | pc: modify cpu0 page tables in patwc() instead of current cpu ones | cinap_lenrek | |
on 386 kernel, each processor has its own pdb where the primary pdb for kernel mappings is on cpu0 and other cpu's lazily pull pdb entries from cpu0 when they fault in vmapsync(). so we have to edit the table tables in the pdb of cpu0 and not the current processor. | |||
2016-12-17 | pat write combinding support for 386 kernel, honor cpuid bits | cinap_lenrek | |
2016-12-15 | pc64: implement simple write combining for framebuffers with the PAT | cinap_lenrek | |
on some modern machines like the x250, the bios arranges the mtrr's and the framebuffer membar in a way that doesnt allow us to mark the framebuffer pages as write combining, leading to slow graphics. since the pentium III, the processor interprets the page table bit combinations of the WT, CD and bit7 bits as an index into the page attribute table (PAT). to not change the semantics of the WT and CD bits, we preserve the bit patterns 0-3 and use the last entry 7 for write combining. (done in mmuinit() for each core). the new patwc() function takes virtual address range and changes the page table marking the range as write combining. no attempt is made on invalidating tlb's. doesnt matter in our case as the following mtrr() call in screen.c does it for us. |