aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2004-01-27 04:40:19 +0000
committerRobert Watson <rwatson@FreeBSD.org>2004-01-27 04:40:19 +0000
commitbfd8097a691d6e9aac1eb8821166b267cf26fc6d (patch)
tree54a29217c4b5b640b88749cb50615953c6d22e08
parent8abaf58586f6e5e618f414aa0e16bca5e3dd0228 (diff)
Notes
-rw-r--r--sys/i386/i386/trap.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c
index 5c8866ae534e..c929c1bf1685 100644
--- a/sys/i386/i386/trap.c
+++ b/sys/i386/i386/trap.c
@@ -1003,6 +1003,10 @@ syscall(frame)
td->td_retval[0] = 0;
td->td_retval[1] = frame.tf_edx;
+ /*
+ * XXX: This grabs the process lock. A bad thing in
+ * the system call path.
+ */
STOPEVENT(p, S_SCE, narg);
PTRACESTOP_SC(p, td, S_PT_SCE);
@@ -1065,6 +1069,10 @@ syscall(frame)
#endif
/*
+ * XXX: This grabs the process lock. A bad thing in
+ * the system call path.
+ */
+ /*
* This works because errno is findable through the
* register set. If we ever support an emulation where this
* is not the case, this code will need to be revisited.