summaryrefslogtreecommitdiff
path: root/rc
AgeCommit message (Collapse)Author
2015-06-06inst: provide gpt/mbr choice when disk is blank, format espcinap_lenrek
2015-06-02rc-httpd: cleanup cgi handlercinap_lenrek
- avoid silly stats and checks for $cgi_dir, just use status from builtin cd. - log proper http status code from the cgi script
2015-06-02rc-httpd: various fixescinap_lenrek
care has to be taken when splitting the host into SERVER_NAME and SERVER_PORT, as ipv6 uses : in the host part. also do it consistently, the host can be set thru the request uri and the host header. set REMOTE_USER to empty string to prevent accidents. we do not handle chunked transfer encoding, just assuming the client doesnt do keep alive is wrong. we have to reject the post when the client tries chunked post with 411 "Length required" error.
2015-05-319fs: handle all the dos filesystems in one case, add esp handlercinap_lenrek
2015-05-31inst/bootplan9: skip mbr installation and active partition switching when we ↵cinap_lenrek
have no plan9 dos partition on efi systems, there is no plan9 partition in the dos partition table that could be marked active and the mbr should be left alone.
2015-05-31integrate disk/edisk with diskparts, bootfs and installer (gpt support)cinap_lenrek
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-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-13removed ukill.Matthew Veety
2015-05-13Added ukill(1): Kills all processes started by a userMatthew Veety
2015-03-30webpaste: update for modified okturing.comstanley lieber
2015-03-23ircrc: remove unused clonefileftrvxmtrx
2015-03-16ssam: fix typostanley lieber
2015-03-16ssam: don't pollute the environment.stanley lieber
2015-03-14rc-httpd: support for http basic authentication, fix cgi support to work ↵cinap_lenrek
with hgweb.cgi
2015-03-11netaudit: comment file server auth test (unreliable on cwfs)aiju
2015-03-08g: search .awk and .rc filesstanley lieber
2015-02-12ircrc: dont require nick and user to be the same for auth/userpasswd (thanks ↵cinap_lenrek
spew)
2014-12-27ircrc: use aux/trampoline or tlsclient for connections, add -T flag for tlsmischief
previously ircrc dialed through /net itself and resolved ips on its own. this prevented the use of an ip address, and also prevented use of ipv6. now you can use an ip, or a dns name that resolves to ipv6. the -T flag is also added to use tlsclient for encrypted connections.
2014-12-24nusb/serial: fix nusb/serial hang with ftdicinap_lenrek
have to create process, not a thread in ftdi code so main process can exit after posting fs service.
2014-12-20pci: import pci script and updated database from 9atommischief
2014-11-16hpost: break up tags with newlines to avoid sed line buffer limitcinap_lenrek
2014-11-15hpost: fix multipart/form variable name mangeling when field value contains ↵cinap_lenrek
newlines com='MH3U pic unrelated ' hpost -u ... -m post com:$com resulted in wrong field name like: --HJBOUNDARY Content-Disposition: form-data; name="com pic unrelated" MH3U pic unrelated
2014-11-07Don't quit ircrc on blank line (thanks Ray)khm
2014-11-05inst: copy efi bootloader in bootsetupcinap_lenrek
2014-11-05termrc: setup mouse when we have a framebuffercinap_lenrek
previously, we setup mouse only when vgasize= was specifid in plan9.ini. with efi systems, the framebuffer is already setup for us and theres no requirement for going thru aux/vga setup, but we still want to setup the mouse. so do the mouseport= check once theres a framebuffer by testing the existence of '#i/winname' (which fails when thers no framebuffer).
2014-11-02bullshit: don't pollute the environmentstanley lieber
2014-10-29newt: delete linesstanley lieber
2014-10-29newt: do not print first message twice when stepping through messagesstanley lieber
2014-10-29disable useless ssh daemon by defaultKurt H Maier
2014-10-29newt: only print a date if we've managed to extract a datestanley lieber
2014-10-28newt: removed unused functionstanley lieber
2014-10-28newt: implement ned-style address ranges and overhaul h command to suitstanley lieber
2014-10-19inst: ignore *bootscreen= variable when generating plan9.inicinap_lenrek
2014-10-15sysupdate/psfax/play: fix unquoted brackets causing rc to perform ↵BurnZeZ
unnecessary file lookups
2014-09-30added gbatypeaiju
2014-09-21sysinfo: relax regex for start of kernel boot messagescinap_lenrek
we used to look for /^Plan 9$/ for the start of kernel boot messages in /dev/kmesg. but the xen kernel prints Plan 9 (.....) on boot. so just look for line starting with /^Plan 9/ for now.
2014-08-01usps: yet another updateftrvxmtrx
2014-07-30fstype: fix kfs detection (thanks kenji okomoto)cinap_lenrek
2014-07-11rc-httpd/handlers/serve-static: restore simple test for file type and ↵stanley lieber
hardcode max_age to 1 hour (thanks eekee)
2014-07-11sysinfo: add cpuid infocinap_lenrek
2014-07-05support for huawei e220 g3 modem, cleanup nusb/serialcinap_lenrek
2014-06-28nusb: implement aijus stable uniqueue device namescinap_lenrek
instead of naming devices by ther dynamically assigned device address, we hash device uniqueue fields from the device descriptor and produce a 5 digit hex string that will identify the device across machines. when there is a collision (less than 1% chance with 100 devices), usbd will append the device address to the name to make it uniqueue for this machine. the hname is passed to drivers in the devid argument, which now has the form addr:hname, where the colon and hname can be omited (for backwards compatibility). when the new behaviour isnt desired, nousbhname= environment variable can be defined giving the old behaviour.
2014-06-12termrc, cpurc: clarify comments by removing liesstanley lieber
2014-06-05g: add *.cppftrvxmtrx
2014-05-14play: set user-agent, otherwise server thinks we'r mozilla m(cinap_lenrek
2014-05-12usps: remove redundant uhtml pipelinecinap_lenrek
2014-04-25newt: write message header and body to virtual file before printing, to ↵stanley lieber
avoid stutter
2014-04-22termrc, cpurc: exclude wpa from oom kill and swapcinap_lenrek
2014-04-14aanuke: only print commands to kill the current user's aan procsstanley lieber