Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libct: rm x/sys/execabs usage #4465

Merged
merged 1 commit into from
Oct 23, 2024
Merged

Conversation

kolyshkin
Copy link
Contributor

Since Go 1.19, the same functionality is there in os/exec package (see https://go.dev/issue/43724).

As we require go 1.22 now, there's no need to have this.

This basically reverts commit 9258eac ("libct/start: use execabs for newuidmap lookup").

@kolyshkin kolyshkin requested review from rata and lifubang October 23, 2024 06:35
@kolyshkin kolyshkin added the backport/1.2-todo A PR in main branch which needs to be backported to release-1.2 label Oct 23, 2024
Since Go 1.19, the same functionality is there in os/exec package.
As we require go 1.22 now, there's no need to have this.

This basically reverts commit 9258eac ("libct/start: use execabs for
newuidmap lookup").

Signed-off-by: Kir Kolyshkin <[email protected]>
Copy link
Member

@cyphar cyphar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@cyphar cyphar merged commit b699540 into opencontainers:main Oct 23, 2024
42 checks passed
@kolyshkin kolyshkin added backport/1.2-done A PR in main branch which has been backported to release-1.2 and removed backport/1.2-todo A PR in main branch which needs to be backported to release-1.2 labels Oct 26, 2024
@kolyshkin kolyshkin removed this from the 1.2.1 milestone Oct 26, 2024
@kolyshkin
Copy link
Contributor Author

1.2 backport: #4480

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.2-done A PR in main branch which has been backported to release-1.2 easy-to-review kind/dependency kind/refactor refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants