add pathconf for Linux
add pathconf tests