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

Makefile: run tests as root without building as root #2211

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

mtardy
Copy link
Member

@mtardy mtardy commented Mar 11, 2024

Using the go binary -exec flag to execute the test binary using an arbitrary sudo command instead of executing the whole toolchain as root. This is a very small security change but why not!

Using the go binary -exec flag to execute the test binary using an
arbitrary sudo command instead of executing the whole toolchain as root.
This is a very small security change but why not!

Signed-off-by: Mahe Tardy <mahe.tardy@gmail.com>
@mtardy mtardy added the release-note/misc This PR makes changes that have no direct user impact. label Mar 11, 2024
@mtardy mtardy requested a review from a team as a code owner March 11, 2024 11:41
@mtardy mtardy requested a review from olsajiri March 11, 2024 11:41
@jrfastab jrfastab merged commit e966960 into main Mar 12, 2024
33 checks passed
@jrfastab jrfastab deleted the pr/mtardy/run-test-root branch March 12, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants