diff options
author | Jake Burkholder <jake@FreeBSD.org> | 2003-01-04 22:07:48 +0000 |
---|---|---|
committer | Jake Burkholder <jake@FreeBSD.org> | 2003-01-04 22:07:48 +0000 |
commit | a360a43dd58eb4f5debd57c35aa3800b7f551346 (patch) | |
tree | 343968325cabcf3b367593c41e6e0ce573592013 /sys/kern/kern_mib.c | |
parent | b59ba7df878187d5c46631570131d5b4546d02ec (diff) |
Improve the way that an elf image activator for an alternate word size is
included in the kernel. Include imgact_elf.c in conf/files, instead of
both imgact_elf32.c and imgact_elf64.c, which will use the default word
size for an architecture as defined in machine/elf.h. Architectures that
wish to build an additional image activator for an alternate word size can
include either imgact_elf32.c or imgact_elf64.c in files.${ARCH}, which
allows it to be dependent on MD options instead of solely on architecture.
Glanced at by: peter
Notes
Notes:
svn path=/head/; revision=108685
Diffstat (limited to 'sys/kern/kern_mib.c')
-rw-r--r-- | sys/kern/kern_mib.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/kern_mib.c b/sys/kern/kern_mib.c index dc72629ac76b..fd7dda52b4e2 100644 --- a/sys/kern/kern_mib.c +++ b/sys/kern/kern_mib.c @@ -361,3 +361,7 @@ SYSCTL_INT(_debug_sizeof, OID_AUTO, buf, CTLFLAG_RD, #include <sys/user.h> SYSCTL_INT(_debug_sizeof, OID_AUTO, kinfo_proc, CTLFLAG_RD, 0, sizeof(struct kinfo_proc), "sizeof(struct kinfo_proc)"); + +SYSCTL_STRING(_kern, OID_AUTO, fallback_elf_brand, CTLFLAG_RD, + "kern.fallback_elf_brand is deprecated, use kern.elf32.fallback_brand or " + "kern.elf64.fallback_brand" , 0, ""); |