Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-05-20 | pcuart: malloc error handling, cleanup | cinap_lenrek | |
2013-05-20 | kbmap/ua: fix uppercase ь | ftrvxmtrx | |
2013-05-20 | devether: handle malloc error in etherprobe() | cinap_lenrek | |
2013-05-20 | wifi: handle malloc errors in wifiattach() | cinap_lenrek | |
2013-05-20 | use resrcwait() when waiting for memory to become available | cinap_lenrek | |
use resrcwait() when waiting for memory to become available. randomize the sleep time and properly restore old process status in case tsleep() gets interrupted. | |||
2013-05-19 | devsd: don't raise Enomem error if sdmalloc() fails, instead wait for the ↵ | cinap_lenrek | |
memory to become available filesystems do not handle i/o errors well (cwfs will abandon the blocks), and temporary exhaustion of kernel memory (because of too many i/o's in parallel) causes read and write on the partition to fail. i think it is better to wait for the memory to become available in this case. the single allocation is at max SDmaxio bytes, which makes it likely to become available. if we havnt even enought fo that, then rebooting the machine would be the best option. (aux/reboot) | |||
2013-05-19 | kbmap/ru: fix uppercase ь | ftrvxmtrx | |
2013-05-18 | nusb/kb: simplify repeat logic as scancode now contains the info about esc1 ↵ | cinap_lenrek | |
extension | |||
2013-05-18 | nusb/kb: oops, fixup | ftrvxmtrx | |
2013-05-18 | nusb/kb: use a flag to indicate extended code; fix the most unix-friendly ↵ | ftrvxmtrx | |
key on se/fi kbd layout | |||
2013-05-15 | faces: just say no to dejavu | stanley lieber | |
2013-05-14 | netaudit: check if ipgw= is an ip address | cinap_lenrek | |
2013-05-14 | make clear that the "ipgw" attribute has to be an ip address | cinap_lenrek | |
2013-05-14 | fortunes: Subject: [9fans] [gsoc] Dart9P | stanley lieber | |
2013-05-13 | rio: place text at beginning of line before cursor and host point | cinap_lenrek | |
2013-05-13 | rio: fix completion and readback and make it possible to complete history | cinap_lenrek | |
2013-05-12 | toppm: no need to initialize err | ppatience0 | |
2013-05-12 | toppm: checking for err is useless; it was initialized to nil earlier | ppatience0 | |
2013-05-12 | toppm: multichan converts to RGB24, not RGBV | ppatience0 | |
2013-05-12 | writeppm: replace WriteGIF by WritePPM | ppatience0 | |
2013-05-13 | writeppm: simplify | cinap_lenrek | |
2013-05-12 | writeppm: for bitmaps, 1 is black, 0 is white | ppatience0 | |
2013-05-12 | toppm: fix style | ppatience0 | |
2013-05-12 | toppm: add -r flag for raw ppm | ppatience0 | |
2013-05-12 | writeppm: fix tab/spaces | cinap_lenrek | |
2013-05-12 | merge | cinap_lenrek | |
2013-05-12 | devaoe: avoid panic on malloc() error by using smalloc() instead. | cinap_lenrek | |
2013-05-12 | file: recognize bitmap and graymap ppm images | ppatience0 | |
writeppm: do not print extra space after each pixel for graymap formats to save space | |||
2013-05-12 | ether8169: do phywakeup magic only for specific mac versions (from openbsd) | cinap_lenrek | |
2013-05-12 | ether8169: and phy wakeup and reset phy before enabling auto negotiation | cinap_lenrek | |
this brings up the 8198B on BurnZeZ's ASRock Z68 Professional Gen3 board. | |||
2013-05-11 | devmnt: fix mount device leak and allocation error handling in mntversion() | cinap_lenrek | |
the fist problem is that qopen() might return nil and that kstrdup() will sleep, so we should try to avoid holding the mntalloc lock. so we move the kstrdup() and qopen() calls before the Mnt allocation, and properly recover the memory if we fail later. the second problem was that we error(Eshort) after we already created the Mnt when returnlen < sizeof(f.version). this check has to happen *before* we even attempt to allocate the Mnt structures. note that we only copy the version string once everything is in the clear, so the semantics of the user buffer not being modified in case of error is not changed. a little cleanup in muxclose(), getting rid of mntptfree()... | |||
2013-05-11 | sdide: add Intel SERIES 6 SATA controller pci ids | cinap_lenrek | |
2013-05-11 | acme: apply nemos acmediskread patch (from sources) | cinap_lenrek | |
pread does not guarantee that it would read all the data asked for. But acme usage of disk assumes that. This issues as many reads as needed to make acme work when read returns less data than it wanted. | |||
2013-05-11 | ape: change types from unsigned long to void* for rendezvous() and ↵ | cinap_lenrek | |
segattach()/segbrk() (erik), use uniqueue rendezvous tags for _buf and listen | |||
2013-05-09 | awk: proctab.c is always regenerated from maketab, so it is unnecessary to ↵ | ppatience0 | |
keep it | |||
2013-05-10 | srv: be nice, close the previously duped pipe filedescriptor | cinap_lenrek | |
2013-05-08 | fortunes: all the world's a social vax cloud | khm | |
2013-05-08 | samterm: revert previous changes. | ppatience0 | |
2013-05-08 | samterm: move cursor to next tabstop or non-space character before ↵ | ppatience0 | |
backspacing in spaces mode. this makes it less annoying to backspace (it's more like tabs). | |||
2013-05-08 | Add RDRAND Support for /dev/random | jpathy | |
2013-05-06 | ape: remove unused variables | ppatience0 | |
2013-05-06 | ape: fix uninitialized variable bug in getfields() | ppatience0 | |
2013-05-06 | merge | ppatience0 | |
2013-05-06 | access: unused variable | ppatience0 | |
2013-05-06 | pbs: allow 9bootfat start cluster beyond 0xFFFF | cinap_lenrek | |
pbs failed to load (silently loading garbage) 9BOOTFAT from start cluster beyond FFFF because we ignored the low word from the directory entry. now taking the high 16 bit of the directory's start cluster into account. | |||
2013-05-05 | devip: dont raise error() out of Fsprotocone() | cinap_lenrek | |
Fsprotoclone() is not supposed to raise error, but return nil. ipopen() seemed to assume otherwise as it setup error label before calling Fsprotoclone(). fix ipopen(), make Fsprotoclone() return nil instead of raising error. | |||
2013-05-05 | devip: handle malloc errors, fix queue leaks | cinap_lenrek | |
Fsprotocone(): qopen() and qbypass() can fail and return nil, so make sure the connection was not partially created by checking if read and write queues have been setup by the protocol create hanler. on error, free any resources of the partial connection and error out. netlogopen(): check malloc() error. | |||
2013-05-04 | libdraw: fix font f->cacheimage nil dereference | cinap_lenrek | |
the initial fontresize() might fail but its error code is ignored potentially leaving f->cacheimage == nil. make sure we call fontresize() in loadchar() when theres no cacheimage and check the return value to avoid nil pointer dereference. | |||
2013-05-04 | libmach: update mips disassembler (from sources) | cinap_lenrek | |
2013-05-04 | sort: handle write error in debug mode | cinap_lenrek | |