summaryrefslogtreecommitdiff
path: root/libexec/ld.so/resolve.h
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2006-05-03 16:10:53 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2006-05-03 16:10:53 +0000
commitec4b8bbf8212a67706e8bf0d84a933147a5bf89c (patch)
treef06a750d1a5fbec05783cff2a3ba488c9e288a69 /libexec/ld.so/resolve.h
parentb1f9a206d3729c6275222429f2ec0529817fc0b3 (diff)
prebind - how to prelink a binary without throwing security out the window
Prelink fixes the address of libraries making 'return to libc' attacks trival, prebind uses a different method to achieve most of the same gains, however without adding any security conerns. Still under development, now in-tree.
Diffstat (limited to 'libexec/ld.so/resolve.h')
-rw-r--r--libexec/ld.so/resolve.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/ld.so/resolve.h b/libexec/ld.so/resolve.h
index d3c20b1bdcf..2eb39d3d251 100644
--- a/libexec/ld.so/resolve.h
+++ b/libexec/ld.so/resolve.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: resolve.h,v 1.50 2005/11/09 16:41:29 kurt Exp $ */
+/* $OpenBSD: resolve.h,v 1.51 2006/05/03 16:10:51 drahn Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -136,6 +136,8 @@ struct elf_object {
/* object that caused this module to be loaded, used in symbol lookup */
elf_object_t *load_object;
+ void *prebind_data;
+
/* for object confirmation */
dev_t dev;
ino_t inode;