Skip to content

Check for ENOENT/ENOTDIR in chdir().

Jacob Lorentzon requested to merge 4lDO2/relibc:cwd_fix into master

Note that the problem this solves, can still re-appear if the directory is removed while the CWD is pointed to it. The proper fix for that is to make relibc always use openat (and not have to do more canonicalization than . and ..).

Merge request reports