+/*
+ * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
#include "squid.h"
#include "compat/shm.h"
#include <sys/sysctl.h>
#endif
-
/*
* Some systems have filesystem-based resources and interpret segment names
* as file paths. The so-called 'portable' "/name" format does not work well
bool
shm_portable_segment_name_is_path()
{
-#if _SQUID_HPUX_ || _SQUID_OSF_ || defined(__vms) || (_SQUID_FREEBSD_ && (__FreeBSD__ < 7))
+#if _SQUID_HPUX_ || _SQUID_OSF_ || defined(__vms) || (_SQUID_FREEBSD_ && (__FreeBSD__ < 7)) || _SQUID_DRAGONFLY_
return true;
#elif _SQUID_FREEBSD_
int jailed = 0;
return false;
#endif
}
+