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

[LibOS] Add stat() and hstat() callbacks to FIFOs #1897

Merged
merged 1 commit into from
Jun 6, 2024

Commits on Jun 6, 2024

  1. [LibOS] Add stat() and hstat() callbacks to FIFOs

    Previously, FIFO pseudo-files (named pipes) did not have callbacks of
    `stat()` (used on FIFO filenames) and `hstat()` (used on FIFO
    handles/FDs). This breaks some apps that want to double-check that the
    file they have opened or want to open is a FIFO, using the `stat()` or
    `fstat()` syscalls. There was no good reason to skip those callbacks, so
    this commit adds their dummy implementations.
    
    Signed-off-by: Dmitrii Kuvaiskii <dmitrii.kuvaiskii@intel.com>
    Dmitrii Kuvaiskii committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    5169fdb View commit details
    Browse the repository at this point in the history