Stopping the program?
Posted Aug 26, 2004 22:55 UTC (Thu) by
jreiser (subscriber, #11027)
In reply to:
Stopping the program? by kweidner
Parent article:
Distribution of security fixes
RTLD_LAZY is the specified default behavior, and in that sense is hardcoded into ld-linux.so.2. Changing ld-linux.so.2 to use RTLD_NOW for SUID executables seems like a good choice in general. In most cases the intent for an executable to be run SUID is known at build time, so the build itself could put DT_BIND_NOW into the DYNAMIC section, which would achieve the desired effect with no changes required to ld-linux.so.2.
(
Log in to post comments)