diff options
author | peter <peter@FreeBSD.org> | 2008-12-17 16:54:29 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2008-12-17 16:54:29 +0000 |
commit | 35932c6d7c86ff915951ebb0d8224d6d48460bd8 (patch) | |
tree | 0ad797542509ca6810a96d2776b4e35670553a8d | |
parent | 0ca2a78030c8d97f83c1266c27a283699e83e7a5 (diff) | |
download | FreeBSD-src-35932c6d7c86ff915951ebb0d8224d6d48460bd8.zip FreeBSD-src-35932c6d7c86ff915951ebb0d8224d6d48460bd8.tar.gz |
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.
-rw-r--r-- | sys/kern/imgact_elf.c | 4 | ||||
-rw-r--r-- | sys/sys/imgact_elf.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index 671e5f8..431ee38 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -97,9 +97,6 @@ SYSCTL_INT(__CONCAT(_kern_elf, __ELF_WORD_SIZE), OID_AUTO, 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 image_params *imgp) elf_auxargs->base = addr; elf_auxargs->flags = 0; elf_auxargs->entry = entry; - elf_auxargs->trace = elf_trace; imgp->auxargs = elf_auxargs; imgp->interpreted = 0; diff --git a/sys/sys/imgact_elf.h b/sys/sys/imgact_elf.h index 663a090..ec1d638 100644 --- a/sys/sys/imgact_elf.h +++ b/sys/sys/imgact_elf.h @@ -52,7 +52,6 @@ typedef struct { Elf_Size base; Elf_Size flags; Elf_Size entry; - Elf_Size trace; } __ElfN(Auxargs); typedef struct { |