summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-09authsrv: remove unused opasstokeyftrvxmtrx
2015-06-09addpt(2): document badrect functionftrvxmtrx
2015-06-09freeimage(2), readcolmap(2), writecolmap(2): fix prototypesftrvxmtrx
2015-06-08exec(2): exec argument size only limited by user stack sizecinap_lenrek
2015-06-08exec(2): fix prototypesftrvxmtrx
2015-06-08mergecinap_lenrek
2015-06-08aux/vga: disable nvidiascale() as it broke modeset on kenjis cardcinap_lenrek
this code needs revision, need a list of cards where this actually works.
2015-06-07/lib/face: add updated addresses for quanstro, bwc, steve.simon (thanks, erik)stanley lieber
2015-06-07devfs: remove useless ~OTRUNC mask for openmodecinap_lenrek
2015-06-07zynq: fix /dev/plcinap_lenrek
prevent double sleep(): callers to sleep() need to be serialized as there can only be one process sleeping at a time. plrlock and plwlock do this. wait for dma to complete in plwrite(): we have to wait for the dma to complete before touching plbuf again. maintain COPEN flag in archopen()/archclose(): when open fails because it was in use, clear the COPEN flag, so archclose() wont screw stuff up.
2015-06-06fortunes: Turning off comments.stanley lieber
2015-06-06sysinfo: update -p for sysinfo.9front.orgstanley lieber
2015-06-07sysupdate: change source repo to https://code.9front.org/hg/plan9frontcinap_lenrek
code.google.com is shutting down, the new repository is on code.9front.org.
2015-06-07libsec/tlshand: implement client side ECDHE (many thanks to pr!)cinap_lenrek
2015-06-07libsec/ecc: fix memory leak (free() vs mpfree())cinap_lenrek
2015-06-06prep(8): edisk also adds a EFI system partition (esp) when not already exists.cinap_lenrek
2015-06-06inst: provide gpt/mbr choice when disk is blank, format espcinap_lenrek
2015-06-05disk/edisk: create esp partition in addition to plan9 partition in auto modecinap_lenrek
2015-06-059boot: look for plan9.ini in all filesystems accessible to efi to find plan9 ↵cinap_lenrek
partition try the handle buffer in reverse order looking for plan9.ini to find plan9 partition (9fat). when that fails, we'll default to the first handle which should be the esp.
2015-06-04ape: define long long limitsmischief
2015-06-04dossrv: maintain file creation date/time on disk, fsinfo sector can be 0 ↵cinap_lenrek
(disabled)
2015-06-04disk/format: create Fatinfo sector for fat32cinap_lenrek
2015-06-03disk/edisk: fix blank modecinap_lenrek
there where two problems with blank (-b flag): we did not update the backup header when there was already a valid backup header in place. we always want to initialize a new backup header in blank mode! we now also check the backup header matches the primary (or the other way arround depending on which header could be read), reporting any mismatches and restoring the backup from the data of the primary. the protective mbr needs to start at sector 1 not 0 (apparently, this matters for ovmf).
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-02authsrv: use plan9 key for http authenticationcinap_lenrek
in addition to /sys/lib/httppasswords, allow http authentication to use the plan9 password, which can be changed by the user.
2015-06-02hgweb.cgi: +xcinap_lenrek
2015-06-02hgweb.cgi: take REPO_ROOT and REPO_NAME from env, so can be used out of the boxcinap_lenrek
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-06-01devtls: ignore UnrecogniedName (112) alert message (for SNI)cinap_lenrek
2015-05-319fs: handle all the dos filesystems in one case, add esp handlercinap_lenrek
2015-05-31disk/fdisk: learn about EFI system partition (type 0xEF), honor protective ↵cinap_lenrek
mbr (type 0xEE) efi systems may use traditional dos partition table with an esp (efi system partition). otherwise, honor the protective mbr partition (0xEE) and exit when we encounter it.
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-31prep(8): document disk/ediskcinap_lenrek
2015-05-31integrate disk/edisk with diskparts, bootfs and installer (gpt support)cinap_lenrek
2015-05-31libdisk: error handling, sanity checkscinap_lenrek
- make sure disk file is an actual file and not a directory, log or empty file - sanity check: file has to be at least one sector to be a disk - simplify error handling using freedisk()
2015-05-31disk/edisk: little improvementscinap_lenrek
- make UU() shorter by using long long constant to encode node field - store Flag as a mask, not as a shift count - put the attributes before the name in cmdsum() as it is fixed length
2015-05-31test: use libc.h constants for access() mode (thanks qrstuv)cinap_lenrek
2015-05-30io.h: fis comment PciSID (alphapc, kw, mtx, teg2) (thanks qeed!)cinap_lenrek
2015-05-30pc/io.h: fix comment for PciSIDcinap_lenrek
2015-05-30disk/edisk: fix usage (was disk/gdisk)cinap_lenrek
2015-05-30disk/edisk: gpt partition table editor (no manpage, work in progress)cinap_lenrek
2015-05-30disk/partfs: adding identical partition is no-opcinap_lenrek
2015-05-30disk/fdisk: fix help textcinap_lenrek
2015-05-30nusb/disk: adding identical partition is a no-opcinap_lenrek
2015-05-28cputime(2): fix prototype for cycles() (thanks qrstuv)cinap_lenrek
2015-05-28tcs: fix swaped alias mapping gb <-> gb2312cinap_lenrek
2015-05-28uhtml: check if document is valid utf8 even with charset specifiedcinap_lenrek
often, documents specify charsets but are really utf-8 encoded. we now try to decode as utf-8 and only if that fails assume the charset specified in the document.
2015-05-28libsec: cleanup x509 and tlshandcinap_lenrek
- add overflow checks for newbytes(), newbits(), newints() - remove suspicious nil check from estrdup() - remove useless nil checks before free
2015-05-27ape: include <sys/types.h> in <sys/wait.h> for pid_t (thanks jens staal)cinap_lenrek
2015-05-27libsec/x509: fix verify_signature(), digest_certinfo(), X509dump()cinap_lenrek
make digest_certinfo() return the digest length, otherwise return -1 as an error and handle it in the callers. pass expected digest length to verify_signature() and check digest length from certificate! make sure we wont run off the buffer. fix newlines in error prints of X509dump().