Linux MIPS Architecture development
 help / color / mirror / Atom feed
* ret_from_sys_call and signal
@ 2001-08-31  6:23 Atsushi Nemoto
  2001-09-05 20:03 ` Ralf Baechle
  0 siblings, 1 reply; 3+ messages in thread
From: Atsushi Nemoto @ 2001-08-31  6:23 UTC (permalink / raw)
  To: linux-mips

After merging with 2.4.6 kernel, ret_from_sys_call (and
o32_ret_from_sys_call) does not check whether it returns to kernel
mode or not.

syscall may happen in kernel mode, so we should check KU_USER bits (as
 done in past code).  Is this right?

At least, currently DO_FAULT() jumps to ret_from_sys_call and it may
cause problems.  If page fault happened in kernel code when any
signals pending, do_signal() is called before returning to kernel and
it fails to setup sigcontext.

Any ideas?

---
Atsushi Nemoto

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-09-06 10:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-31  6:23 ret_from_sys_call and signal Atsushi Nemoto
2001-09-05 20:03 ` Ralf Baechle
2001-09-06 10:16   ` Atsushi Nemoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox