|
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 $ */ |
2 | 2 | /** @file |
3 | 3 | * VBoxDrv - The VirtualBox Support Driver - Linux specifics. |
4 | 4 | */ |
@@ -413,10 +413,10 @@ static int supdrvLinuxInitKvmSymbols(void) |
413 | 413 | { |
414 | 414 | /* |
415 | 415 | * 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. |
420 | 420 | */ |
421 | 421 | RTTHREADPREEMPTSTATE Preempt = RTTHREADPREEMPTSTATE_INITIALIZER; |
422 | 422 | RTThreadPreemptDisable(&Preempt); |
|
0 commit comments