diff options
author | guenther <guenther@openbsd.org> | 2012-06-06 04:47:42 +0000 |
---|---|---|
committer | guenther <guenther@openbsd.org> | 2012-06-06 04:47:42 +0000 |
commit | 0006fbf08a39731d1981db2e68f5ce1dbe8d1203 (patch) | |
tree | 5aa1cb2b1fd5d0e95b57ecadfaf87170b5acc50d /sys/sys/event.h | |
parent | Add support for hiding a user's processes in top. (diff) | |
download | wireguard-openbsd-0006fbf08a39731d1981db2e68f5ce1dbe8d1203.tar.xz wireguard-openbsd-0006fbf08a39731d1981db2e68f5ce1dbe8d1203.zip |
EVFILT_SIGNAL and EVFILT_PROC events need to track the process they're
attached to and not just the thread, which can go away.
Problem observed by jsg@; ok jsg@ matthew@
Diffstat (limited to 'sys/sys/event.h')
-rw-r--r-- | sys/sys/event.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/event.h b/sys/sys/event.h index 89fa08b20f8..a5ffbe7be6d 100644 --- a/sys/sys/event.h +++ b/sys/sys/event.h @@ -1,4 +1,4 @@ -/* $OpenBSD: event.h,v 1.15 2010/08/02 19:54:07 guenther Exp $ */ +/* $OpenBSD: event.h,v 1.16 2012/06/06 04:47:42 guenther Exp $ */ /*- * Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon@FreeBSD.org> @@ -147,7 +147,7 @@ struct knote { int kn_sdata; /* saved data field */ union { struct file *p_fp; /* file data pointer */ - struct proc *p_proc; /* proc pointer */ + struct process *p_process; /* process pointer */ } kn_ptr; const struct filterops *kn_fop; void *kn_hook; |