svn commit: r186235 - in head/sys: kern sys
Peter Wemm
peter at FreeBSD.org
Wed Dec 17 16:54:29 UTC 2008
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 {
More information about the svn-src-all
mailing list