#16736: Kernel Panic on user_unblock_thread Syscall
----------------------------+-------------------------
Reporter: thosewhowork | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: System/Kernel | Version: R1/beta2
Resolution: | Keywords:
Blocked By: | Blocking:
Platform: All |
----------------------------+-------------------------
Changes (by waddlesplash):
* cc: korli (added)
Comment:
CC'ing korli: I've always wondered if we should not be using set/clear_ac
but always go through user_memcpy (I am pretty sure PulkoMandy implied we
would have to for SPARC, and possibly other architectures anyway?). It
seems strange that the user_thread pointer is incorrect here, but
user_memcpy should solve the problem either way.
It also looks like _user_unblock_thread does not actually call
thread_check_permissions, either. Wonder how I missed that one.
--
Ticket URL: <https://dev.haiku-os.org/ticket/16736#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.