Determine whether the process is a automountd descendant using
session id instead of using separate proc flag.