[kronosnet/kronosnet] af7e17: libknet: add comprehensive file descriptor validat...