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 #1153

Merged
merged 1 commit into from
Mar 6, 2023

Commits on Mar 6, 2023

  1. Use default umask 0022

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