Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-02 | rc-httpd: cleanup cgi handler | cinap_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-02 | authsrv: use plan9 key for http authentication | cinap_lenrek | |
in addition to /sys/lib/httppasswords, allow http authentication to use the plan9 password, which can be changed by the user. | |||
2015-06-02 | hgweb.cgi: +x | cinap_lenrek | |
2015-06-02 | hgweb.cgi: take REPO_ROOT and REPO_NAME from env, so can be used out of the box | cinap_lenrek | |
2015-06-02 | rc-httpd: various fixes | cinap_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-01 | devtls: ignore UnrecogniedName (112) alert message (for SNI) | cinap_lenrek | |
2015-05-31 | 9fs: handle all the dos filesystems in one case, add esp handler | cinap_lenrek | |
2015-05-31 | disk/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-31 | inst/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-31 | prep(8): document disk/edisk | cinap_lenrek | |
2015-05-31 | integrate disk/edisk with diskparts, bootfs and installer (gpt support) | cinap_lenrek | |
2015-05-31 | libdisk: error handling, sanity checks | cinap_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-31 | disk/edisk: little improvements | cinap_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-31 | test: use libc.h constants for access() mode (thanks qrstuv) | cinap_lenrek | |
2015-05-30 | io.h: fis comment PciSID (alphapc, kw, mtx, teg2) (thanks qeed!) | cinap_lenrek | |
2015-05-30 | pc/io.h: fix comment for PciSID | cinap_lenrek | |
2015-05-30 | disk/edisk: fix usage (was disk/gdisk) | cinap_lenrek | |
2015-05-30 | disk/edisk: gpt partition table editor (no manpage, work in progress) | cinap_lenrek | |
2015-05-30 | disk/partfs: adding identical partition is no-op | cinap_lenrek | |
2015-05-30 | disk/fdisk: fix help text | cinap_lenrek | |
2015-05-30 | nusb/disk: adding identical partition is a no-op | cinap_lenrek | |
2015-05-28 | cputime(2): fix prototype for cycles() (thanks qrstuv) | cinap_lenrek | |
2015-05-28 | tcs: fix swaped alias mapping gb <-> gb2312 | cinap_lenrek | |
2015-05-28 | uhtml: check if document is valid utf8 even with charset specified | cinap_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-28 | libsec: cleanup x509 and tlshand | cinap_lenrek | |
- add overflow checks for newbytes(), newbits(), newints() - remove suspicious nil check from estrdup() - remove useless nil checks before free | |||
2015-05-27 | ape: include <sys/types.h> in <sys/wait.h> for pid_t (thanks jens staal) | cinap_lenrek | |
2015-05-27 | libsec/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(). | |||
2015-05-27 | libsec/x509: use SHA2-256 digest algorithm instead of MD5 | cinap_lenrek | |
this implements SHA2 (224, 256, 384, 512) signature algorithms and uses sha256WithRSAEncryption for X509req() and X509gen() instead of oid_md5WithRSAEncryption. | |||
2015-05-27 | pci: map pci bars for devices with base class codes (ccrb) 0x00 and ↵ | cinap_lenrek | |
0x0D-0x11 (thanks qeed) there are a few more device base class codes defined 0x0D-0x11, and qemu appears to use base class code 0x00 for some of its fake devices. | |||
2015-05-26 | cc: set unspecified elements to zero in local variable initializers | cinap_lenrek | |
the compiler used to skip zero initialization when initializer list was given not covering unspecified elements. now we zero all non explicitely initialized elements. for example: typedef struct F F; struct F { int a; int b; int c; }; void main(void) { char a[16] = { 1, 2, 3 }; /* a[3..15] initialized to zero */ F f = { .b = 1 }; /* f.a, f.c initialized to zero */ } | |||
2015-05-25 | rootstub: do not create pkg directories | stanley lieber | |
2015-05-25 | remove pkg(1): we regret the error | stanley lieber | |
2015-05-25 | thread(2): fix prototype for threadint() and threadkillgrp() (thanks qwx!) | cinap_lenrek | |
2015-05-25 | cc: handle unaligned data in = {0} local initializer | cinap_lenrek | |
the emited code that initializes local variables did not handle unaligned data causing stack corruption, affecting code like: void main(void) { char a[9] = {0}; } this change will emit code that does byte stores for the unaligned bytes and also handles small objects (<= 16 bytes) without branches. | |||
2015-05-20 | cdproto: /sys/log/httpd should be a directory | mischief | |
2015-05-20 | revert httpd log file goof | mischief | |
2015-05-21 | webfs: send servername in tls client hello (SNI) | cinap_lenrek | |
2015-05-21 | libsec: implement tlsClient support for RFC6066 server name identification (SNI) | cinap_lenrek | |
tlsClient() now can optionally send the server_name in the ClientHello message by setting the TLSconn.serverName. This is required for some https sites. | |||
2015-05-20 | ip/httpd: fix syslog file | mischief | |
2015-05-20 | libhttpd: declare hvprint | mischief | |
2015-05-20 | etherigbe: spi eeprom support (thanks echoline) | cinap_lenrek | |
2015-05-19 | libdraw: don't loop forever when getting eof on /dev/cons in keyboard ioproc | cinap_lenrek | |
2015-05-19 | aux/vga: dont use /proc/$pid/mem to access vga bios | cinap_lenrek | |
using /proc/$pid/mem to access vga bios is not portable and crashes sgi machines when aux/vga is run. instead, try /dev/realmodemem first (provided by realemu), then #v/vgabios. | |||
2015-05-19 | merge | cinap_lenrek | |
2015-05-19 | tar, tarfs: implement longname support | cinap_lenrek | |
this allows extracting tar archives that use longnames extension, where the real filename is stored in a special entry with linkflag == 'L' before the file entry. also skip longlink entries with linkflag == 'K'. | |||
2015-05-18 | faces: fix fuck-up (thanks, qrstuv) | stanley lieber | |
2015-05-18 | faces: add cs.dartmouth.edu!doug (thanks, qrstuv) | stanley lieber | |
2015-05-18 | usbd: set device info for control file (see usb(3), thanks qeed) | cinap_lenrek | |
2015-05-18 | merge | cinap_lenrek | |
2015-05-18 | cdproto: /sys/log/pop3 | cinap_lenrek | |