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

Fix: In ExecutionFromDevShm we should use os.Mkdir("/dev") instead if os.Mkdir("/dev/shm") #208

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

GLVSKiriti
Copy link
Contributor

@GLVSKiriti GLVSKiriti commented Apr 22, 2024

@FedeDP @leogr As os.Mkdir("/dev/shm") returns error as /dev not exists so instead we should use os.Mkdir("/dev") which just create /dev.
And /dev/shm created in the next lines of code

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind documentation

/kind tests

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area commands

/area pkg

/area events

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

As os.Mkdir("/dev/shm") returns error as /dev not exists so instead we should just create /dev and /dev/shm created in the next lines of code

Signed-off-by: GLVSKiriti <[email protected]>
@poiana poiana requested review from FedeDP and leogr April 22, 2024 16:03
@poiana poiana added the size/XS label Apr 22, 2024
@GLVSKiriti GLVSKiriti changed the title Fix: os.Mkdir("/dev") instead if os.Mkdir("/dev/shm") Fix: In ExecutionFromDevShm we should use os.Mkdir("/dev") instead if os.Mkdir("/dev/shm") Apr 23, 2024
@poiana
Copy link

poiana commented Apr 23, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: GLVSKiriti, leogr

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana
Copy link

poiana commented Apr 23, 2024

LGTM label has been added.

Git tree hash: 1fbc06651e49d87dd19d36a9ff59784d8bab4b08

@poiana poiana merged commit dc15f1f into falcosecurity:main Apr 23, 2024
4 checks passed
@GLVSKiriti GLVSKiriti deleted the BugFixInExecutionFromDevShm branch April 23, 2024 14:18
@leogr leogr added this to the v0.12.0 milestone Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants