summaryrefslogtreecommitdiffstats
path: root/src/pwcache.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-03-27 11:15:46 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-03-27 13:13:23 -0400
commit42972dfac6cd8faef6b1e2ddc6236d554daf433f (patch)
tree6a111d63dcafb7b19a150e46a3835d504dcaa474 /src/pwcache.h
parentc01d1f48c950fc0c942988ad1fcdd8003ac93898 (diff)
downloadbfs-42972dfac6cd8faef6b1e2ddc6236d554daf433f.tar.xz
xspawn: Refactor $PATH resolution
Technically, we should be resolving executables *after* applying the file actions. It's only safe to resolve earlier if $PATH contains no relative entries, or if there are no fchdir() actions. The new implementation resolves as early as possible, deferring to posix_spawnp() if necessary for correctness.
Diffstat (limited to 'src/pwcache.h')
0 files changed, 0 insertions, 0 deletions