Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-18 | kernel: print addresses in hex and sizes in decimal in xallocsummary | cinap_lenrek | |
2014-12-17 | pc, pc64: cleanup devarch | cinap_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-17 | fstype(1): cleanup | cinap_lenrek | |
2014-12-17 | boot(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-17 | teg2, xen: remove unused bootdisk[] and fix conf.nswppo factor in kernel ↵ | cinap_lenrek | |
memory size calculation | |||
2014-12-17 | pc: remove unused bootdisk[] variable | cinap_lenrek | |
2014-12-17 | pc, 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-16 | kernel: replace ulong with uintptr in ucallocb() and fix unneeded parentheses | cinap_lenrek | |
2014-12-16 | kernel: remove obsolete comment regarding Mntcache size in */main.c | cinap_lenrek | |
2014-12-16 | kernel: new mount cache | cinap_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-15 | audio/flacdec: fix pcmconv pipeline race (thanks mischief and henesy) | cinap_lenrek | |
2014-12-15 | kernel: minor changes to mount cache | cinap_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-15 | xen: fix cross build | cinap_lenrek | |
2014-12-15 | kernel: use new disk/mkfs -o option to get proper source filename list for ↵ | cinap_lenrek | |
bootfs.proto | |||
2014-12-15 | disk/mkfs: add -o flag to list source files | cinap_lenrek | |
2014-12-14 | merge | cinap_lenrek | |
2014-12-14 | kernel: remove *.acid files in nuke target instead of $CONF.clean target | cinap_lenrek | |
2014-12-14 | png: fail on invalid bpc | ftrvxmtrx | |
2014-12-14 | kernel: get rid of /boot/boot parametrization | cinap_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-14 | xen: fix mtrr dummy functions | cinap_lenrek | |
2014-12-14 | bio: add Bfdopen() from plan9port | cinap_lenrek | |
2014-12-14 | kernel: evaluate dependencies of bootfs.proto files for bootfs.paq | cinap_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-13 | various cmds: replace magic numbers with Kdel/Keof, etc | ftrvxmtrx | |
2014-12-13 | kernel: correct dependency for printstub.$O instead of print.$O | cinap_lenrek | |
2014-12-13 | stats: handle 'q' to close | mischief | |
a side effect of this is keys typed other than q/Del no longer get drawn on top of the window. | |||
2014-12-13 | pc, pc64: untangle embedded controller (ec) dependency from devarch | cinap_lenrek | |
2014-12-13 | kernel: generate dummy bootscreeninit() function when building without vga ↵ | cinap_lenrek | |
device | |||
2014-12-13 | ndb/cs: fix spelling (thanks mischief) | cinap_lenrek | |
2014-12-12 | acme/win: fix mistake | cinap_lenrek | |
have to save partial reminder before null terminating current event buffer :) | |||
2014-12-12 | acme/win: remove old crap | cinap_lenrek | |
2014-12-12 | merge | cinap_lenrek | |
2014-12-12 | acme/win: fix fswrite() not assuming iounit < EVENTSIZE | cinap_lenrek | |
2014-12-11 | fortunes: UX-wise (and generally speaking, for most common uses of a ↵ | stanley lieber | |
computer these days), Plan9 is, sadly, almost useless. | |||
2014-12-11 | qmail: call mail instead of smtp with the wrong path | stanley lieber | |
2014-12-11 | cfs: change default mountpoint to /mnt/cfs and fix the manual (thanks mischief) | cinap_lenrek | |
2014-12-11 | acme: fix buffer overrun in xfidutfread() and xfidruneread(), cleanup | cinap_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-11 | kbmap: 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-11 | plan9.ini(8): fix typo (thanks ftrvxmtrx) | cinap_lenrek | |
2014-12-10 | plan9.ini(8): etheryuk | cinap_lenrek | |
2014-12-10 | plan9.ini(8): document bcm and virtio ethernet and hda and ac97 audio. | cinap_lenrek | |
2014-12-10 | plan9.ini(8): remove factotumopts= (not implemented), add secstore=, clarify ↵ | cinap_lenrek | |
domain name use for fs= and auth= | |||
2014-12-10 | bootrc: keep original address when ndb/dnsgetip fails and let dial complain | cinap_lenrek | |
2014-12-10 | bootrc: use "address" instead "ip" in wording netboot questions, as we ↵ | cinap_lenrek | |
domain names are allowed now. | |||
2014-12-10 | merge | cinap_lenrek | |
2014-12-10 | bootfs: remove disk/kfs fileserver, nobody uses it | cinap_lenrek | |
2014-12-10 | bootrc: add ndb/dnsgetip resolver to bootfs so domain names can be used for ↵ | cinap_lenrek | |
fs=, auth= and secstore= (thanks mischief) | |||
2014-12-10 | bootrc: preserve #ec/fs (thanks _sl) | cinap_lenrek | |
2014-12-09 | ndb(8): document ndb/dnsgetip | mischief | |
2014-12-10 | dnsgetip: filter negative answers, remove -f flag, use dnsgetip logfile | cinap_lenrek | |
2014-12-09 | ndb: add dnsgetip program to resolve A and AAAA records during bootstrapping | mischief | |