Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-11-17 | libmemdraw: remove unused static drawbuf variables and ptrfn() declaration | cinap_lenrek | |
2016-11-17 | devtls: remove unused get32() function | cinap_lenrek | |
2016-11-17 | cmd: remove a bit of unused stuff | ftrvxmtrx | |
2016-11-17 | tar: remove unused variable | ftrvxmtrx | |
2016-11-17 | clock: remove unused variable | ftrvxmtrx | |
2016-11-17 | page: remove unused variables | ftrvxmtrx | |
2016-11-17 | ramfs: remove unused variable | ftrvxmtrx | |
2016-11-17 | aan: didn't ask about sendcommand | ftrvxmtrx | |
2016-11-17 | libsec: remove unused aes_setupDec | ftrvxmtrx | |
2016-11-17 | pc64: check if vmap() range fits in VMAPLEN window, remove unneeded ↵ | cinap_lenrek | |
vmapsync(), rename fault386() to faultamd64() | |||
2016-11-16 | ip/tcp: never raise the mss over the link mtu < 1280 for v6 | cinap_lenrek | |
v6 mandates minimum mtu of 1280, tho someone *could* setup an interface with a lower mtu or set it lower for testing. | |||
2016-11-15 | ip: get rid of update_mtucache() and restrict_mtu() prototypes | cinap_lenrek | |
2016-11-15 | ip/pktmedium: no mintu, no maclen... thi is ip packets | cinap_lenrek | |
2016-11-15 | ip/pktmedium: fix wrong hsize, theres no ethernet header on packet media | cinap_lenrek | |
packet media is just raw ip packets, so theres no link-level header there. was probably copy-pasted from ethermedium... | |||
2016-11-15 | ip/tcp: only calculae mss from interface mtu when directly reachable for v6 | cinap_lenrek | |
we currently do not implement path mtu discovery so for destinations that are not directly reachable assume the minimum mtu of 1280 bytes. | |||
2016-11-12 | nusb/ether: support for "bridge" ctl message | cinap_lenrek | |
2016-11-12 | kernel/qio: make readblist() offset of type ulong as the rest | cinap_lenrek | |
2016-11-12 | kernel/qio: get rid of unused qcopycnt debug variable | cinap_lenrek | |
2016-11-09 | kernel/qio: implement concatblock() with pullupblock() | cinap_lenrek | |
2016-11-08 | kernel/ip: fix typo (rfc -> ifc) | cinap_lenrek | |
2016-11-08 | gre: check nil for pullupblock() | cinap_lenrek | |
2016-11-08 | devbridge: simplify etherwrite() as we dont deal with block lists | cinap_lenrek | |
2016-11-08 | kernel/ip: remove nil checks for allocb() and padblock() | cinap_lenrek | |
2016-11-08 | kernel/qio: maintain Block.next pointer in padblock() | cinap_lenrek | |
2016-11-08 | srv(4): add SOURCE for srvtls | cinap_lenrek | |
2016-11-08 | kernel/qio: fix comments, fix qiwrite() on close queue, remove debug ↵ | cinap_lenrek | |
setmalloctag() call in qwrite() | |||
2016-11-08 | devcons: simplify putstrn0() | cinap_lenrek | |
2016-11-07 | devbridge: various bugfixes and improvements from charles forsyth | cinap_lenrek | |
2016-11-07 | kernel/qio: big cleanup of qio functions | cinap_lenrek | |
remove bl2mem(), it is broken. a fault while copying to memory yields a partially freed block list. it can be simply replaced by readblist() and freeblist(), which we also use for qcopy() now. remove mem2bl(), and handle putting back remainer from a short read internally (splitblock()) avoiding the releasing and re- acquiering of the ilock. always attempt to free blocks outside of the ilock. have qaddlist() return the number of bytes enqueued, which avoids walking the block list twice. | |||
2016-11-07 | devloopback: simplify loopoput() | cinap_lenrek | |
remove unneeded waserror() block, loopoput is alled from loopbackbwrite only so we will always get called with a *single* block, so the concatblock() is not needed. | |||
2016-11-07 | ip: always pass a single block to Medium.bwrite(), avoid concatblock() calls ↵ | cinap_lenrek | |
in Dev.bwrite() the convention for Dev.bwrite() is that it accepts a *single* block, and not a block chain. so we never have concatblock here. to keep stuff consistent, we also guarantee thet Medium.bwrite() will get a *single* block passed as well, as the callers are few in number. | |||
2016-11-07 | ip/nullmedium: free passed block in nullbwrite() | cinap_lenrek | |
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 | |