]> gitweb.michael.orlitzky.com - apply-default-acl.git/commitdiff
safe_open_ex: add a comment about why O_PATH doesn't work.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 27 Feb 2018 19:20:33 +0000 (14:20 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 27 Feb 2018 19:20:33 +0000 (14:20 -0500)
src/libadacl.c

index 21b8141cbbc0158a3c6cfce3e985838bed1e20ce..01cb4adaea9ebef67d9358b6ac1b5555dc452500 100644 (file)
@@ -40,6 +40,9 @@
  *   open a file descriptor in a symlink-safe way when combined with
  *   the @c O_NOFOLLOW flag.
  *
+ * The @c O_PATH flag is not used because we want to fail upon
+ * encountering any symlinks.
+ *
  * @param at_fd
  *   A file descriptor relative to which @c pathname will be opened.
  *