diff options
Diffstat (limited to 'sys/dev/systrace.h')
-rw-r--r-- | sys/dev/systrace.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/systrace.h b/sys/dev/systrace.h index 7b063e9fa9e..741ee0106c9 100644 --- a/sys/dev/systrace.h +++ b/sys/dev/systrace.h @@ -1,4 +1,4 @@ -/* $OpenBSD: systrace.h,v 1.18 2004/11/07 20:39:31 marius Exp $ */ +/* $OpenBSD: systrace.h,v 1.19 2006/05/23 22:28:22 alek Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -33,6 +33,7 @@ #define _SYSTRACE_H_ #include <sys/ioccom.h> +#include <sys/rwlock.h> #define SYSTR_EMULEN 8 /* sync with sys proc */ @@ -192,7 +193,7 @@ struct systrace_inject { struct str_process; struct fsystrace { - struct lock lock; + struct rwlock lock; struct selinfo si; TAILQ_HEAD(strprocessq, str_process) processes; |