Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the GDT data to be read only data section #381

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

kuqin12
Copy link
Contributor

@kuqin12 kuqin12 commented Jan 14, 2025

Description

This change moves the GDT data to be read only section.

Note that TssDescriptor symbol is also going to be manipulated. But execution-wise, this is always updated after disabling data writing. SEA validation-wise, this change will enforce a rule of TssDescriptor to be added for better validation.
 

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?

How This Was Tested

This change was tested on QEMU Q35 and booted to UEFI shell.

Integration Instructions

N/A

@github-actions github-actions bot added the impact:security Has a security impact label Jan 14, 2025
@codecov-commenter
Copy link

codecov-commenter commented Jan 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.50%. Comparing base (75e5aec) to head (f992cb2).

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #381   +/-   ##
=====================================
  Coverage   0.50%   0.50%           
=====================================
  Files        142     142           
  Lines      20593   20593           
  Branches      60      60           
=====================================
  Hits         105     105           
  Misses     20483   20483           
  Partials       5       5           
Flag Coverage Δ
MmSupervisorPkg 0.50% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact:security Has a security impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants