From ad39b297930f7aeb9f57f3283cb31dad08c3a9ac Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 28 Oct 2010 15:02:42 +0000 Subject: 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@ --- libexec/ld.so/mips64/syscall.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libexec/ld.so/mips64') 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"); -- cgit v1.2.3