sigrid/9pro

Description
# 9pro

Plan9-related tools for Unix-like operating systems.

 * 9pex - share a directory over stdin/stdout, can be used with socat/inetd
 * 9gc  - a very simple stdin/stdout 9gridchan client

This is all _WIP_ still.  9pex is working in read-only mode so far but
lacks proper auth, async IO, some more error control etc.

To build static binaries with musl:

```
CC=musl-gcc CFLAGS="-Os -s -g0 -static" ./build.sh
```

# Why

We can do better.

# Notes/todo

 * 9pex: to allow "escaping the root" by following symlinks you have to pass `-e` option
 * 9pex: chrooting with musl makes `realpath` not work as it requires /proc to be mounted, get rid of `realpath`?
 * 9gc: you can run it in termux on Android like so: `rlwrap -a'XXXXXXwth' -s 0 -t dumb 9gc -e NICKNAME`
Last 5 commits (shortlog)
Date Author Short message Commit hash
2021-01-26 Sigrid 9pex: fix up modes, prepare to add writing support 765c1cc184b74e5f3fa52281079afb4a17405227
2021-01-25 Sigrid Merge commit '249ff28f6199e0562c5630f6dd0d17da261db4c9' 44782f552869c57f38876fdeafcce9de167df6c3
2021-01-22 Sigrid ah shit. here we go again daadb0a1ab632a225059a48d7d9d725a03e621f2
2021-01-17 Sigrid 9gc: add the option to getopt call 35776c80cfe58912aeb924221a4d1a73e8ea4f7a
2021-01-17 Sigrid 9gc: const char 620324cd3f28fe13dc36442aa5763953d44ef898
Files (browse)
.gitignore
9gc.c
9pex.c
LICENSE
README.md
build.sh
c9/
crc32.c
nixos/
parg/
pull_subtree.sh