Use f_vflags file locking for this. Allowing more than one thread handling F_SETFL might cause de-sync between real driver state and flags.
Details
Details
- Reviewers
jhb markj - Commits
- rG7bf3b6d8e426: fcntl(F_SETFL): only allow one thread to perform F_SETFL
rG11870bb24801: fcntl(F_SETFL): only allow one thread to perform F_SETFL
rG4c3a868d13c0: fcntl(F_SETFL): only allow one thread to perform F_SETFL
rG40a42785dbba: fcntl(F_SETFL): only allow one thread to perform F_SETFL
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable