Files
containerd/oci
Daniel Canter 50a5685951 Change oci.WithUser behavior for LCOW
The `oci.WithUser` function relies on checking a path on the hosts disk to
grab/validate the uid:gid pair for the user string provided. For LCOW it's a
bit harder to confirm that the user actually exists on the host as a rootfs isn't
mounted on the host and shared into the guest, but rather the rootfs is constructed
entirely in the guest itself. To accomodate this, a spot to place the user string
provided by a client as-is is needed.

The `Username` field on the runtime spec is marked by Platform as only for Windows,
and in this case it *is* being set on a Windows host at least, but will be used as a
temporary holding spot until the guest can use the string to perform these same
operations to grab the uid:gid inside.

Signed-off-by: Daniel Canter <dcanter@microsoft.com>
2021-09-17 09:36:24 -07:00
..
2018-02-19 10:32:26 +09:00
2021-05-25 09:17:16 +02:00
2021-08-22 09:31:50 +09:00
2021-08-22 09:31:50 +09:00
2021-08-22 09:31:50 +09:00
2021-05-10 21:49:46 +02:00
2021-08-22 09:31:50 +09:00