From owner-svn-src-head@FreeBSD.ORG Wed Dec 17 16:54:29 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92632106564A; Wed, 17 Dec 2008 16:54:29 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7EC378FC08; Wed, 17 Dec 2008 16:54:29 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mBHGsTlj009454; Wed, 17 Dec 2008 16:54:29 GMT (envelope-from peter@svn.freebsd.org) Received: (from peter@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mBHGsTc1009452; Wed, 17 Dec 2008 16:54:29 GMT (envelope-from peter@svn.freebsd.org) Message-Id: <200812171654.mBHGsTc1009452@svn.freebsd.org> From: Peter Wemm Date: Wed, 17 Dec 2008 16:54:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r186235 - in head/sys: kern sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2008 16:54:29 -0000 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 {