summaryrefslogtreecommitdiff
path: root/src/process/posix_spawnattr_setflags.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2025-02-09 13:36:44 -0500
committerRich Felker <dalias@aerifal.cx>2025-02-09 13:36:44 -0500
commit4c4f15dae57125e5b65b9690901384ae501d38e2 (patch)
tree59e5c51febb80ec17946212e0433810532e15715 /src/process/posix_spawnattr_setflags.c
parente5adcd97b5196e29991b524237381a0202a60659 (diff)
downloadmusl-4c4f15dae57125e5b65b9690901384ae501d38e2.tar.gz
hasmntopt: match only whole options not arbitrary substrings
the man page for this nonstandardized function has historically documented it as scanning for a substring; however, this is functionally incorrect (matches the substring "atime" in the "noatime" option, for example) and differs from other existing implementations. with the change made here, it should match glibc and other implementations, only matching whole options delimited by commas or separated from a value by an equals sign.
Diffstat (limited to 'src/process/posix_spawnattr_setflags.c')
0 files changed, 0 insertions, 0 deletions