summaryrefslogtreecommitdiff
path: root/libexec/ld.so/amd64
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2010-10-28 15:02:42 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2010-10-28 15:02:42 +0000
commitad39b297930f7aeb9f57f3283cb31dad08c3a9ac (patch)
tree686235f31d6eb66ef3d8180a61333f611d32602b /libexec/ld.so/amd64
parent24c64c90c25711433236441e0509ebae8231f426 (diff)
Change basep parameter of getdirentries() to be off_t *, not long *
so it works correctly with large offsets (and matches other systems). This requires adding a new getdirentries syscall, with the old one renamed to ogetdirentries. All in-tree consumers of getdirentries() have been updated. Bump libc and libpthread major numbers. OK and with deraadt@
Diffstat (limited to 'libexec/ld.so/amd64')
-rw-r--r--libexec/ld.so/amd64/syscall.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/amd64/syscall.h b/libexec/ld.so/amd64/syscall.h
index 406b4bfe4a2..30b064f7c7c 100644
--- a/libexec/ld.so/amd64/syscall.h
+++ b/libexec/ld.so/amd64/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.4 2008/10/02 20:12:08 kurt Exp $ */
+/* $OpenBSD: syscall.h,v 1.5 2010/10/28 15:02:41 millert Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -50,7 +50,7 @@ int _dl_read(int, const char *, int);
int _dl_stat(const char *, struct stat *);
int _dl_fstat(int, struct stat *);
int _dl_fcntl(int, int, ...);
-int _dl_getdirentries(int, char*, int, long *);
+int _dl_getdirentries(int, char*, int, off_t *);
int _dl_sigprocmask(int, const sigset_t *, sigset_t *);
int _dl_sysctl(int *, u_int, void *, size_t *, void *, size_t);
int _dl_gettimeofday(struct timeval *tp, struct timezone *tzp);