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

Use default umask 0022 #388

Merged
merged 1 commit into from
Mar 6, 2023
Merged

Commits on Mar 6, 2023

  1. Use default umask 0022

    Under non-reproducible circumstances it can happen that the umask of
    conmon is set to `0000`, which can be a security issue. To avoid that,
    we now use a default umask and set it directly in `main`.
    
    We had a similar fix in CRI-O in
    cri-o/cri-o#5904, but we have to do it here
    again because conmon is a direct parent of PID 1.
    
    Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
    saschagrunert committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    00aa140 View commit details
    Browse the repository at this point in the history