This update adds the Capsicum/Casper support to lib9p. It definitely needs more polishing, though.
Dec 27 2018
Apr 11 2017
Is there another upstream repo where you'll maintain lib9p? I'm slightly surprised to see bespoke code landing in contrib/
Apr 9 2017
Any thoughts on the interaction with capsicum ? Seems like you just need blanket access underneath a particular directory.
Mar 26 2017
still missing: man page changes. working on them...
Fixed issued pointed out by mav@, added new switches to usage() in ctladm.c
Feb 23 2017
I can't really comment on style, but from technical accuracy standpoint it's all good.
Feb 22 2017
Added -d switch to ctladm port command to specify frontend driver type (default is ioctl). Fixed resource leaks in cfi_shutdown(). Fixed minor gratuitous typecasts. Added seatbelts preventing default ioctl port to be destroyed.
I decided to not allow to destroy default ioctl port
Feb 1 2017
Jan 31 2017
Fixed various things pointed out by reviewer.
Jan 27 2017
Jan 24 2017
Adapted to new ramdisk backend features, added fragments missing in previous diffs
Jan 23 2017
Fixed several HEAD mismerges
Jan 22 2017
Jan 3 2017
I'd be glad to hear what else needs to be changed - I applied that patch in freenas/os tree about a month ago and heard from several users that it fixed virtio-blk on Windows for them, but maybe they didn't push it hard enough.
Nov 30 2016
There might be some merit in implementing guest side of emergency write feature - virtio spec says that emergency writes are possible even before device is initialized or even reset, and emergency write port resides inside PCI config space, making it easy to write to it from loader(8) or during kernel early initialization.
Nov 24 2016
Nov 12 2016
Sep 17 2016
Port names are not null-terminated - putting '\0' at the last byte was wrong.
Cast basename() argument to char *.
Jul 11 2016
Mar 13 2016
Feb 3 2016
Jan 26 2016
Style fixes; moved check_perms() after parse_conf()/uclparse_conf().
Dec 12 2015
Initialize "tag" variable to NULL explicitly at uclparse.c:134.