summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-01-11 17:44:35 +0000
committerderaadt <deraadt@openbsd.org>1996-01-11 17:44:35 +0000
commit8c432240e883d2d3b0707d2d0f4a3ca06251aa7b (patch)
tree655f57f65d26fd508ef65258b38195cc993cde0e
parentlogin names starting with "t" were trashed; original bug report by (diff)
downloadwireguard-openbsd-8c432240e883d2d3b0707d2d0f4a3ca06251aa7b.tar.xz
wireguard-openbsd-8c432240e883d2d3b0707d2d0f4a3ca06251aa7b.zip
from netbsd:
Define LD_HINTS_VERSION_2: - no longer hash on minor version number in hints file. - add list of ldconfig(8) search directories.
-rw-r--r--include/link.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/link.h b/include/link.h
index b5f256a8019..799d80ffc4d 100644
--- a/include/link.h
+++ b/include/link.h
@@ -1,4 +1,4 @@
-/* $NetBSD: link.h,v 1.9 1995/09/23 22:26:15 pk Exp $ */
+/* $NetBSD: link.h,v 1.10 1996/01/09 00:00:11 pk Exp $ */
/*
* Copyright (c) 1993 Paul Kranenburg
@@ -254,11 +254,13 @@ struct hints_header {
#define HH_MAGIC 011421044151
long hh_version; /* Interface version number */
#define LD_HINTS_VERSION_1 1
+#define LD_HINTS_VERSION_2 2
long hh_hashtab; /* Location of hash table */
long hh_nbucket; /* Number of buckets in hashtab */
long hh_strtab; /* Location of strings */
long hh_strtab_sz; /* Size of strings */
long hh_ehints; /* End of hints (max offset in file) */
+ long hh_dirlist; /* Colon-separated list of srch dirs */
};
#define HH_BADMAG(hdr) ((hdr).hh_magic != HH_MAGIC)