Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2016-12-15 | acid: fix y.tab.h dependency for proc.$O | cinap_lenrek | |
2016-12-14 | xen: fix build by adding missing rdrandbuf() function | cinap_lenrek | |
2016-12-11 | vncs: update devmouse code | cinap_lenrek | |
2016-12-11 | vnc: don't prompt for password on auth_respond() failure | cinap_lenrek | |
2016-12-11 | devmouse: remove unused static map[] array | cinap_lenrek | |
2016-12-10 | devmouse: change msec argument of *mousetrack() to ulong | cinap_lenrek | |
2016-12-05 | audioac97: support for ICH4-ICH7 based cards with memory mapped registers ↵ | cinap_lenrek | |
(thanks echoline) | |||
2016-12-03 | tcp17019: 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-29 | devmouse: various bugfixes, simplify | cinap_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-29 | omap: cleanup mouse.c, just a dummy for mousectl() | cinap_lenrek | |
2016-11-29 | omap: fix format string warning %d for long | cinap_lenrek | |
2016-11-27 | stdio: 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-19 | merge | cinap_lenrek | |
2016-11-19 | link loopbackmedium and netdevmedium in bcm/pif, sgi/indy and zynq kernels | cinap_lenrek | |
2016-11-17 | libavl, libregexp: put debug functions back | ftrvxmtrx | |
2016-11-17 | /sys/src/lib*: clean up | ftrvxmtrx | |
2016-11-17 | libmemdraw: cleanup fillpoly(), remove unused fillcolor hack | cinap_lenrek | |
2016-11-17 | libsec: remove unused get32() function | cinap_lenrek | |
2016-11-17 | libmemdraw: remove unused static drawbuf variables and ptrfn() declaration | cinap_lenrek | |
2016-11-17 | devtls: remove unused get32() function | cinap_lenrek | |
2016-11-17 | cmd: remove a bit of unused stuff | ftrvxmtrx | |
2016-11-17 | tar: remove unused variable | ftrvxmtrx | |
2016-11-17 | clock: remove unused variable | ftrvxmtrx | |
2016-11-17 | page: remove unused variables | ftrvxmtrx | |
2016-11-17 | ramfs: remove unused variable | ftrvxmtrx | |
2016-11-17 | aan: didn't ask about sendcommand | ftrvxmtrx | |
2016-11-17 | libsec: remove unused aes_setupDec | ftrvxmtrx | |
2016-11-17 | pc64: check if vmap() range fits in VMAPLEN window, remove unneeded ↵ | cinap_lenrek | |
vmapsync(), rename fault386() to faultamd64() | |||
2016-11-16 | ip/tcp: never raise the mss over the link mtu < 1280 for v6 | cinap_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-15 | ip: get rid of update_mtucache() and restrict_mtu() prototypes | cinap_lenrek | |
2016-11-15 | ip/pktmedium: no mintu, no maclen... thi is ip packets | cinap_lenrek | |
2016-11-15 | ip/pktmedium: fix wrong hsize, theres no ethernet header on packet media | cinap_lenrek | |
packet media is just raw ip packets, so theres no link-level header there. was probably copy-pasted from ethermedium... | |||
2016-11-15 | ip/tcp: only calculae mss from interface mtu when directly reachable for v6 | cinap_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-12 | nusb/ether: support for "bridge" ctl message | cinap_lenrek | |
2016-11-12 | kernel/qio: make readblist() offset of type ulong as the rest | cinap_lenrek | |
2016-11-12 | kernel/qio: get rid of unused qcopycnt debug variable | cinap_lenrek | |
2016-11-09 | kernel/qio: implement concatblock() with pullupblock() | cinap_lenrek | |