-
Notifications
You must be signed in to change notification settings - Fork 150
validation: add mount validation #547
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
Conversation
Signed-off-by missing @q384566678 |
a0fd674
to
3109ca3
Compare
Fixed. |
validation/mounts.go
Outdated
"nosuid", | ||
"strictatime", | ||
"mode=755", | ||
"size=65536k", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if mounting the tmpfs actually allocates the memory or not, but since this is just a test and we aren't writing anything to /tmp
I'd rather use a smaller value (1k?). On the other hand, 65 MB isn't that big.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine, updated.
@mrunalp @Mashimiao PTAL |
Signed-off-by: Zhou Hao <[email protected]>
3109ca3
to
c2f774c
Compare
Signed-off-by: Zhou Hao [email protected]