XXX "/usr/lib/intrd" should be rewritten in C