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

pidref: use fd_inode_same to compare pidfds #31713

Merged
merged 3 commits into from
Mar 12, 2024
Merged

Commits on Mar 11, 2024

  1. Configuration menu
    Copy the full SHA
    0cdb8df View commit details
    Browse the repository at this point in the history
  2. stat-util: struct stat could be initialized with (st_mode & S_IFMT == 0)

    For anonymous inodes, the result would be 0, but
    the struct stat is initialized obviously.
    So let's switch to st_dev for the check, which
    is guaranteed to be non-zero.
    
    Also this is completely unnecessary for statx(),
    since we check stx_mask first and that on its own
    denotes that the struct is initialized.
    YHNdnzj committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    945a821 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2f41f10 View commit details
    Browse the repository at this point in the history