aboutsummaryrefslogtreecommitdiffstats
path: root/ports/linux/portdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/linux/portdefs.h')
-rw-r--r--ports/linux/portdefs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ports/linux/portdefs.h b/ports/linux/portdefs.h
index 7e6c2aa..20ad529 100644
--- a/ports/linux/portdefs.h
+++ b/ports/linux/portdefs.h
@@ -3,3 +3,11 @@
#define PSEUDO_STATBUF_64 1
#define PSEUDO_STATBUF struct stat64
#define PSEUDO_LINKPATH_SEPARATOR " "
+/* Linux NEVER follows symlinks for link(2)... except on old kernels
+ * I don't care about.
+ */
+#undef PSEUDO_LINK_SYMLINK_BEHAVIOR
+/* Note: 0, here, really means AT_SYMLINK_NOFOLLOW, but specifying that
+ * causes errors; you have to leave it empty or specify AT_SYMLINK_FOLLOW.
+ */
+#define PSEUDO_LINK_SYMLINK_BEHAVIOR 0