diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-04-05 22:36:48 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-04-05 22:36:48 +0000 |
commit | b6348be7b96c43bc6c3b7918d946a0382c489024 (patch) | |
tree | fea1b28d705871c021121fd2ae789ccc6bece3d8 /sys/amd64/linux32/linux32_sysvec.c | |
parent | f7125f180601542f99986001188e32335607f695 (diff) | |
download | src-b6348be7b96c43bc6c3b7918d946a0382c489024.tar.gz src-b6348be7b96c43bc6c3b7918d946a0382c489024.zip |
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
Notes
Notes:
svn path=/head/; revision=297597
Diffstat (limited to 'sys/amd64/linux32/linux32_sysvec.c')
-rw-r--r-- | sys/amd64/linux32/linux32_sysvec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/linux32/linux32_sysvec.c b/sys/amd64/linux32/linux32_sysvec.c index 673ea4f5bcd4..4c4b5a191404 100644 --- a/sys/amd64/linux32/linux32_sysvec.c +++ b/sys/amd64/linux32/linux32_sysvec.c @@ -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"); |