I've got strlcpy and strlcat ready to go, but I need to figure out how to detect whether they're needed. For the kernel that's hard. For user space, I think it's a matter of adding them to AC_CHECK_FUNCS and putting in the appropriate #ifdefs. I'll try to do that tomorrow.