Files
kata-containers/src/libs/kata-sys-util
James O. D. Hunt f05ada592f libs: protection: x86_64: drop root requirement for querying
It is no longer necessary to be `root` to query the guest protection
(TDX) on `x86_64` systems, so drop the requirement.

> **Note:**
>
> This change drops the `nix` `Uid` import required for the `root` check.
> But at the same time it adds it for PPC64le since that implementation of
> `available_guest_protection()` needs it and it was previously missing.

Fixes: #8548.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2023-12-01 15:55:21 +00:00
..

kata-sys-util

This crate is a collection of utilities and helpers for Kata Containers components to access system services.

It provides safe wrappers over system services, such as:

  • cgroups
  • file systems
  • mount
  • NUMA

Support

Operating Systems:

  • Linux

License

This code is licensed under Apache-2.0.