summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-18usbd: set device info for control file (see usb(3), thanks qeed)cinap_lenrek
2015-05-18mergecinap_lenrek
2015-05-18cdproto: /sys/log/pop3cinap_lenrek
2015-05-17colors(1), who(1): add missing SOURCE entriesstanley lieber
2015-05-17libc: use Runemax instead of hardcoded 0x65536 for fmtchar check (thanks qrstuv)cinap_lenrek
2015-05-17kbdfs: Runemax is inclusive.cinap_lenrek
2015-05-15fortunes: What's wrong with the obvious?stanley lieber
2015-05-15gunzip: the extra length field (XLEN) is two bytes instead of onecinap_lenrek
example file: https://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R50f.tgz
2015-05-14rc-httpd/handlers/dir-index: plan 9 files may be chmod +a:stanley lieber
The mode printed under the -l option contains 11 characters, interpreted as follows: the first character is d if the entry is a directory; a if the entry is an append-only file; - if the entry is a plain file. Therefore, handle them in automatically generated directory listings.
2015-05-14tcp: fix loopback slowness issue / set tcb->mss for incoming connections ↵cinap_lenrek
(thanks David du Colombier) David du Colombier wrote: > The slowness issue only appears on the loopback, because > it provides a 16384 MTU. > > There is an old bug in the Plan 9 TCP stack, were the TCP > MSS doesn't take account the MTU for incoming connections. > > I originally fixed this issue in January 2015 for the Plan 9 > port on Google Compute Engine. On GCE, there is an unusual > 1460 MTU. > > The Plan 9 TCP stack defines a default 1460 MSS corresponding > to a 1500 MTU. Then, the MSS is fixed according to the MTU > for outgoing connections, but not incoming connections. > > On GCE, this issue leads to IP fragmentation, but GCE didn't > handle IP fragmentation properly, so the connections > were dropped. > > On the loopback medium, I suppose this is the opposite issue. > Since the TCP stack didn't fix the MSS in the incoming > connection, the programs sent multiple small 1500 bytes > IP packets instead of large 16384 IP packets, but I don't > know why it leads to such a slowdown.
2015-05-14hget: work arround apache Content-Encoding: gzip for Content-Type: ↵cinap_lenrek
application/x-gzip bug apache sends Content-Encoding: gzip header for Content-Type: application/x-gzip causing hget to decompress tgz files. from the w3c: The Content-Encoding entity-header field is used as a modifier to the media-type. When presented, its value indicates what additional content codings have been applied to the entity-body, and thus what decoding mechanisms must be applied in order to obtail the media-type referenced by the Conent-Type header field. Content-Encoding is primarily used to allow a document to be compressed without losing the identity of its underlying media type. this is clearly silly, as the file is already compressed, and decompressing it will not yield the indicated Content-type: application/x-gzip, but a tarball. examples: http://zlib.net/zlib-1.2.8.tar.gz https://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R50f.tgz
2015-05-13fixed by fuck upMatthew Veety
2015-05-13removed ukill.Matthew Veety
2015-05-13Added ukill(1): Kills all processes started by a userMatthew Veety
2015-05-13boot/zynq: use ./boothead.$cputype to invoke helpercinap_lenrek
2015-05-13boot/zynq: add jtagload utilitycinap_lenrek
2015-05-13boot/zynq: implement sdmmc boot (fat)cinap_lenrek
2015-05-11fortunes: Feature requests will be ignored.stanley lieber
2015-05-11emmc/pmmc: make all symbols staticcinap_lenrek
2015-05-11kernel: state errstr.h dependency for proc.acid target (fixes acid kinit() ↵cinap_lenrek
on cleaned kernel source tree)
2015-05-11nusb/serial: recognize aijuboard jtag interfacecinap_lenrek
2015-05-10webfs: fix proxy authenticationcinap_lenrek
2015-05-09realemu: ignore access to CMOS/RTC address/data registerscinap_lenrek
the kernel wont allow access to i/o ports 0x70/0x71, so ignore the access. reads return 0xFF. this fixes vesa on lenovo e540.
2015-05-03passwd(1): passwd no longer needs to be run on a terminal; netkey is more ↵stanley lieber
stubborn.
2015-05-01audio(1): explain mp3enc wants raw data in the opposite byte order to ↵stanley lieber
/dev/audio (thanks, eekee)
2015-05-01audio(1): fix examplestanley lieber
2015-04-30pass Ureg* argument to note handler in R0 register on armcinap_lenrek
userspace note handlers, like any function, expect ther first argument in R0 register on arm.
2015-04-29libsec: remove aesCTRencrypt()/aesCTRdecrypt() (thanks mischief and qrstuv)cinap_lenrek
as mischief and qrstuv point out, these functions are not very usefull and are even implemented wrong (incrementCTR()), so deleting the code.
2015-04-28sam: don't make scroll-wheel-up change focus (thanks clsmith)cinap_lenrek
2015-04-28sam: prevent array overflow with multiple -i and -a arguments (thanks clsmith)cinap_lenrek
2015-04-27etheriwl: make rxon() static (thanks aap)cinap_lenrek
2015-04-26etheriwl: check the bluetooth co-existance errors (thanks qeed)cinap_lenrek
2015-04-24etheriwl: support for Centrino Wireless-N 2230 from freebsd driver (thanks qeed)cinap_lenrek
big thanks to qeed for porting support for Wireless-N 2230 from freebsd driver!
2015-04-23bzfs: handle erealloc(..., 0)cinap_lenrek
2015-04-23lib9p: handle erealloc9p(..., 0)cinap_lenrek
2015-04-23hjfs: fix erealloc(..., 0) crash when removing member from group array makes ↵cinap_lenrek
it empty (thanks 9dan)
2015-04-23cc: fix non constant pointer initializer for other compilers than 8c/6ccinap_lenrek
i made a mistake here as this change breaks the arm and mips compilers which lack an optimiation in xcom() that folds constant pointer arithmetic into the offset. on arm, the a node is a complex expression with op OADD of type TIND but the test rejected the (valid) pointer arithmetic. instead, we now test for the operations which cannot be constant instead of using the type as a proxy.
2015-04-23aux/listen: removing service script sholud kill listener (thanks mischief)cinap_lenrek
mischief spotted that the only way for listeners to go away was truncating (but not removing) a service script. this is wrong and not as described in the manpage. this change makes removing (or truncating) a listen script stop the listener. scandir() first marks all current announces, then reads the service directory adding announces which will clear the marks for the ones already there or add a new unmarked one. finally, we shoot down and remove all still marked announces.
2015-04-22secstore(1): add DIAGNOSTICS sectioncinap_lenrek
2015-04-22secstore: don't print errors for dial() and readnvram() when not in verbose modecinap_lenrek
when no secstore server has been configured or no nvram is setup, exit silently with error status.
2015-04-22hjfs: preserve newlines in commit message (thanks BurnZeZ)cinap_lenrek
2015-04-17gs: avoid 6c type propagation / constant folding issue for set_cb_end()cinap_lenrek
6c changed "- cmd_lagest_size + 1" into a *unsigned* 32bit constant. which got added to 64bit pointer making pcb->limit > pcb->end resulting in errors for partial commands in the buffer. removing the parentesis propagates the operation to 64bit.
2015-04-17games/doom: fix mipscinap_lenrek
2015-04-16kernel: leave shared, physical and fixed segments alone in killbig()cinap_lenrek
2015-04-16kernel: cannot interrupt segmentio commandscinap_lenrek
once we submit a command to segmentio process, we have to wait for it to complete even if we got interrupted.
2015-04-16kernel: avoid posting note to kernel process in faulterror()cinap_lenrek
the intend of posting a note to the faulting process is to interrupt the syscall to give the note handler a chance to handle it. kernel processes however, have no note handlers and all the postnote() does is set up->notepending which will make the next attempt to sleep raise an Eintr[] error. this is harmless, but usually not what we want.
2015-04-16cc: catch non constant pointer initializerscinap_lenrek
char FOO[] = "abc"; /* ok */ char *BAR = FOO; /* ok */ char *BAZ = BAR; /* wrong */
2015-04-16sokoban: fix non constant inializercinap_lenrek
2015-04-16kernel: pass segio error string by pointercinap_lenrek
there's no need to waste space for a error buffer in the Segio structure, as the segmentio kproc will be waiting for the next command after an error and will not overwite it until we issue another command.
2015-04-16kernel: add segio() function for reading/writing segmentscinap_lenrek
devproc's procctlmemio() did not handle physical segment types correctly, as it assumed it can just kmap() the page in question and write to it. physical segments however need to be mapped uncached but kmap() will always map cached as it assumes normal memory. on some machines with aliasing memory with different cache attributes leads to undefined behaviour! we borrow the code from devsegment and provide a generic segio() function to read and write user segments which handles all the cases without using kmap by just spawning a kproc that attaches the segment that needs to be read from or written to. fault() will setup the right mmu attributes for us. it will also properly flush pages for segments that maintain instruction cache when written. however, tlb's have to be flushed separately. segio() is used for devsegment and devproc now, which also allows for simplification of fixfault() as there is no special error handling case anymore as fixfault() is now called from faulting process *only*. reads from /proc/$pid/mem can now span multiple pages.