Obtained from: Christos Zoulas <christos@deshaw.com> via NetBSD PR 2621, [ slightly modified since we don't use libcompat anymore. ] I'm not sure if this fixes the rdist security bug completely, but it sure can't hurt!