marcel b50430dafa Fix multiple registration of the elf_legacy_coredump sysctl variable.
The duplication is caused by the fact that imgact_elf.c is included
by both imgact_elf32.c and imgact_elf64.c and both are compiled by
default on ia64. Consequently, we have two seperate copies of the
elf_legacy_coredump variable due to them being declared static, and
two entries for the same sysctl in the linker set, both referencing
the unique copy of the elf_legacy_coredump variable. Since the second
sysctl cannot be registered, one of the elf_legacy_coredump variables
can not be tuned (if ordering still holds, it's the ELF64 related one).

The only solution is to create two different sysctl variables, just
like the elf<32|64>_trace sysctl variables. This unfortunately is an
(user) interface change, but unavoidable. Thus, on ELF32 platforms
the sysctl variable is called elf32_legacy_coredump and on ELF64
platforms it is called elf64_legacy_coredump. Platforms that have
both ELF formats have both sysctl variables.

These variables should probably be retired sooner rather than later.
2002-12-21 01:15:39 +00:00
..
2002-03-25 13:52:45 +00:00
2002-12-14 02:07:32 +00:00
2002-10-29 20:51:44 +00:00
2002-12-14 01:56:26 +00:00
2002-12-14 01:56:26 +00:00
2002-10-11 10:36:22 +00:00
2002-09-05 11:42:03 +00:00
2002-06-29 02:00:02 +00:00
2002-03-19 21:25:46 +00:00
2002-11-30 00:49:43 +00:00
2002-03-19 21:25:46 +00:00
2002-12-17 19:31:26 +00:00
2002-10-01 13:15:11 +00:00
2002-10-02 09:09:25 +00:00
2002-09-11 08:13:56 +00:00
2002-12-14 01:56:26 +00:00
2002-08-15 02:10:12 +00:00
2002-12-17 19:30:50 +00:00
2002-03-19 21:25:46 +00:00