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

Replace fork by posix_spawn in mount_util.c #902

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Mar 13, 2024

  1. Replace fork by posix_spawn in mount_util.c

    This completes commit bb9cecb
    ("Use posix_spawn instead of fork+exec") and replaces remaining
    fork by posix_spawn.
    
    Not modified is mount_bsd.d as I cannot test it.
    bsbernd committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    545ad1e View commit details
    Browse the repository at this point in the history
  2. Add "FUSE_NO_MTAB_UPDATE" env to disable mtab updates

    This adds the env FUSE_NO_MTAB_UPDATE variable to be able
    to disable mtab updates without recompiling libfuse.
    The value needs to be set to 1.
    
    This is an addition to commit 74b1df2, which removed
    a check for mtab updates, if mtab is a symlink.
    Although not related to the symlink, this caused a regression
    in our code, as the symlink update was done through fork.
    The env variable is a run time workaround for such cases and
    to avoid the requirement to disable mtab updates at libfuse
    configuration/compilation time.
    bsbernd committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    d9f86e7 View commit details
    Browse the repository at this point in the history