summaryrefslogtreecommitdiffstats
path: root/sys/sys/event.h
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2013-08-13 05:52:02 +0000
committerguenther <guenther@openbsd.org>2013-08-13 05:52:02 +0000
commit91a535ff42f6347677741774730dc5ddcf7d5b93 (patch)
treebf11ae7a89610ba77e8820cdad3ce3fd293bc1f4 /sys/sys/event.h
parentAdd the TCP socket option TCP_NOPUSH to delay sending the stream. (diff)
downloadwireguard-openbsd-91a535ff42f6347677741774730dc5ddcf7d5b93.tar.xz
wireguard-openbsd-91a535ff42f6347677741774730dc5ddcf7d5b93.zip
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@
Diffstat (limited to 'sys/sys/event.h')
-rw-r--r--sys/sys/event.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/event.h b/sys/sys/event.h
index 96812ab59a2..2a488448af8 100644
--- a/sys/sys/event.h
+++ b/sys/sys/event.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: event.h,v 1.18 2013/04/24 09:52:54 nicm Exp $ */
+/* $OpenBSD: event.h,v 1.19 2013/08/13 05:52:26 guenther Exp $ */
/*-
* Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon@FreeBSD.org>
@@ -51,11 +51,11 @@
} while(0)
struct kevent {
- u_int ident; /* identifier for this event */
+ __uintptr_t ident; /* identifier for this event */
short filter; /* filter for event */
u_short flags;
u_int fflags;
- int data;
+ quad_t data;
void *udata; /* opaque user data identifier */
};