8000 Tags · rlmyfs/hcsshim · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: rlmyfs/hcsshim

Tags

v0.13.0

Toggle v0.13.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
rego policy enforcer should use the same user parsing logic as GCS (m…

…icrosoft#2405)

This PR fixes a discrepancy between user info handling between
GCS and rego policy enforcer. For example, GCS doesn't require the
user/group to exist in container's /etc/passwd and /etc/group
and has a fallback to UID and GID 0, when the user is absent.
Rego enforcer's `GetUserInfo`, however, always tries to
lookup user/group in /etc/passwd and /etc/group and returns
an error when the UID doesn't exist. This behavior is inconsistent
with non confidential LCOW workloads and fixed in this PR.

To avoid circular imports, the spec.go and spec_devices.go under
`internal/guest/runtime/hcsv2` have been moved under
`internal/guest/spec` and the dependent code updated accordingly.
As a result a bunch of methods are now exported, but still under
`internal`, so this shouldn't cause problems.

User parsing has been updated and split into `ParseUserStr`, which
returns UID and GID for a given `username` string and `SetUserStr`,
which just sets the UID and GID for the OCI process.

Rego enforcer's `GetUserInfo` now prioritizes the result of
`ParseUserStr` and fallbacks to the previous behavior of UID/GID
lookup in container's filesystem.

Signed-off-by: Maksim An <maksiman@microsoft.com>

v0.13.0-rc.3

Toggle v0.13.0-rc.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Omnibus dependabot update (microsoft#2347)

* Omnibus dependabot update

Consolidate and resolve the dependabot PRs (mostly handle nested
module):

 - 2267
 - 2296
 - 2307
 - 2315
 - 2323
 - 2324
 - 2333
 - 2334
 - 2335
 - 2336
 - 2339
 - 2340
 - 2341
 - 2345 (https://github.com/microsoft/hcsshim/security/dependabot/113)
 - 2346 (https://github.com/microsoft/hcsshim/security/dependabot/115)

Two commits: first is core updates, second is module tidy and vendor,
along with (protobuf) file regen.

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>

* go mod tidy and vendor, protobuf update

Replace deprecated `github.com/opencontainers/runc/libcontainer/user`
with `github.com/moby/sys/user` (which it is an alias for).

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>

---------

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>

v0.11.8

Toggle v0.11.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixing typo (microsoft#2288)

(cherry picked from commit 166e62a)

Signed-off-by: ritikaguptams <85255050+ritikaguptams@users.noreply.github.com>

v0.12.9

Toggle v0.12.9's commit message
Switch to using containerd/errdefs/pkg/errgrpc for grpc translation

Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>

v0.12.8

Toggle v0.12.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update containerd to v1.7.23 (microsoft#2295)

Signed-off-by: Derek McGowan <derek@mcg.dev>

v0.13.0-rc.2

Toggle v0.13.0-rc.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request microsoft#2293 from dmcgowan/update-containerd-1.7.23

Update containerd to v1.7.23

k8s1.32-0.12.6.1

Toggle k8s1.32-0.12.6.1's commit message
Update the retracted version of github.com/veraison/go-cose

Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>

v0.12.7

Toggle v0.12.7's commit message
Bump golangci/golangci-lint-action from 4 to 6

Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>

v0.12.6

Toggle v0.12.6's commit message
Omnibus dependency updates (microsoft#2051)

Consolidate dependabot updates:
 - github.com/microsoft/pull/2050
 - github.com/microsoft/pull/2048
 - github.com/microsoft/pull/2047
 - github.com/microsoft/pull/2046
 - github.com/microsoft/pull/2045
 - github.com/microsoft/pull/2044
 - github.com/microsoft/pull/2043
 - github.com/microsoft/pull/2042

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
(cherry picked from commit 060de7c)
Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>

v0.12.5

Toggle v0.12.5's commit message
Modifying network flag EnableIov.

Signed-off-by: Prince Pereira <ppereira@microsoft.com>
0