Copyin the thread mailbox flags from the correct location
in the mailbox.
This commit is contained in:
parent
be9879af48
commit
ab908f5935
@ -1601,7 +1601,7 @@ thread_user_enter(struct proc *p, struct thread *td)
|
||||
} else {
|
||||
if (td->td_standin == NULL)
|
||||
thread_alloc_spare(td, NULL);
|
||||
tflags = fuword32(tmbx);
|
||||
tflags = fuword32(&tmbx->tm_flags);
|
||||
/*
|
||||
* On some architectures, TP register points to thread
|
||||
* mailbox but not points to kse mailbox, and userland
|
||||
|
@ -1601,7 +1601,7 @@ thread_user_enter(struct proc *p, struct thread *td)
|
||||
} else {
|
||||
if (td->td_standin == NULL)
|
||||
thread_alloc_spare(td, NULL);
|
||||
tflags = fuword32(tmbx);
|
||||
tflags = fuword32(&tmbx->tm_flags);
|
||||
/*
|
||||
* On some architectures, TP register points to thread
|
||||
* mailbox but not points to kse mailbox, and userland
|
||||
|
Loading…
Reference in New Issue
Block a user