This change adds support for injecting additional GIDs using the internal
CDI representations. (Applicable for Tegra-based systems and /dev/dri devices)
This is disabled by default, but can be opted in to by setting the
features.allow-additional-gids feature flag.
This can also be done by running
sudo nvidia-ctk config --in-place --set features.allow-additional-gids
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This change refactors the creation of contianer edits to make
provision for injecting options that affect the generated CDI
specifications.
Signed-off-by: Evan Lezar <elezar@nvidia.com>