summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-18kernel: print addresses in hex and sizes in decimal in xallocsummarycinap_lenrek
2014-12-17pc, pc64: cleanup devarchcinap_lenrek
- shorten cpuidprnt so it doesnt have to break line - addarchfile: complain when running out of entries - fix range check in rmemrw() (harmless) - use nil instead of 0 for pointers
2014-12-17fstype(1): cleanupcinap_lenrek
2014-12-17boot(8): the method!server notation isnt usefull anymore...cinap_lenrek
- in 9front, the bootargs are in the form: method!device args - remove redundant and wrong paragraphs regarding tcp booting - document il boot method - fix boot and bootrc confusions
2014-12-17teg2, xen: remove unused bootdisk[] and fix conf.nswppo factor in kernel ↵cinap_lenrek
memory size calculation
2014-12-17pc: remove unused bootdisk[] variablecinap_lenrek
2014-12-17pc, pc64: remove old B.COM command line parsing and just pass tokenized ↵cinap_lenrek
BOOTLINE to /boot/boot as argv[] this change allows command line passing to /boot/boot from qemu like: qemu -kernel 9pcf -append "-u glenda tcp"
2014-12-16kernel: replace ulong with uintptr in ucallocb() and fix unneeded parenthesescinap_lenrek
2014-12-16kernel: remove obsolete comment regarding Mntcache size in */main.ccinap_lenrek
2014-12-16kernel: new mount cachecinap_lenrek
this is a new more simple version of the mount cache that does not require dynamic allocations for extends. the Mntcache structure now contains a page bitmap that is used for quick page invalidation. the size of the bitmap is proportional to MAXCACHE. instead of keeping track of cached range in the Extend data structure, we keep all the information in the Page itself. the offset from the page where the cache range starts is in the low PGSHIT bits and the end in the top bits of Page.va. we choose Page.daddr to map 1:1 the Mountcache number and page number (pn) in the Mountcache. to find a page, we first check the bitmap if the page is there and then do a pagelookup() with the daddr key.
2014-12-15audio/flacdec: fix pcmconv pipeline race (thanks mischief and henesy)cinap_lenrek
2014-12-15kernel: minor changes to mount cachecinap_lenrek
change page cache ids (bid) to uintptr so we use the full address space of Page.daddr. make maxcache offset check consistent in cread(). use consistent types in cupdate() and simplify with goto. make internal functions static. use nil instead of 0 for pointers.
2014-12-15xen: fix cross buildcinap_lenrek
2014-12-15kernel: use new disk/mkfs -o option to get proper source filename list for ↵cinap_lenrek
bootfs.proto
2014-12-15disk/mkfs: add -o flag to list source filescinap_lenrek
2014-12-14mergecinap_lenrek
2014-12-14kernel: remove *.acid files in nuke target instead of $CONF.clean targetcinap_lenrek
2014-12-14png: fail on invalid bpcftrvxmtrx
2014-12-14kernel: get rid of /boot/boot parametrizationcinap_lenrek
there is no use for "bootdisk" variable parametrization of /boot/boot and no point for the boot section with its boot methods in the kernel configuration anymore. so mkboot and boot$CONF.out are gone. move the rules for bootfs.paq creation in 9/boot/bootmkfile. location of bootfs.proto is now in 9/boot/bootfs.proto. our /boot/boot target is now just "boot".
2014-12-14xen: fix mtrr dummy functionscinap_lenrek
2014-12-14bio: add Bfdopen() from plan9portcinap_lenrek
2014-12-14kernel: evaluate dependencies of bootfs.proto files for bootfs.paqcinap_lenrek
expand the list of files specified in bootfs.proto and use them as dependencies to bootfs.paq rule. this way, bootfs.paq is regenerated when the to be included files have been modified.
2014-12-13various cmds: replace magic numbers with Kdel/Keof, etcftrvxmtrx
2014-12-13kernel: correct dependency for printstub.$O instead of print.$Ocinap_lenrek
2014-12-13stats: handle 'q' to closemischief
a side effect of this is keys typed other than q/Del no longer get drawn on top of the window.
2014-12-13pc, pc64: untangle embedded controller (ec) dependency from devarchcinap_lenrek
2014-12-13kernel: generate dummy bootscreeninit() function when building without vga ↵cinap_lenrek
device
2014-12-13ndb/cs: fix spelling (thanks mischief)cinap_lenrek
2014-12-12acme/win: fix mistakecinap_lenrek
have to save partial reminder before null terminating current event buffer :)
2014-12-12acme/win: remove old crapcinap_lenrek
2014-12-12mergecinap_lenrek
2014-12-12acme/win: fix fswrite() not assuming iounit < EVENTSIZEcinap_lenrek
2014-12-11fortunes: UX-wise (and generally speaking, for most common uses of a ↵stanley lieber
computer these days), Plan9 is, sadly, almost useless.
2014-12-11qmail: call mail instead of smtp with the wrong pathstanley lieber
2014-12-11cfs: change default mountpoint to /mnt/cfs and fix the manual (thanks mischief)cinap_lenrek
2014-12-11acme: fix buffer overrun in xfidutfread() and xfidruneread(), cleanupcinap_lenrek
the utf8 buffers b1 where allocated from fbufalloc() which gives us BUFSIZE bytes, but Xfid->count can be bigger than that. so just emalloc() the requested number of bytes. when converting from Runes to utf-8, we have to account for the terminating '\0' byte snprint() places, so fix the maxrune number calculation instead of using BUFSIZE+1 as buffer size.
2014-12-11kbmap: fix sprint() buffer overflow (thanks silasm)cinap_lenrek
A buffer can be overflowed in the init function of kbmap.c by using a filename of more than 112 characters. sample output: % cd /sys/lib/kbmap % touch aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa % kbmap kbmap 1974: suicide: sys: trap: fault write addr=0xa6a96510 pc=0x000011df offending code is most likely the call to sprint in the init function of /sys/src/cmd/kbmap.c, which in this case writes /sys/lib/kbmap/$file to a 128-bit buffer. I'm willing to submit a patch for this myself along with a few minor improvements/fixes to kbmap if I can figure out the nuances of doing so. --silasm
2014-12-11plan9.ini(8): fix typo (thanks ftrvxmtrx)cinap_lenrek
2014-12-10plan9.ini(8): etheryukcinap_lenrek
2014-12-10plan9.ini(8): document bcm and virtio ethernet and hda and ac97 audio.cinap_lenrek
2014-12-10plan9.ini(8): remove factotumopts= (not implemented), add secstore=, clarify ↵cinap_lenrek
domain name use for fs= and auth=
2014-12-10bootrc: keep original address when ndb/dnsgetip fails and let dial complaincinap_lenrek
2014-12-10bootrc: use "address" instead "ip" in wording netboot questions, as we ↵cinap_lenrek
domain names are allowed now.
2014-12-10mergecinap_lenrek
2014-12-10bootfs: remove disk/kfs fileserver, nobody uses itcinap_lenrek
2014-12-10bootrc: add ndb/dnsgetip resolver to bootfs so domain names can be used for ↵cinap_lenrek
fs=, auth= and secstore= (thanks mischief)
2014-12-10bootrc: preserve #ec/fs (thanks _sl)cinap_lenrek
2014-12-09ndb(8): document ndb/dnsgetipmischief
2014-12-10dnsgetip: filter negative answers, remove -f flag, use dnsgetip logfilecinap_lenrek
2014-12-09ndb: add dnsgetip program to resolve A and AAAA records during bootstrappingmischief