I just commited the kernel bits.
I intend to commit the userland bits on monday.
If you want to play along at home, here is the diff:
(you need an up2date checkout, a new kernel and at least
make includes).
diff --git slaacd.c slaacd.c
index 8a405b5ca94..8e4207faf05 100644
--- slaacd.c
+++ slaacd.c
@@ -320,11 +320,8 @@ main(int argc, char *argv[])
fatalx("control socket setup failed");
#endif /* SMALL */
-#if 0
- /* XXX ioctl SIOCAIFADDR_IN6 */
-BROKEN if (pledge("stdio cpath sendfd", NULL) == -1)
+ if (pledge("stdio cpath sendfd wroute", NULL) == -1)
fatal("pledge");
-#endif
main_imsg_compose_frontend_fd(IMSG_ICMP6SOCK, 0, icmp6sock);
@@ -457,11 +454,8 @@ main_dispatch_frontend(int fd, short event, void *bula)
switch (imsg.hdr.type) {
case IMSG_STARTUP_DONE:
-#if 0
- /* XXX ioctl SIOCAIFADDR_IN6 */
-BROKEN if (pledge("stdio cpath", NULL) == -1)
+ if (pledge("stdio cpath wroute", NULL) == -1)
fatal("pledge");
-#endif
break;
#ifndef SMALL
case IMSG_CTL_LOG_VERBOSE:
--
I'm not entirely sure you are real.