Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-11-07 | ip/tcp: remove useless nil checks for padblock() and allocb() return value | cinap_lenrek | |
2016-11-05 | kernel: fix missing ; in panic() call | cinap_lenrek | |
2016-11-05 | kernel: avoid padblock copying for devtls/devssl/esp, cleanup debugging | cinap_lenrek | |
to avoid copying in padblock() when adding cryptographics macs to a block in devtls/devssl/esp we reserve 16 extra bytes to the allocation. remove qio ixsummary() function and add acid function qiostats() to /sys/lib/acid/kernel simplify iallocb(), remove iallocsummary() statitics. | |||
2016-11-05 | archacpi: fix format string warning on amd64 | cinap_lenrek | |
2016-11-05 | devmnt: avoid memory copies of I/O rpc buffer by using bwrite() | cinap_lenrek | |
given that devmnt will almost always write into a pipe or a network connection, which supports te bwrite routine, we can avoid the memory copy that would have been done by devbwrite(). this also means the i/o buffer for writes will get freed sooner without having to wait for the 9p rpc to get a response, saving memory. theres one case where we have to keep the rpc arround and that is when we write to a cached file, as we want to update the cache with the data that was written, but the user buffer cannot be trusted to stay the same during the rpc. | |||
2016-11-05 | libc: move calloc() into its own compilation unit | cinap_lenrek | |
move calloc() in its own compilation unit to avoid code duplication. also, calloc() is used rarely in plan9 programs. | |||
2016-11-01 | winwatch: put previous label contents in edit buffer for relabling | cinap_lenrek | |
2016-10-30 | 8c: fix double compiling FNX complex lvalue in cgen64() | cinap_lenrek | |
sugen() calls cgen64() speculatively so that when cgen64() returns zero, it will fall back and compile 64-bit copy. the bug was that cgen64() compiled the left hand side and then recursively called cgen64() again, which didnt handle the memory copy so it returned zero and sugen() would compile the left hand side again resulting in two function calls being emited. some code that reproduced the issue: #include <u.h> #include <libc.h> typedef struct { char x[10]; vlong a; } X; X a; X *f(void) { return &a; } void main(int argc, char *argv[]) { f()->a = a.a; } producing: TEXT f+0(SB),0,$0 MOVL $a+0(SB),AX RET , RET , TEXT main+0(SB),0,$0 CALL ,f+0(SB) CALL ,f+0(SB) <- bug MOVL AX,CX LEAL a+12(SB),DX MOVL (DX),AX MOVL AX,12(CX) MOVL 4(DX),AX MOVL AX,16(CX) RET , GLOBL a+0(SB),$20 END , | |||
2016-10-30 | ape/libsec: add secp384r1 curve parameters for tls | cinap_lenrek | |
2016-10-30 | merge | cinap_lenrek | |
2016-10-30 | libsec: add secp384r1 curve parameters for tls | cinap_lenrek | |
2016-10-26 | winwatch: no more 'l' key labeling | spew | |
2016-10-25 | winwatch: middle mouse button click also prompts for label | spew | |
2016-10-24 | stats: alternatively read battery and temp from aux/acpi | ftrvxmtrx | |
2016-10-24 | aux/acpi: make it stats(8)-friendly | ftrvxmtrx | |
2016-10-24 | fix bugs and cleanup cryptsetup code | cinap_lenrek | |
devfs: - fix memory leak in devfs leaking the aes key - allocate aes-xts cipher state in secure memory - actually check if the hexkey got fully parsed cryptsetup: - get rid of stupid "type YES" prompt - use genrandom() to generate salts and keys - rewrite cryptsetup to use common pbkdf2 and readcons routines - fix alot of error handling and simplify the code - move cryptsetup command to disk/cryptsetup - update cryptsetup(8) manual page | |||
2016-10-23 | auth/factotum: bound the number of srv processes to 16, error the 9p rpc ↵ | cinap_lenrek | |
when it is over limit | |||
2016-10-23 | lib9p: limit the number of srv processes kept arround 8 | cinap_lenrek | |
2016-10-23 | pc/archacpi: don't do acpi initialization in the kernel, provide generic ↵ | cinap_lenrek | |
acpimem routines get rid of _INI and _REG method calls, this is not full acpi environment anyway and all we really want todo at kernel boot time is figuring out the interrupt routing. aux/acpi can try to enable more stuff if it needs to later when battery status desired. dont snoop memory space regions in amlmapio(), this is just wrong as amlmapio() is *lazily* mapping regions as they are accessed, so the range table would never be really complete. instead, we provide generic access to the physical address space, excluding kernel and user memory with acpimem file. | |||
2016-10-23 | ip: simplify code as packblock() and concatblock() will never error | cinap_lenrek | |
2016-10-23 | devip: simplify ipbwrite() by using retun value of qbwrite() | cinap_lenrek | |
2016-10-23 | ip/icmp: only reply to echo request when directed to us and source is unicast | cinap_lenrek | |
2016-10-22 | gif: just read and decode the first image when -9 or -c flag is specified | cinap_lenrek | |
2016-10-22 | libdraw: avoid dropping queued button change mouse events in emouse() | cinap_lenrek | |
2016-10-22 | mothra: avoid flushimage() calls, event() will implicitely flush | cinap_lenrek | |
2016-10-19 | mpc: remove unused yylval type | spew | |
2016-10-18 | aux/acpi: batteries and CPU temp reading so far | ftrvxmtrx | |
2016-10-18 | archacpi: optionally export acpi memory regions; properly initialize environment | ftrvxmtrx | |
2016-10-18 | sam: revert showdata crap | ftrvxmtrx | |
2016-10-18 | sam: corner cases are hard | ftrvxmtrx | |
2016-10-18 | sam: fixup :( | ftrvxmtrx | |
2016-10-18 | samterm: support "showdata" plumb action | ftrvxmtrx | |
2016-10-16 | fortunes: does that me a dipshit | stanley lieber | |
2016-10-15 | scram: remove _PTS(5). it just doesn't make any sense | ftrvxmtrx | |
2016-10-15 | scram: oops. word is 0xffff, not 0xff | ftrvxmtrx | |
2016-10-15 | scram: run _PTS(5) and disable GPEs before entering S5. x200s shuts down ↵ | ftrvxmtrx | |
properly now | |||
2016-10-10 | fortunes: Angular uses the term "scope" in a manner akin to the fundamentals ↵ | stanley lieber | |
of co mputer science. | |||
2016-10-03 | iwhois(1): make -n work, add .org, and a couple minor changes | BurnZeZ | |
2016-09-28 | nusb/kb: set usage to 0 (undefined) for items exceeding usage list | cinap_lenrek | |
2016-09-28 | nusb/lib: fix wrong endpoint id when openep() finds already existing ↵ | cinap_lenrek | |
endpoint file | |||
2016-09-26 | sam: putenv("%", ...): don't crash when no file is current | ftrvxmtrx | |
2016-09-22 | sam: use $% instead of $f for filename to be consistent with acme | cinap_lenrek | |
2016-09-22 | sam: make current filename available to shell commands in $f (thanks aiju) | cinap_lenrek | |
2016-09-21 | ip(3): spelling, thanks sl | cinap_lenrek | |
2016-09-21 | ip(3): update description of /net/ipifc/*/status format | cinap_lenrek | |
2016-09-20 | rio: fix onscreen() | cinap_lenrek | |
2016-09-19 | scat: hjdicks for amd64 | cinap_lenrek | |
2016-09-19 | pc(1): if the input base is not 10, print the 0d prefix before decimal ↵ | aiju | |
numbers; this way, all output is always valid input (for the current mode) | |||
2016-09-19 | merge | cinap_lenrek | |
2016-09-19 | webfs: aaand another one (should go to sleep) | cinap_lenrek | |