From f2b95a621a9fd41d222844eda237f607eb14d49c Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Tue, 13 Aug 2013 05:52:28 +0000 Subject: Switch time_t, ino_t, clock_t, and struct kevent's ident and data members to 64bit types. Assign new syscall numbers for (almost all) the syscalls that involve the affected types, including anything with time_t, timeval, itimerval, timespec, rusage, dirent, stat, or kevent arguments. Add a d_off member to struct dirent and replace getdirentries() with getdents(), thus immensely simplifying and accelerating telldir/seekdir. Build perl with -DBIG_TIME. Bump the major on every single base library: the compat bits included here are only good enough to make the transition; the T32 compat option will be burned as soon as we've reached the new world are are happy with the snapshots for all architectures. DANGER: ABI incompatibility. Updating to this kernel requires extra work or you won't be able to login: install a snapshot instead. Much assistance in fixing userland issues from deraadt@ and tedu@ and build assistance from todd@ and otto@ --- libexec/ld.so/hppa/ldasm.S | 8 ++++---- libexec/ld.so/hppa/syscall.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'libexec/ld.so/hppa') diff --git a/libexec/ld.so/hppa/ldasm.S b/libexec/ld.so/hppa/ldasm.S index 684a898fa52..a2283749f85 100644 --- a/libexec/ld.so/hppa/ldasm.S +++ b/libexec/ld.so/hppa/ldasm.S @@ -1,4 +1,4 @@ -/* $OpenBSD: ldasm.S,v 1.10 2013/06/01 09:57:58 miod Exp $ */ +/* $OpenBSD: ldasm.S,v 1.11 2013/08/13 05:52:19 guenther Exp $ */ /* * Copyright (c) 2004 Michael Shalayeff @@ -250,11 +250,11 @@ ENTRY(_dl_sysctl,0) nop EXIT(_dl_issetugid) -ENTRY(_dl_getdirentries,0) - SYSCALL(getdirentries) +ENTRY(_dl_getdents,0) + SYSCALL(getdents) bv r0(rp) nop -EXIT(_dl_getdirentries) +EXIT(_dl_getdents) ENTRY(_dl_gettimeofday,0) SYSCALL(gettimeofday) diff --git a/libexec/ld.so/hppa/syscall.h b/libexec/ld.so/hppa/syscall.h index b5996124b7f..2b622b745c6 100644 --- a/libexec/ld.so/hppa/syscall.h +++ b/libexec/ld.so/hppa/syscall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: syscall.h,v 1.10 2013/06/09 13:10:19 miod Exp $ */ +/* $OpenBSD: syscall.h,v 1.11 2013/08/13 05:52:19 guenther Exp $ */ /* * Copyright (c) 2001 Niklas Hallqvist @@ -49,7 +49,7 @@ int _dl_open(const char *, int); ssize_t _dl_read(int, const char *, size_t); int _dl_fstat(int, struct stat *); int _dl_fcntl(int, int, ...); -int _dl_getdirentries(int, char *, int, off_t *); +ssize_t _dl_getdents(int, char *, size_t); int _dl_sigprocmask(int, const sigset_t *, sigset_t *); int _dl_sysctl(const int *, u_int, void *, size_t *, void *, size_t); int _dl_gettimeofday(struct timeval *, struct timezone *); -- cgit v1.2.3