We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a1ada6 commit 3bd750bCopy full SHA for 3bd750b
src/detection/host/host_linux.c
@@ -93,6 +93,17 @@ const char* ffDetectHost(FFHostResult* host)
93
}); // supported in 2.2.3 and later
94
}
95
96
+ else if (ffStrbufStartsWithS(&instance.state.platform.sysinfo.version, "FreeBSD "))
97
+ {
98
+ ffStrbufSetStatic(&host->name, "Linux Binary Compatibility on FreeBSD");
99
+ ffStrbufSetStatic(&host->family, "FreeBSD");
100
+ ffStrbufSetStatic(&host->vendor, "FreeBSD Foundation");
101
+ if (instance.config.general.detectVersion)
102
103
+ ffStrbufSetS(&host->version, instance.state.platform.sysinfo.version.chars + strlen("FreeBSD "));
104
+ ffStrbufSubstrBeforeFirstC(&host->version, ' ');
105
+ }
106
107
108
109
return NULL;
0 commit comments