Skip to content

Commit

Permalink
Merge pull request #12408 from matusmarhefka/vsyscall_x86_only
Browse files Browse the repository at this point in the history
grub2_vsyscall_argument should only be applicable to x86_64
  • Loading branch information
Mab879 authored Sep 19, 2024
2 parents 993c564 + 7099fce commit 3789390
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ocil_clause: 'vsyscalls are enabled'
ocil: |-
{{{ ocil_grub2_argument("vsyscall=none") | indent(4) }}}
platform: machine
platform: machine and x86_64_arch

template:
name: grub2_bootloader_argument
Expand All @@ -46,3 +46,9 @@ fixtext: |-
srg_requirement:
{{{ full_name }}} must disable virtual syscalls.

warnings:
- general: |-
The vsyscall emulation is only available on x86_64 architecture
(CONFIG_X86_VSYSCALL_EMULATION) making this rule not applicable
to other CPU architectures.

0 comments on commit 3789390

Please sign in to comment.