diff options
| author | thorpej <thorpej@NetBSD.org> | 2019-02-03 03:20:23 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2019-02-03 03:20:23 +0000 |
| commit | 2b19590c5e1dcd7c501e5968c9f9ef2bf81f4bcc (patch) | |
| tree | 2cd24e89476c0f8265d51e7431a06e5d28c2f0d5 /usr.bin/fstat | |
| parent | 788768547b3857c4a91dd4dfdf8fc4ffe855cddc (diff) | |
Implement support for "pshared" POSIX semaphores.
Fixes lib/53273 (and Firefox's multi-process tab feature).
Diffstat (limited to 'usr.bin/fstat')
| -rw-r--r-- | usr.bin/fstat/misc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/fstat/misc.c b/usr.bin/fstat/misc.c index ceaa2a9b638..1b6b0138962 100644 --- a/usr.bin/fstat/misc.c +++ b/usr.bin/fstat/misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: misc.c,v 1.20 2018/06/26 10:00:25 msaitoh Exp $ */ +/* $NetBSD: misc.c,v 1.21 2019/02/03 03:20:24 thorpej Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: misc.c,v 1.20 2018/06/26 10:00:25 msaitoh Exp $"); +__RCSID("$NetBSD: misc.c,v 1.21 2019/02/03 03:20:24 thorpej Exp $"); #include <stdbool.h> #include <sys/param.h> @@ -47,6 +47,7 @@ __RCSID("$NetBSD: misc.c,v 1.20 2018/06/26 10:00:25 msaitoh Exp $"); #include <sys/proc.h> #define _KERNEL #include <sys/file.h> +#define copyin_t int #define copyout_t int #include <sys/ksem.h> #define _LIB_LIBKERN_LIBKERN_H_ |
