diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-16 21:09:05 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-16 21:09:05 +0000 |
| commit | ca76a35f934e80781696efe495d8cd136c9bee31 (patch) | |
| tree | 498723050909601c29f735988544e122a31ee93c /util/nvmutil/nvmutil.c | |
| parent | a6221519650f8b065f50d665e0ef9d683ad66703 (diff) | |
also O_NOFOLLOW
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/nvmutil.c')
| -rw-r--r-- | util/nvmutil/nvmutil.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index ce4011c1..c862fa0b 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -2154,6 +2154,9 @@ fsync_dir(const char *path) #ifdef O_DIRECTORY | O_DIRECTORY #endif +#ifdef O_NOFOLLOW + | O_NOFOLLOW +#endif ); if (dfd == -1) goto err_fsync_dir; |
