summaryrefslogtreecommitdiff
path: root/libexec/ld.so/mips64
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/mips64
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/mips64')
-rw-r--r--libexec/ld.so/mips64/syscall.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/mips64/syscall.h b/libexec/ld.so/mips64/syscall.h
index b45fd1eb512..35d3f03bc23 100644
--- a/libexec/ld.so/mips64/syscall.h
+++ b/libexec/ld.so/mips64/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.5 2008/10/02 20:12:08 kurt Exp $ */
+/* $OpenBSD: syscall.h,v 1.6 2010/10/28 15:02:41 millert Exp $ */
/*
* Copyright (c) 1998-2002 Opsycon AB, Sweden.
@@ -244,7 +244,7 @@ _dl_fcntl(int fd, int cmd, int flag)
}
extern inline ssize_t
-_dl_getdirentries(int fd, char *buf, int nbytes, long *basep)
+_dl_getdirentries(int fd, char *buf, int nbytes, off_t *basep)
{
register int status __asm__ ("$2");