Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-03-25 | ape: fix main9 for mips | cinap_lenrek | |
2015-03-25 | libmp: use portable mpdigdiv routines for mips (causes invalid instruction ↵ | cinap_lenrek | |
trap on indy) | |||
2015-03-25 | ape: fix lockinit() for mips | cinap_lenrek | |
2015-03-25 | zynq: fix out of bounds access in etherprobe() | cinap_lenrek | |
calling etherprobe() with -1 cardno will rereference and call cards[-1].reset() which is wrong. don't do that! | |||
2015-03-25 | boot: allow alternative proto files per kernel and kernel config for bootfs.paq | cinap_lenrek | |
bootmkfile will now looks for the following proto files in order and pick the first one it finds to build the bootfs.paq file: 1) $CONF.boofs.proto (config specific) 2) bootfs.proto (kernel specific) 3) $BOOTDIR/bootfs.proto (default generic) | |||
2015-03-24 | vc: fix coffsect.lnno overflow into nreloc | cinap_lenrek | |
the coffsect.lnno field is 16 bit and can overflow into the nreloc field confusing arc firmware on load. just mask it to prevent overflow. | |||
2015-03-23 | ircrc: remove unused clonefile | ftrvxmtrx | |
2015-03-23 | boot: bind #c to /dev with MREPL instead of MBEFORE to avoid double entries | cinap_lenrek | |
2015-03-22 | vl, libmach, kernel: mips has 16K alignment for segments (for bigpages) | cinap_lenrek | |
2015-03-22 | merge | cinap_lenrek | |
2015-03-22 | usbohci: ensure Ed and Td alignment, fix for amd64 | cinap_lenrek | |
2015-03-19 | merge | cinap_lenrek | |
2015-03-19 | db: fix unicode support (thanks giacomo) | cinap_lenrek | |
from the unicode-db patch readme: command() receives a char* that is assigned to lp, which is a Rune*, and lp is incremented later in readchar(), so each read consumed 4 bytes. The only time command() is called is in runpcs() with bkpt->comm, which is a char* built in subpcs through a char*, so the string stored in bkpt->comm was not a Rune string. A way to test the bug is: db program main:b argv/X :r | |||
2015-03-18 | pushtls(2): tls.h -> libsec.h (thanks, pr) | stanley lieber | |
2015-03-18 | dhcpd: ignore ";" filename from sgi arcs bootp(); command | cinap_lenrek | |
2015-03-18 | libmach: use #pragma pack to force 4 byte alignment of bootexec.h structures ↵ | cinap_lenrek | |
for amd64 | |||
2015-03-18 | ape: silence compiler "no return at end of function" for mips lock.c | cinap_lenrek | |
2015-03-17 | merge | cinap_lenrek | |
2015-03-17 | 6c: MOVL xxx, r; MOVLQZX r, r -> MOVL xxx, r | cinap_lenrek | |
eleminate MOVLQXZ instructions after MOVL as MOVL implicitely zero extends the result. | |||
2015-03-16 | ssam: fix typo | stanley lieber | |
2015-03-16 | ssam: don't pollute the environment. | stanley lieber | |
2015-03-16 | mp(2) man page: mpinvert, not mpinverse (thanks, pr) | stanley lieber | |
2015-03-16 | kernel: get rid of auxpage() and preserve cache index bits in Page.va in ↵ | cinap_lenrek | |
mount cache the mount cache uses Page.va to store cached range offset and limit, but mips kernel uses cache index bits from Page.va to maintain page coloring. Page.va was not initialized by auxpage(). this change removes auxpage() which was primarily used only by the mount cache and use newpage() with cache file offset page as va so we will get a page of the right color. mount cache keeps the index bits intact by only using the top and buttom PGSHIFT bits of Page.va for the range offset/limit. | |||
2015-03-16 | kernel: avoid repeated calls to reclaim(), dont miss last page in Pte | cinap_lenrek | |
when we are skipping a process because we could not acquire its segment lock, dont call reclaim() again (which is pointless as we didnt pageout any pages), instead try the next process. the Pte.last pointer is inclusive, so don't miss the last page in pageout(). | |||
2015-03-15 | rsa(8): recommend secstore(1) for Plan 9 RSA private key storage | cinap_lenrek | |
2015-03-15 | mothra: <del>, <ins>, <wbr> | cinap_lenrek | |
2015-03-15 | mothra: add <strike> support | cinap_lenrek | |
2015-03-15 | boot: disable group/other permission checking in bootfs paqfs | cinap_lenrek | |
when building bootfs in d770 mode directory, the other permissions in bootfs paq are masked off which results in boot to fail. theres no point in checking group/other permissions on boot, so just disable permissin checking in paqfs with the -a flag. | |||
2015-03-14 | doom: print correct version number on mismatch (thanks qu7uux) | cinap_lenrek | |
2015-03-14 | webfs: do not send credentials in automatic referer url | cinap_lenrek | |
2015-03-14 | rc-httpd: support for http basic authentication, fix cgi support to work ↵ | cinap_lenrek | |
with hgweb.cgi | |||
2015-03-14 | httpauth: little helper for rc-httpd to do http basic authentication with ↵ | cinap_lenrek | |
plan9 auth server | |||
2015-03-13 | hg, python: remove proto files | cinap_lenrek | |
2015-03-13 | hg: install hgweb templates | cinap_lenrek | |
2015-03-12 | pemencode: handle base64 input length < 3, fix bogus zero termination | cinap_lenrek | |
2015-03-12 | imap4d: simplify auth code using encodefmt(), use readn() to get multiple of ↵ | cinap_lenrek | |
3*18 in base64 input buffer | |||
2015-03-12 | webfs: simplify http basic auth code by using encodefmt() | cinap_lenrek | |
2015-03-12 | upas/marshal: deduplicate cistrcmp()/cistrncmp()/enc64() | cinap_lenrek | |
use the libc versions of these routines avoiding code duplication. | |||
2015-03-11 | ndb/dns: reduce sencodefmt() to not link in enc32()/enc64() encoders | cinap_lenrek | |
the special sencodefmt() in ndb/dn.c is only used with %H format for hexadecimal printing for binary strings. removing the unused calls to enc32() and enc64() reduces the code size by arround 4K. (this is usefull for ndb/getip which gets linked into the kernel). | |||
2015-03-11 | encode(2): clarify lim argument to enc*(), add SOURCE reference for encodefmt() | cinap_lenrek | |
2015-03-11 | merge | cinap_lenrek | |
2015-03-11 | smtp, smtpd: fix use of enc64(), fix memory leaks in doauth() | cinap_lenrek | |
the approximation of n*2 to calculate the number of output bytes for enc64() fails for inputs of size < 3. this is fixed by using encodefmt() which gets the calculation right and also simplifies the code avoiding the allocation and freeing of intermediate string buffers. | |||
2015-03-11 | netaudit: comment file server auth test (unreliable on cwfs) | aiju | |
2015-03-11 | gif: fix color table clipping (for cb5.gif) | cinap_lenrek | |
2015-03-11 | factotum: remove unused extern declarations of invoker and authdom from header | cinap_lenrek | |
2015-03-10 | kernel: fix integer overflow in syssegflush(), segment code cleanup | cinap_lenrek | |
mcountseg(), mfreeseg(): use Pte.first/last pointers when possible and avoid constructs like s->map[i]->pages[j]. freepte(): do not zero entries in freepte(), the segment is going away and here is no point in zeroing page pointers. hoist common code at the top avoiding duplication. segpage(), fixfault(): avoid load after store for Pte** pointer. fixfault(): return -1 in default case to avoid the "used but not set" warning for mmuphys and get rid of the useless initialization. syssegflush(): due to len being unsigned, the pe = PGROUND(pe) can make "chunk" bigger than len causing a overflow. rewrite the function and deal with page alignment and errors at the beginning. syssegflush(), segpage(), fixfault(), putseg(), relocateseg(), mcountseg(), mfreeseg(): keep naming consistent. | |||
2015-03-10 | wpa(8): the -p flag will also prompt for user/password on wpa enterprise | cinap_lenrek | |
2015-03-10 | pushtls(2): fix signature to TLSconn.trace() | cinap_lenrek | |
2015-03-09 | webfs: implement CONNECT method for https connections over proxy | cinap_lenrek | |
when using a http proxy, establish secure tls connection to the other end with the CONNECT method so the proxy. | |||
2015-03-08 | theo: OpenBSD is not generally known as an exposed democracy. | stanley lieber | |