From 45d276ce3c589bec96e7459c0c03c152334fdd07 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Thu, 26 Nov 2009 13:55:49 +0000 Subject: [PATCH] Flag controlling origin expansion in DT_FLAGS is DF_ORIGIN, not DF_1_ORIGIN. Reviewed by: kan MFC after: 3 days --- libexec/rtld-elf/rtld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index 67545dfba500..380891e567da 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -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;