diff options
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/trap.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c index 5c8866a..c929c1b 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. |