Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-09-20 | stats: handle /dev/sysstat 32bit overflow in delta calculation | cinap_lenrek | |
the numbers from /dev/sysstat overflow on 32bit, so have to do subtraction modulo 2^32 as we calculate with 64bit integers. thanks mischief for reporting this. | |||
2014-09-20 | pc64: syscallfmt for nsec syscall | cinap_lenrek | |
2014-09-20 | pc64: put return value of nsec syscall in register on amd64 | cinap_lenrek | |
WHAT WHERE THEY *THINKING*??!?! unlike seek, the (new) nsec syscall (not used in 9front libc) returns the time value in register (from nix), so do the same for compatibility. | |||
2014-09-19 | libmemdraw: fix byte ordering in memfillcolor() | cinap_lenrek | |
memfillcolor() used to write longs in host byte order which is wrong. have to always use little endian. to simplify, moved little endian conversion into memsetl() and memsets() avoiding code duplication. | |||
2014-09-19 | lib9p: fix nil dereference crash in remove for directory permission check | cinap_lenrek | |
file->parent can be nil when the file has been previously removed. removefile() deals with this, so skip the permission check in that case and let removefile() error out. | |||
2014-09-17 | teg2: fix wrong l2 setshift address in wholecache() (from sources) | cinap_lenrek | |
2014-09-16 | oggdec: recognize "begin of stream" packets and restart decoding | cinap_lenrek | |
2014-09-16 | merge | cinap_lenrek | |
2014-09-16 | libauthsrv: allow multiple auth= attributes for backup auth servers, ↵ | cinap_lenrek | |
authdial() tries each one in order some of us run auth servers from home that are used by multiple servers on the internet. when the home authserver becomes unreachable, services on the outside servers stop working. so we thought about specifing a secondary auth servers for backup when the primary server is not reachable. this changes authdial() to consult multiple auth= entries in the authdom= or dom= tuples, trying each one in order until dial() succeeds. | |||
2014-09-15 | ramfs: allow changing mtime in wstats | mischief | |
2014-09-15 | hg: make intermediate directories like newer hg does | mischief | |
2014-09-16 | ramfs: fix directory check in wstat() (thanks mischief) | cinap_lenrek | |
2014-09-15 | devtls: fix typo in debug print | cinap_lenrek | |
2014-09-14 | telnetd: let the kernel place the shared segment in segattach() (thanks ↵ | cinap_lenrek | |
kenji arisawa) | |||
2014-09-14 | libmemdraw: update drawtest to use same rounding in alpha calculation as ↵ | cinap_lenrek | |
libmemdraw | |||
2014-09-14 | kernel: fix segattach() rounding of va+len (thanks kenji arisawa) | cinap_lenrek | |
from segattach(2): Va and len specify the position of the segment in the process's address space. Va is rounded down to the nearest page boundary and va+len is rounded up. The system does not permit segments to overlap. If va is zero, the system will choose a suitable address. just rounding up len isnt enougth. we have to round up va+len instead of just len so that the span [va, va+len) is covered even if va is not page aligned. kenjis example: print("%p\n",ap); // 206cb0 ap = segattach(0, "shared", ap, 1024); print("%p\n",ap); // 206000 term% cat /proc/612768/segment Stack defff000 dffff000 1 Text R 1000 6000 1 Data 6000 7000 1 Bss 7000 7000 1 Shared 206000 207000 1 term% note that 0x206cb0 + 0x400 > 0x20700. | |||
2014-09-13 | hgignore: ignore intermediate object files for amd64 | mischief | |
2014-09-13 | hgignore: ignore mips binaries | mischief | |
2014-09-13 | vi: implement _nsec syscall | mischief | |
2014-09-14 | libsec: experimental DHE client support for tls and cleanups | cinap_lenrek | |
2014-09-14 | libsec: add diffie-hellman functions | cinap_lenrek | |
2014-09-14 | libsec: fix hmac for keys bigger then 64 byte block size | cinap_lenrek | |
RFC2104 defines HMAC for keys bigger than the 64 byte block size as follows: Applications that use keys longer than B (64) bytes will first hash the key using H (the hash function) and then use the resultant L byte string as the actual key to HMAC. | |||
2014-09-13 | libsec: ecgen() and ecdsasign() fix | aiju | |
2014-09-11 | acme: remove unused #include | BurnZeZ | |
2014-09-11 | games/gb: minor goof | aiju | |
2014-09-11 | games/nes: reduce volume, causes overflow and confuses ac97 | aiju | |
2014-09-06 | /lib/rob: Just write the code. | stanley lieber | |
2014-09-06 | add /lib/terry | stanley lieber | |
2014-09-06 | ip/ayiya: experimental anything in anything tunnel protocol client | cinap_lenrek | |
this is a work in progress implementation of the ayiya (anything in anything) protocol as used by sixxs.net. hiro tested it and it worked for him, but progress has stalled as sixxs.net rejected my request for an account and ignored my emails since. | |||
2014-09-04 | doom: fix alignment issues for arm | cinap_lenrek | |
2014-09-04 | 5e: fix signed long multiply | cinap_lenrek | |
2014-09-03 | 5e: push ERRMAX for note message on stack avoiding unaligned stack pointer | cinap_lenrek | |
2014-09-02 | ether8139: fix pointer to smaller int tuncation warning on amd64 | cinap_lenrek | |
2014-08-28 | /sys/lib/dist/ndb/common: add auth=fs.stanleylieber.com authdom=inri | stanley lieber | |
2014-08-27 | fortunes: $75K Prosthetic Arm Is Bricked When Paired iPod Is Stolen | stanley lieber | |
2014-08-27 | ipconfig: remove sleep() left over from debug :-) | cinap_lenrek | |
2014-08-27 | ipconfig: fix readipifc() memory leaks in recvra6 and sendra6 processes | cinap_lenrek | |
to avoid continuously leaking memory in recvra6 and sendra6 processes, pass the previous Ipifc* pointer to readipifc(). | |||
2014-08-26 | ip: set arp entry for own v6 address when not tentative | cinap_lenrek | |
after running ip/ipconfig -6, we are unable to ping our own link-local address and the arp daemon sends out useless neighbor solicitation requests to itself. this change adds an arp entry for our ipv6 address. however, this must not be done for tentative interface configuration. | |||
2014-08-26 | ipconfig: cleanup code duplication in ip6cfg() | cinap_lenrek | |
2014-08-26 | ping: don't spin when we get error reading icmp connection, print error and ↵ | cinap_lenrek | |
sleep | |||
2014-08-22 | pc64: enable ether8139 in kernel config (thanks hiro) | cinap_lenrek | |
2014-08-21 | ether8139: fix pointer truncation by ulong cast, use mallocalign() | cinap_lenrek | |
2014-08-21 | secstore: improve error messages, newSConn() can't fail | cinap_lenrek | |
2014-08-21 | ip: fix memory leak in ipicadd6() | cinap_lenrek | |
allocate the Iplifc structure on the stack instead. i assuming that it was allocated on heap in fear of causing stack oveflow. on 386, this adds arround 88 bytes on the stack but it doesnt seem to cause any trouble. (checked with poolcheck after ctl write) | |||
2014-08-18 | pc, pc64: fix off by one error in _multibootentry | cinap_lenrek | |
2014-08-17 | boot: dont print errors if ethernet has no ifstats file, can happen with usb ↵ | cinap_lenrek | |
ethernet | |||
2014-08-17 | 5a: revert MOVM .S and .W are exclusive (broke bcm build) | cinap_lenrek | |
2014-08-17 | kernel: make noswap flag exclude processes from killbig() if not eve, reset ↵ | cinap_lenrek | |
noswap flag on exec | |||
2014-08-16 | Fix acme crash: Get D in a new window with D being an existing directory | iru | |
2014-08-16 | kernel: fix todfix() race | cinap_lenrek | |
we have to recheck the condition under tod lock, otherwise another process can come in and updated tod.last and tod.off and once we have the lock, we would make time jump backwards. |