diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-15 00:49:57 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-15 00:53:16 +0000 |
| commit | be2f4ce6cd3767c9211335f990e9048d9c7ba4d7 (patch) | |
| tree | 5e0b2f2e48be7cc70abd4f57169a681454ec2ee2 /config/git/grub/pkg.cfg | |
| parent | d5c363d20607134538a0a12a9f0c88135c50b372 (diff) | |
util/nvmutil: extra race-condition check in prw
even with OFF_RESET, we still want some error checking.
if the check fails again immediately after, then it
suggests that another program really is modifying the
file, so we should stop.
the first check is done on the theory that another
program *was* working on it, but now isn't.
once again, this isn't perfect. use read pread/pwrite
if you need thread safety (and even then, you still
need to actually check your code)
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/git/grub/pkg.cfg')
0 files changed, 0 insertions, 0 deletions
