musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/sys/io.h
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2017年09月14日 16:32:59 -0500
committerRich Felker <dalias@aerifal.cx>2017年10月19日 19:04:16 -0400
commit004dc9549b8003288e635ba5aa91e3353e1974c4 (patch)
tree8297be6882fe4bb666067284173bc0609354263c /include/sys/io.h
parent2cd663fb2d576d590a08c1e40386c07b378d5ad6 (diff)
downloadmusl-004dc9549b8003288e635ba5aa91e3353e1974c4.tar.gz
posix_spawn: use larger stack to cover worst-case in execvpe
execvpe stack-allocates a buffer used to hold the full path (combination of a PATH entry and the program name) while searching through $PATH, so at least NAME_MAX+PATH_MAX is needed. The stack size can be made conditionally smaller (the current 1024 appears appropriate) should this larger size be burdensome in those situations.
Diffstat (limited to 'include/sys/io.h')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月06日 19:36:29 +0000

AltStyle によって変換されたページ (->オリジナル) /