Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a359142

Browse files
committed
HostDrivers/Support/linux: bugref:10963 Comment update.
svn:sync-xref-src-repo-rev: r171284
1 parent 7738359 commit a359142

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Id: SUPDrv-linux.c 111691 2025年11月13日 05:33:01Z ramshankar.venkataraman@oracle.com $ */
1+
/* $Id: SUPDrv-linux.c 111692 2025年11月13日 10:17:51Z ramshankar.venkataraman@oracle.com $ */
22
/** @file
33
* VBoxDrv - The VirtualBox Support Driver - Linux specifics.
44
*/
@@ -413,10 +413,10 @@ static int supdrvLinuxInitKvmSymbols(void)
413413
{
414414
/*
415415
* When CET is enabled, the address obtained by kprobe may be offset by a
416-
* few bytes (endbr32/64). We disable CET prior to jumping into the function
417-
* as otherwise it would cause a \#GP fault. We deliberately do not use
418-
* supdrvOSChangeCR4() here as cr4_update_irqsoff() disallows modifying
419-
* 'pinned' bits.
416+
* few bytes (endbr32/64 or a multi-byte NOP sequence). We disable CET prior
417+
* to jumping into the function, as otherwise it would cause a \#GP fault.
418+
* We deliberately do not usesupdrvOSChangeCR4() here as cr4_update_irqsoff()
419+
* disallows modifying 'pinned' bits.
420420
*/
421421
RTTHREADPREEMPTSTATE Preempt = RTTHREADPREEMPTSTATE_INITIALIZER;
422422
RTThreadPreemptDisable(&Preempt);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /