Add kern.features flags for linux and linux64 modules
kern.features.linux: 1 meaning linux 32 bits binaries are supported kern.features.linux64: 1 meaning linux 64 bits binaries are supported The goal here is to help 3rd party applications (including ports) to determine if the host do support linux emulation Reviewed by: dchagin MFC after: 1 week Relnotes: yes Differential Revision: D5830
This commit is contained in:
parent
8eb992ff9f
commit
577607dffc
@ -992,3 +992,4 @@ static moduledata_t linux64_elf_mod = {
|
||||
|
||||
DECLARE_MODULE_TIED(linux64elf, linux64_elf_mod, SI_SUB_EXEC, SI_ORDER_ANY);
|
||||
MODULE_DEPEND(linux64elf, linux_common, 1, 1, 1);
|
||||
FEATURE(linux64, "Linux 64bit support");
|
||||
|
@ -1205,3 +1205,4 @@ static moduledata_t linux_elf_mod = {
|
||||
|
||||
DECLARE_MODULE_TIED(linuxelf, linux_elf_mod, SI_SUB_EXEC, SI_ORDER_ANY);
|
||||
MODULE_DEPEND(linuxelf, linux_common, 1, 1, 1);
|
||||
FEATURE(linux, "Linux 32bit support");
|
||||
|
@ -1197,3 +1197,4 @@ static moduledata_t linux_elf_mod = {
|
||||
};
|
||||
|
||||
DECLARE_MODULE_TIED(linuxelf, linux_elf_mod, SI_SUB_EXEC, SI_ORDER_ANY);
|
||||
FEATURE(linux, "Linux 32bit support");
|
||||
|
Loading…
Reference in New Issue
Block a user