summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-24libavl: fix manpage example, minor improvement to codespew
2016-12-22avl: fix man page examplespew
2016-12-22alv(2): new avl implementationspew
2016-12-22auth/as: simplify furthercinap_lenrek
2016-12-22auth/as, auth/none, auth/newns: consistent handling of command arguments, ↵cinap_lenrek
cleanup
2016-12-22mergecinap_lenrek
2016-12-22libauth: don't attempt to mount when opening mount srv file fails in nsop()cinap_lenrek
making newnsdebug error messages more usefull...
2016-12-20mpxor: sign should be 1/-1, not 0/-1aiju
2016-12-19rcpu: 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-18awk: improve random number generationcinap_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-17pc: modify cpu0 page tables in patwc() instead of current cpu onescinap_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-17pat write combinding support for 386 kernel, honor cpuid bitscinap_lenrek
2016-12-15pc64: implement simple write combining for framebuffers with the PATcinap_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.
2016-12-15acid: fix y.tab.h dependency for proc.$Ocinap_lenrek
2016-12-14xen: fix build by adding missing rdrandbuf() functioncinap_lenrek
2016-12-11vncs: update devmouse codecinap_lenrek
2016-12-11vnc: don't prompt for password on auth_respond() failurecinap_lenrek
2016-12-11devmouse: remove unused static map[] arraycinap_lenrek
2016-12-10devmouse: change msec argument of *mousetrack() to ulongcinap_lenrek
2016-12-05audioac97: support for ICH4-ICH7 based cards with memory mapped registers ↵cinap_lenrek
(thanks echoline)
2016-12-03tcp17019: make service proto and netdir arguments optional (for aux/listen1)cinap_lenrek
this allows /rc/bin/service/tcp17019 to be called from aux/listen1 without arguments like: aux/listen1 tcp!*!rcpu /rc/bin/service/tcp17019
2016-11-29devmouse: various bugfixes, simplifycinap_lenrek
the assumption of only one producer ((abs)moustratrack()) is not true for external mouse events from /dev/mousein, so protect the mouse state and queue with ilock(). get rid of mousecreate(), just use devcreate(). reset cursor when all instances of /dev/mouse and /dev/cursor got closed, instead of also considering /dev/mousectl. the reason is that kbdfs keeps the mousectl file open. so exiting a program that has the cursor changed will properly reset the cursor to arrow. don't access user buffer while holding cursor spinlock! the memory access can fault. theres also no lock needed there, we'r just copying *from* the cursor memory. fix use of strtol(), p will always be set, check for end of string. keep pointer coordinates onscreen (off by one). make lastms() function to get the last millisecond delta of last call for resynchronization. fix msg[3] buffer overflow in m5mouseputc(). get rid of mouseshifted logic, it is not used.
2016-11-29omap: cleanup mouse.c, just a dummy for mousectl()cinap_lenrek
2016-11-29omap: fix format string warning %d for longcinap_lenrek
2016-11-27stdio: fix sclose() buffer overrun when terminating string, realloc() error ↵cinap_lenrek
handling (thanks porlock) theres a bug is in sclose() where it doesnt check if wp is beyond the buffer. also wp was not updated after realloc(). bug was reported by porlock on 9fans: Plan 9's implementation of the standard C functions snprintf and vsnprintf have a buffer overrun bug. If the buffer length equals the output length (without the terminating null), then one too many characters is written to the buffer. For example, snprintf(buf, 4, "ABCD"); will write 5 characters to buf.
2016-11-19mergecinap_lenrek
2016-11-19link loopbackmedium and netdevmedium in bcm/pif, sgi/indy and zynq kernelscinap_lenrek
2016-11-17libavl, libregexp: put debug functions backftrvxmtrx
2016-11-17/sys/src/lib*: clean upftrvxmtrx
2016-11-17libmemdraw: cleanup fillpoly(), remove unused fillcolor hackcinap_lenrek
2016-11-17libsec: remove unused get32() functioncinap_lenrek
2016-11-17libmemdraw: remove unused static drawbuf variables and ptrfn() declarationcinap_lenrek
2016-11-17devtls: remove unused get32() functioncinap_lenrek
2016-11-17cmd: remove a bit of unused stuffftrvxmtrx
2016-11-17tar: remove unused variableftrvxmtrx
2016-11-17clock: remove unused variableftrvxmtrx
2016-11-17page: remove unused variablesftrvxmtrx
2016-11-17ramfs: remove unused variableftrvxmtrx
2016-11-17aan: didn't ask about sendcommandftrvxmtrx
2016-11-17libsec: remove unused aes_setupDecftrvxmtrx
2016-11-17pc64: check if vmap() range fits in VMAPLEN window, remove unneeded ↵cinap_lenrek
vmapsync(), rename fault386() to faultamd64()
2016-11-16ip/tcp: never raise the mss over the link mtu < 1280 for v6cinap_lenrek
v6 mandates minimum mtu of 1280, tho someone *could* setup an interface with a lower mtu or set it lower for testing.
2016-11-15ip: get rid of update_mtucache() and restrict_mtu() prototypescinap_lenrek
2016-11-15ip/pktmedium: no mintu, no maclen... thi is ip packetscinap_lenrek
2016-11-15ip/pktmedium: fix wrong hsize, theres no ethernet header on packet mediacinap_lenrek
packet media is just raw ip packets, so theres no link-level header there. was probably copy-pasted from ethermedium...
2016-11-15ip/tcp: only calculae mss from interface mtu when directly reachable for v6cinap_lenrek
we currently do not implement path mtu discovery so for destinations that are not directly reachable assume the minimum mtu of 1280 bytes.
2016-11-12nusb/ether: support for "bridge" ctl messagecinap_lenrek
2016-11-12kernel/qio: make readblist() offset of type ulong as the restcinap_lenrek
2016-11-12kernel/qio: get rid of unused qcopycnt debug variablecinap_lenrek
2016-11-09kernel/qio: implement concatblock() with pullupblock()cinap_lenrek