On Mon, Aug 26, 2013 at 8:20 PM, John Spencer <maillist-kmod@xxxxxxxxxxx> wrote: > usage of strndupa is neither C99 nor POSIX, > so musl libc does not implement it. > it's a glibc invention, and a dangerous one since > usage of alloca() is considered bad practice. It's as dangerous as variable sized arrays, and surely much less "bad practice" than your introduced PATH_MAX. :) If kmod declares posix-only interfaces as the goal, then it's fine, but your reasons do not make much sense in 2013. Kay -- To unsubscribe from this list: send the line "unsubscribe linux-modules" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html