svn commit: r199828 - head/libexec/rtld-elf
Konstantin Belousov
kib at FreeBSD.org
Thu Nov 26 13:55:49 UTC 2009
Author: kib
Date: Thu Nov 26 13:55:49 2009
New Revision: 199828
URL: http://svn.freebsd.org/changeset/base/199828
Log:
Flag controlling origin expansion in DT_FLAGS is DF_ORIGIN, not DF_1_ORIGIN.
Reviewed by: kan
MFC after: 3 days
Modified:
head/libexec/rtld-elf/rtld.c
Modified: head/libexec/rtld-elf/rtld.c
==============================================================================
--- head/libexec/rtld-elf/rtld.c Thu Nov 26 13:49:37 2009 (r199827)
+++ head/libexec/rtld-elf/rtld.c Thu Nov 26 13:55:49 2009 (r199828)
@@ -898,7 +898,7 @@ digest_dynamic(Obj_Entry *obj, int early
#endif
case DT_FLAGS:
- if ((dynp->d_un.d_val & DF_1_ORIGIN) && trust)
+ if ((dynp->d_un.d_val & DF_ORIGIN) && trust)
obj->z_origin = true;
if (dynp->d_un.d_val & DF_SYMBOLIC)
obj->symbolic = true;
More information about the svn-src-all
mailing list