gramineproject / gramine

A library OS for Linux multi-process applications, with Intel SGX support
GNU Lesser General Public License v3.0
551 stars 184 forks source link

[common] Refactor Protected Files, part 4 #1869

Closed dimakuv closed 3 weeks ago

dimakuv commented 2 months ago

Description of the changes

This commit refactors PF code without changing functionality (part 4 in a series of commits). In particular, this commit re-orders variables, struct definitions, struct fields, typedefs, and macros for readability.

Extracted from https://github.com/gramineproject/gramine/pull/1841 at the request of @mkow.

Note that this PR is based on https://github.com/gramineproject/gramine/pull/1866.

How to test this PR?

N/A.


This change is Reviewable

dimakuv commented 3 weeks ago

Jenkins, test this please

dimakuv commented 3 weeks ago

Jenkins, test this please