You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if between 1 and 3 the xattr list changes in the filesystem, the call fails.
at other places in the code I've seen a while loop for such cases.
BTW, I was looking at your code because we just had such a race condition in our code, discovered in the wild, in practical use. (borgbackup has xattr code for linux, freebsd, osx).
The text was updated successfully, but these errors were encountered:
it is a bit of a pity that such xattr code is not managed centrally and for all platforms in the stdlib. so everybody has to fall into same pitfalls and every implementation has its own drawbacks.
if between 1 and 3 the xattr list changes in the filesystem, the call fails.
at other places in the code I've seen a while loop for such cases.
BTW, I was looking at your code because we just had such a race condition in our code, discovered in the wild, in practical use. (borgbackup has xattr code for linux, freebsd, osx).
The text was updated successfully, but these errors were encountered: