From b7f5f375b7d1187cc644efc91d74ab06e7550d2b Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Tue, 18 Aug 2015 09:57:30 +0200 Subject: [PATCH 116/325] sys/x86: Note that ElectroBSD does not protect against compromised hosts ... if a hypervisor has been detected. Obtained from: ElectroBSD --- sys/x86/x86/identcpu.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sys/x86/x86/identcpu.c b/sys/x86/x86/identcpu.c index 2907575377b8..ce9bf2ae5d3b 100644 --- a/sys/x86/x86/identcpu.c +++ b/sys/x86/x86/identcpu.c @@ -2551,6 +2551,11 @@ static void print_hypervisor_info(void) { - if (*hv_vendor) - printf("Hypervisor: Origin = \"%s\"\n", hv_vendor); + if (*hv_vendor == '\0') + return; + + printf("Hypervisor: Origin = \"%s\"\n", hv_vendor); + printf("ElectroBSD security advise: It looks like you may be clown computing.\n" + "Please note that the people controlling the 'cloud' this system is\n" + "running on can monitor and sabotage everything it is doing.\n"); } -- 2.32.0