summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2016-11-08kernel/ip: fix typo (rfc -> ifc)cinap_lenrek
2016-11-08gre: check nil for pullupblock()cinap_lenrek
2016-11-08devbridge: simplify etherwrite() as we dont deal with block listscinap_lenrek
2016-11-08kernel/ip: remove nil checks for allocb() and padblock()cinap_lenrek
2016-11-08kernel/qio: maintain Block.next pointer in padblock()cinap_lenrek
2016-11-08srv(4): add SOURCE for srvtlscinap_lenrek
2016-11-08kernel/qio: fix comments, fix qiwrite() on close queue, remove debug ↵cinap_lenrek
setmalloctag() call in qwrite()
2016-11-08devcons: simplify putstrn0()cinap_lenrek
2016-11-07devbridge: various bugfixes and improvements from charles forsythcinap_lenrek
2016-11-07kernel/qio: big cleanup of qio functionscinap_lenrek
remove bl2mem(), it is broken. a fault while copying to memory yields a partially freed block list. it can be simply replaced by readblist() and freeblist(), which we also use for qcopy() now. remove mem2bl(), and handle putting back remainer from a short read internally (splitblock()) avoiding the releasing and re- acquiering of the ilock. always attempt to free blocks outside of the ilock. have qaddlist() return the number of bytes enqueued, which avoids walking the block list twice.
2016-11-07devloopback: simplify loopoput()cinap_lenrek
remove unneeded waserror() block, loopoput is alled from loopbackbwrite only so we will always get called with a *single* block, so the concatblock() is not needed.
2016-11-07ip: always pass a single block to Medium.bwrite(), avoid concatblock() calls ↵cinap_lenrek
in Dev.bwrite() the convention for Dev.bwrite() is that it accepts a *single* block, and not a block chain. so we never have concatblock here. to keep stuff consistent, we also guarantee thet Medium.bwrite() will get a *single* block passed as well, as the callers are few in number.
2016-11-07ip/nullmedium: free passed block in nullbwrite()cinap_lenrek