interp: fix cd
builtin: call a system function to determine access instead of reverse-engineering it ourselves#1034
Merged
mvdan merged 4 commits intomvdan:master from theclapp:masterSep 30, 2023
+6-44