Just for the archives. The getmnt functions can leak the mapping that they create if a fork happens between a call to getmntXXX() and the close of the /etc/mnttab. The mapping will then be leaked in either the parent or the child as only the last process to close the file will remove the mapping.
See: http://bugs.opensolaris.org/view_bug.do?bug_id=6813502 -- This message posted from opensolaris.org