diff options
author | Rich Felker <dalias@aerifal.cx> | 2025-02-09 13:36:44 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2025-02-09 13:36:44 -0500 |
commit | 4c4f15dae57125e5b65b9690901384ae501d38e2 (patch) | |
tree | 59e5c51febb80ec17946212e0433810532e15715 /arch | |
parent | e5adcd97b5196e29991b524237381a0202a60659 (diff) | |
download | musl-4c4f15dae57125e5b65b9690901384ae501d38e2.zip musl-4c4f15dae57125e5b65b9690901384ae501d38e2.tar.gz musl-4c4f15dae57125e5b65b9690901384ae501d38e2.tar.bz2 |
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 'arch')
0 files changed, 0 insertions, 0 deletions