Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 2009 18:03:49 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r199907 - stable/8/libexec/rtld-elf
Message-ID:  <200911291803.nATI3nN2003333@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sun Nov 29 18:03:49 2009
New Revision: 199907
URL: http://svn.freebsd.org/changeset/base/199907

Log:
  MFC r199828:
  Flag controlling origin expansion in DT_FLAGS is DF_ORIGIN, not DF_1_ORIGIN.

Modified:
  stable/8/libexec/rtld-elf/rtld.c
Directory Properties:
  stable/8/libexec/rtld-elf/   (props changed)

Modified: stable/8/libexec/rtld-elf/rtld.c
==============================================================================
--- stable/8/libexec/rtld-elf/rtld.c	Sun Nov 29 17:53:57 2009	(r199906)
+++ stable/8/libexec/rtld-elf/rtld.c	Sun Nov 29 18:03:49 2009	(r199907)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911291803.nATI3nN2003333>