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

lib: Verify mode values #315

Merged
merged 2 commits into from
Aug 19, 2024
Merged

Commits on Aug 19, 2024

  1. lib: Verify mode values

    Today, `lcfs_node_set_mode` happily accepts any `mode_t` aka uint32
    value and basically dumps it into the erofs inode. I accidentally
    stumbled over this when I forgot that a regular file needs `S_IFREG`
    in the mode bits in the dump file, but at least `fsck.erofs` does
    notice this.
    
    Signed-off-by: Colin Walters <[email protected]>
    cgwalters committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    9fa7dab View commit details
    Browse the repository at this point in the history
  2. test-should-fail: Fix distcheck

    We were writing to the sourcedir.
    
    Signed-off-by: Colin Walters <[email protected]>
    cgwalters committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    0c8ce52 View commit details
    Browse the repository at this point in the history