]> git.ipfire.org Git - thirdparty/glibc.git/commit
Fix comments in _dl_dst_count and _dl_dst_substitute.
authorCarlos O'Donell <carlos@redhat.com>
Wed, 13 Jun 2018 03:31:02 +0000 (23:31 -0400)
committerCarlos O'Donell <carlos@redhat.com>
Wed, 13 Jun 2018 03:35:06 +0000 (23:35 -0400)
commita745c837cb51c2efe8900740548cb68ec2a2f7ab
treeabe09c3ad30fe4bd4a20f818ade11453334a6777
parent35df5a77f3ad2a35761631928440d2994a9e4bc5
Fix comments in _dl_dst_count and _dl_dst_substitute.

The comments in _dl_dst_count is adjusted to match what the code does
which is count DSTs from the start of the string. With the removal of
DL_DST_COUNT we no longer accept an input that starts at the first $.

In _dl_dst_substitute we adjust the comment to indicate that both
conditions must be true for the SUID/SGID $ORIGIN exception.
ChangeLog
elf/dl-load.c