Module Name: src Committed By: christos Date: Sun Apr 7 19:17:11 UTC 2013
Modified Files: src/external/bsd/tcpdump/dist: tcpdump.c Log Message: - the initgroups function needs to be able to do name to gid translations, so do it before the chroot, otherwise we lose /etc/nsswitch.conf and /etc/group - run res_init() so that we prime and initialize the resolver before the chroot, since our chroot lacks /etc/{{nsswitch,resolve}.conf,hosts} this is not portable behavior, but it is a lot better than populating the chroot with crap. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/bsd/tcpdump/dist/tcpdump.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.