2024-01-29 23:31:23 +01:00
|
|
|
Index: VirtualBox-7.0.14/src/apps/Makefile.kmk
|
2015-11-08 10:13:53 +01:00
|
|
|
===================================================================
|
2024-01-29 23:31:23 +01:00
|
|
|
--- VirtualBox-7.0.14.orig/src/apps/Makefile.kmk
|
|
|
|
+++ VirtualBox-7.0.14/src/apps/Makefile.kmk
|
2022-11-18 22:49:33 +01:00
|
|
|
@@ -30,5 +30,7 @@ include $(KBUILD_PATH)/subheader.kmk
|
2022-09-16 19:04:36 +02:00
|
|
|
|
2015-11-08 10:13:53 +01:00
|
|
|
include $(PATH_SUB_CURRENT)/VBoxPermissionMessage/Makefile.kmk
|
2022-09-16 19:04:36 +02:00
|
|
|
|
2015-11-08 10:13:53 +01:00
|
|
|
+include $(PATH_SUB_CURRENT)/VBoxUSB_DevRules/Makefile.kmk
|
|
|
|
+
|
|
|
|
include $(FILE_KBUILD_SUB_FOOTER)
|
2022-09-16 19:04:36 +02:00
|
|
|
|
2024-01-29 23:31:23 +01:00
|
|
|
Index: VirtualBox-7.0.14/src/apps/VBoxUSB_DevRules/Makefile.kmk
|
2015-11-08 10:13:53 +01:00
|
|
|
===================================================================
|
2017-06-09 00:26:55 +02:00
|
|
|
--- /dev/null
|
2024-01-29 23:31:23 +01:00
|
|
|
+++ VirtualBox-7.0.14/src/apps/VBoxUSB_DevRules/Makefile.kmk
|
2017-12-29 20:22:29 +01:00
|
|
|
@@ -0,0 +1,30 @@
|
2015-11-08 10:13:53 +01:00
|
|
|
+# $Id: Makefile.kmk 28800 2010-04-27 08:22:32Z vboxsync $
|
|
|
|
+## @file
|
|
|
|
+#
|
|
|
|
+# VBoxUSB_DevRules is wrapper for suse users
|
|
|
|
+#
|
|
|
|
+# This file is part of VirtualBox Open Source Edition (OSE), as
|
|
|
|
+# available from http://www.virtualbox.org. This file is free software;
|
|
|
|
+# you can redistribute it and/or modify it under the terms of the GNU
|
|
|
|
+# General Public License (GPL) as published by the Free Software
|
|
|
|
+# Foundation, in version 2 as it comes in the "COPYING" file of the
|
|
|
|
+# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
|
|
|
+# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
|
|
|
+#
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+SUB_DEPTH = ../../..
|
|
|
|
+include $(KBUILD_PATH)/subheader.kmk
|
|
|
|
+
|
|
|
|
+PROGRAMS += VBoxUSB_DevRules
|
|
|
|
+
|
Accepting request 1084796 from home:larryr:branches:Virtualization
- VirtualBox 7.0.8 (released April 18 2023)
This is a maintenance release. The following items were fixed and/or added:
VMM: Introduced general improvements in nested visualization area
GUI: Brought back Restore current snapshot checkbox of Close VM dialog (bugs #21189, #21491)
GUI: Fixes and validation for VM settings USB filters editor, filter port value is now properly saved/restored
GUI: Fixes for VM name and OS type embedded editors of Details pane
GUI: Cloud related wizards should now propose enabled profiles before disabled
Oracle VM VirtualBox Extension Pack: Fixed shipping the cryptographic support module for full VM encryption
E1000: Fixed possible guru meditation when changing network attachments (bug #21488)
virtio-net: Follow up fixes for FreeBSD 12.3 and pfSense 2.6.0 (bug #21201)
3D: Fixed various graphics issues with Windows 7 guests (bugs #21129, #21196, #21208, #21521)
Main/UefiVariableStore: Added API to add signatures to the MOK list (Machine Owner Key)
VBoxManage: Introduced modifynvram enrollmok sub-command to enroll Machine Owner Key into NVRAM, so Linux guest kernel can pick it up in order to verify signature of modules signed with this key
Guest Control/Main: Fixed deleting files via built-in toolbox
Linux host: Added possibility to bypass kernel modules signature verification once VBOX_BYPASS_MODULES_SIGNATURE_CHECK="1" is specified in /etc/vbox/vbox.cfg, useful in case if Linux distribution does not provide necessary tools to verify kernel module signature
Linux Guest Additions and host Installer: Improved detection if system is running systemd as the init process
Linux Guest Additions and host drivers: Introduce initial support for kernel 6.3
Linux Guest Additions: Added possibility to bypass kernel modules signature verification once VBOX_BYPASS_MODULES_SIGNATURE_CHECK="1" is specified in /etc/virtualbox-guest-additions.conf, useful in case if Linux distribution does not provide necessary tools to verify kernel module signature
Linux Guest Additions: Added experimental support for kernel modules and user services reloading in the end of installation process, thus guest system reboot after Guest Additions (7.0.8 and newer) upgrade is no longer required in general case
Linux Guest Additions: Fixed vboxvideo build issue with RHEL 8.7, 9.1 and 9.2 kernels (bugs #21446 and #21450)
Fixes for (boo#1210616)
CVE-2023-21990 Oracle VM VirtualBox Core None No 8.2 Prior to 6.1.44, Prior to 7.0.8
CVE-2023-21987 Oracle VM VirtualBox Core None No 7.8 Prior to 6.1.44, Prior to 7.0.8
CVE-2023-22002 Oracle VM VirtualBox Core None No 6.0 Prior to 6.1.44, Prior to 7.0.8
CVE-2023-21989 Oracle VM VirtualBox Core None No 6.0 Prior to 6.1.44, Prior to 7.0.8
CVE-2023-21998 Oracle VM VirtualBox Core None No 4.6 Prior to 6.1.44, Prior to 7.0.8
CVE-2023-22000 Oracle VM VirtualBox Core None No 4.6 Prior to 6.1.44, Prior to 7.0.8
CVE-2023-22001 Oracle VM VirtualBox Core None No 4.6 Prior to 6.1.44, Prior to 7.0.8
CVE-2023-21988 Oracle VM VirtualBox Core None No 3.8 Prior to 6.1.44, Prior to 7.0.8
CVE-2023-21999 Oracle VM VirtualBox Core None No 3.6 Prior to 6.1.44, Prior to 7.0.8
OBS-URL: https://build.opensuse.org/request/show/1084796
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=687
2023-05-04 18:43:16 +02:00
|
|
|
+VBoxUSB_DevRules_TEMPLATE = VBoxQtGuiExe
|
2015-11-08 10:13:53 +01:00
|
|
|
+VBoxUSB_DevRules_SOURCES = VBoxUSB_DevRules.cpp
|
|
|
|
+VBoxUSB_DevRules_QT_MODULES = Core Gui
|
2017-12-29 20:22:29 +01:00
|
|
|
+VBoxUSB_DevRules_QT_MODULES += Widgets
|
2015-11-08 10:13:53 +01:00
|
|
|
+
|
|
|
|
+#INSTALLS += VBoxUSB_DevRules
|
|
|
|
+
|
|
|
|
+include $(KBUILD_PATH)/subfooter.kmk
|
|
|
|
+
|
|
|
|
+
|
2024-01-29 23:31:23 +01:00
|
|
|
Index: VirtualBox-7.0.14/src/apps/VBoxUSB_DevRules/VBoxUSB_DevRules.cpp
|
2015-11-08 10:13:53 +01:00
|
|
|
===================================================================
|
2017-06-09 00:26:55 +02:00
|
|
|
--- /dev/null
|
2024-01-29 23:31:23 +01:00
|
|
|
+++ VirtualBox-7.0.14/src/apps/VBoxUSB_DevRules/VBoxUSB_DevRules.cpp
|
2018-06-19 19:53:58 +02:00
|
|
|
@@ -0,0 +1,25 @@
|
2016-07-26 18:15:55 +02:00
|
|
|
+#include <QtWidgets/QApplication>
|
|
|
|
+#include <QtWidgets/QMessageBox>
|
2018-06-19 19:53:58 +02:00
|
|
|
+#include <QtWidgets/QPushButton>+
|
2015-11-08 10:13:53 +01:00
|
|
|
+int main(int argc, char *argv[])
|
|
|
|
+{
|
2020-03-30 06:53:46 +02:00
|
|
|
+ QApplication app(argc, argv);
|
|
|
|
+ QMessageBox msgBox;
|
2017-06-09 00:26:55 +02:00
|
|
|
+ QPushButton *myYesButton = msgBox.addButton("Enable", QMessageBox::YesRole);
|
|
|
|
+ QPushButton *myNoButton = msgBox.addButton("Disable", QMessageBox::NoRole);
|
|
|
|
+ msgBox.setWindowTitle(QObject::tr("USB Rules and Permissions !"));
|
2020-03-30 06:53:46 +02:00
|
|
|
+ msgBox.setText(QObject::tr("USB passthrough requires read/write access to USB devices. "
|
2018-06-19 19:53:58 +02:00
|
|
|
+ "As a result, it opens a security hole.\n\n"
|
|
|
|
+ "Nonetheless, this feature is extremely useful and it may be worth the security risk. "
|
|
|
|
+ "Thus the code defaults to enabling it.\n\nIf you agree that the risk is acceptable, then click 'Enable'.\n"
|
2020-03-30 06:53:46 +02:00
|
|
|
+ "You should not be asked this question again when VB is updated. If you later change your mind, run 'rm ~/.config/virtualbox/*'\n\n"
|
2017-12-11 18:20:16 +01:00
|
|
|
+ "If you wish to disable USB passthrough to plug the security hole, then click 'Disable'. "
|
2018-06-19 19:53:58 +02:00
|
|
|
+ "You will be asked for the system password, and /etc/udev/rules.d/60-vboxdrv.rules will be changed.\n\n"
|
2020-03-30 06:53:46 +02:00
|
|
|
+ "These changes may not be preserved through VB updates, thus this screen may be displayed again at that time."));
|
2017-06-09 00:26:55 +02:00
|
|
|
+ msgBox.exec();
|
2020-03-30 06:53:46 +02:00
|
|
|
+ app.quit();
|
2017-06-09 00:26:55 +02:00
|
|
|
+ if (msgBox.clickedButton() == myYesButton)
|
|
|
|
+ return 0;
|
|
|
|
+ return 1;
|
2015-11-08 10:13:53 +01:00
|
|
|
+}
|
|
|
|
+
|