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

chrooted bash executor #560

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

chrooted bash executor #560

wants to merge 1 commit into from

Conversation

miklezzzz
Copy link
Contributor

Overview

What this PR does / why we need it

Special notes for your reviewer

@miklezzzz miklezzzz added the enhancement New feature or request label Feb 5, 2025
@miklezzzz miklezzzz self-assigned this Feb 5, 2025
@miklezzzz miklezzzz force-pushed the chrooted-bash-executor branch from 06e2250 to 104aff1 Compare February 5, 2025 07:44
Signed-off-by: Mikhail Scherba <[email protected]>
@miklezzzz miklezzzz force-pushed the chrooted-bash-executor branch from 104aff1 to bcb8093 Compare February 5, 2025 07:53
@@ -176,6 +180,7 @@ func (sh *ShellHook) getConfig() ([]byte, error) {
envs := make([]string, 0)
envs = append(envs, os.Environ()...)
args := []string{"--config"}
var stderrBuf bytes.Buffer
Copy link
Contributor Author

Choose a reason for hiding this comment

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

delete, as it was added for the sake of debugging

}

// SetRequiredObjects sets the list of objects to implement in the chroot directory
func (mm *ModuleManager) SetRequiredObjects(objects ...environmentmanager.ObjectDescriptor) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

rename to clarify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant