summaryrefslogtreecommitdiff
path: root/libexec/ld.so/arm/ldasm.S
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/arm/ldasm.S
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/arm/ldasm.S')
-rw-r--r--libexec/ld.so/arm/ldasm.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/ld.so/arm/ldasm.S b/libexec/ld.so/arm/ldasm.S
index 44b2fa24c3b..6ac18075b04 100644
--- a/libexec/ld.so/arm/ldasm.S
+++ b/libexec/ld.so/arm/ldasm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldasm.S,v 1.5 2005/10/23 06:04:03 drahn Exp $ */
+/* $OpenBSD: ldasm.S,v 1.6 2006/05/03 16:10:52 drahn Exp $ */
/*
* Copyright (c) 2004 Dale Rahn
@@ -112,6 +112,7 @@ DL_SYSCALL(write)
DL_SYSCALL(stat)
DL_SYSCALL(fstat)
DL_SYSCALL(fcntl)
+DL_SYSCALL(gettimeofday)
DL_SYSCALL2(sysctl,__sysctl)
DL_SYSCALL(getdirentries)