mirror of
https://github.com/torarnv/sparsebundlefs.git
synced 2026-03-03 18:28:07 +01:00
getgrnam is not thread-safe on Linux (but is on macOS). To ensure we don't call it from two threads at the same time we move its use inside a lambda that initializes a local static. This is fine, as we don't expect the 'nogroup' gid to change.
19 KiB
19 KiB