Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2008 16:54:29 +0000 (UTC)
From:      Peter Wemm <peter@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r186235 - in head/sys: kern sys
Message-ID:  <200812171654.mBHGsTc1009452@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: peter
Date: Wed Dec 17 16:54:29 2008
New Revision: 186235
URL: http://svn.freebsd.org/changeset/base/186235

Log:
  Remove sysctl debug.elf_trace and the trace field in auxargs.  They go
  nowhere.  It used to be the equivalent of $LD_DEBUG in rtld-elf.
  Elf_Auxargs is an internal structure.

Modified:
  head/sys/kern/imgact_elf.c
  head/sys/sys/imgact_elf.h

Modified: head/sys/kern/imgact_elf.c
==============================================================================
--- head/sys/kern/imgact_elf.c	Wed Dec 17 16:51:40 2008	(r186234)
+++ head/sys/kern/imgact_elf.c	Wed Dec 17 16:54:29 2008	(r186235)
@@ -97,9 +97,6 @@ SYSCTL_INT(__CONCAT(_kern_elf, __ELF_WOR
 TUNABLE_INT("kern.elf" __XSTRING(__ELF_WORD_SIZE) ".fallback_brand",
     &__elfN(fallback_brand));
 
-static int elf_trace = 0;
-SYSCTL_INT(_debug, OID_AUTO, __elfN(trace), CTLFLAG_RW, &elf_trace, 0, "");
-
 static int elf_legacy_coredump = 0;
 SYSCTL_INT(_debug, OID_AUTO, __elfN(legacy_coredump), CTLFLAG_RW, 
     &elf_legacy_coredump, 0, "");
@@ -839,7 +836,6 @@ __CONCAT(exec_, __elfN(imgact))(struct i
 	elf_auxargs->base = addr;
 	elf_auxargs->flags = 0;
 	elf_auxargs->entry = entry;
-	elf_auxargs->trace = elf_trace;
 
 	imgp->auxargs = elf_auxargs;
 	imgp->interpreted = 0;

Modified: head/sys/sys/imgact_elf.h
==============================================================================
--- head/sys/sys/imgact_elf.h	Wed Dec 17 16:51:40 2008	(r186234)
+++ head/sys/sys/imgact_elf.h	Wed Dec 17 16:54:29 2008	(r186235)
@@ -52,7 +52,6 @@ typedef struct {
 	Elf_Size	base;
 	Elf_Size	flags;
 	Elf_Size	entry;
-	Elf_Size	trace;
 } __ElfN(Auxargs);
 
 typedef struct {



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