Commit Diff


commit - 423f02f5dbaa7b68b446483dc25e22b00db8a07e
commit + 5817aa44982898c5130ee119f4a9964e00741401
blob - ad3f4c31452cba5bba00a25368429af6966e770a
blob + c4f8fe2df73779b46df0d1e6ad4d2c86c17f0613
--- TODO
+++ TODO
@@ -14,3 +14,9 @@
    but synchronous I/O: this way, once a message has been processed,
    we can just receive the next in the same function (i.e. twrite) and
    go ahead.
+
+ - fill user and group name in struct stat.  The problem is that, being
+   chrooted, we don't have access to /etc/passwd nor /etc/group. We
+   could use setpassent(3) and setgroupent(3), but if they change in the
+   meantime we can't do anything.  Another solution would be to not
+   to chroot(2) and just switch to the targeted user.