Use PR_TUNABLE_PATH_MAX for buf length.