waserror() audit
authorBarret Rhoden <brho@cs.berkeley.edu>
Sat, 18 Jan 2014 05:35:43 +0000 (21:35 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Sat, 18 Jan 2014 05:35:43 +0000 (21:35 -0800)
commit4af10c792bfe53c0b79fe7be1a3a0c6d4f9e1301
treeed6d35fc8a91ad4f625aadbd8777226629349c98
parent902a0651b9d45ade33e7f35601609c97f79a235b
waserror() audit

Our waserrors in the error case need a poperror or nexterror.  This
isn't how plan9 works.

This was rather painful.  Enough so that perhaps we should have changed
our ways.  Maybe next time we port a plan9 derivative.

I also dealt with the weird errstr shit in namec the same way I did with
nxm: commenting it out.  I found that (back then) to make namec harder
to debug.  We'll see.
21 files changed:
kern/arch/x86/vmx.c
kern/drivers/dev/cons.c
kern/drivers/dev/dev.c
kern/drivers/dev/mnt.c
kern/drivers/dev/vm.c
kern/src/net/arp.c
kern/src/net/devip.c
kern/src/net/ethermedium.c
kern/src/net/ip.c
kern/src/net/ipifc.c
kern/src/net/iproute.c
kern/src/net/ipv6.c
kern/src/net/loopbackmedium.c
kern/src/net/netdevmedium.c
kern/src/net/netlog.c
kern/src/net/tcp.c
kern/src/ns/chan.c
kern/src/ns/parse.c
kern/src/ns/qio.c
kern/src/ns/random.c
kern/src/ns/sysfile.c