summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-16 21:09:05 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-26 06:59:42 +0000
commit28820d169c0089e1eb38ce0440b1f45fe36dbeac (patch)
tree6cbebb1700e8d80d04b4df0b99785528b8266a7c /util
parent1207b1bb726a556de2eae53c10364e36ff951e8e (diff)
also O_NOFOLLOW
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
-rw-r--r--util/nvmutil/nvmutil.c3
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;