summaryrefslogtreecommitdiff
path: root/util/libreboot-utils/lib/file.c
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-31 07:47:15 +0100
committerLeah Rowe <leah@libreboot.org>2026-03-31 07:47:15 +0100
commitf2dd830c7b9f283ba8db26c7cbb29fb1763f86aa (patch)
tree5d60ba601032ef7062c7d08135a2ea7802a9eea2 /util/libreboot-utils/lib/file.c
parent2f7623ff06ca9b1b77c65ab7ba3acfe7ccf371d8 (diff)
TODO
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/libreboot-utils/lib/file.c')
-rw-r--r--util/libreboot-utils/lib/file.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/util/libreboot-utils/lib/file.c b/util/libreboot-utils/lib/file.c
index 1d2de9b8..82ba603c 100644
--- a/util/libreboot-utils/lib/file.c
+++ b/util/libreboot-utils/lib/file.c
@@ -7,6 +7,16 @@
* Be nice to the demon.
*/
+/*
+TODO: putting it here just so it's somewhere:
+PATH_MAX is not reliable as a limit for paths,
+because the real length depends on mount point,
+and specific file systems.
+more correct usage example:
+long max = pathconf("/", _PC_PATH_MAX);
+ */
+
+
#include <sys/types.h>
#include <sys/stat.h>