Skip to content

Upgrade fuser to 0.17.0#934

Open
citizen-stig wants to merge 1 commit intothrumdev:masterfrom
citizen-stig:nikolai/upgrade-deps-fuser
Open

Upgrade fuser to 0.17.0#934
citizen-stig wants to merge 1 commit intothrumdev:masterfrom
citizen-stig:nikolai/upgrade-deps-fuser

Conversation

@citizen-stig
Copy link
Copy Markdown
Contributor

Summary

This PR upgrades fuser from 0.15.1 to 0.17.0 and ports trickfs to the newer API. The goal is to split out the fuser work as a standalone change and remove the old fuser audit finding from the dependency graph without mixing in the unrelated dependency upgrades.

What changed

  • Upgraded the workspace fuser dependency to 0.17.0.
  • Updated trickfs to the fuser 0.17 API:
    • switched from the old u64/raw flag interfaces to typed wrappers like INodeNo, FileHandle, Generation, OpenFlags, WriteFlags, and typed Errno
    • adapted reply paths such as entry, created, opened, and readdir
    • moved mutable filesystem state behind Mutex because fuser::Filesystem now operates through &self and requires Send + Sync
  • Removed AutoUnmount from trickfs mount configs.
    • fuser 0.17 now requires a broader ACL when AutoUnmount is enabled
    • instead, teardown is now explicit via umount_and_join()
  • Updated trickmnt to explicitly unmount on exit instead of relying on handle drop behavior.
  • Refreshed Cargo.lock only as needed for the fuser upgrade and its transitive dependencies.

Why

cargo audit reports RUSTSEC-2021-0154 for fuser 0.15.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant