Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Set PSTATE.PRIV for user process



On Thu, 22 Oct 2026, Sad Clouds wrote:

On Thu, 22 Oct 2026 18:40:58 +0000 (UTC)
Palle Lyckegaard <palle%netbsd.org@localhost> wrote:

How do you know the issue happens on a context switch? And how can I
verify that when calling a function in a user process this causes a
context switch before this function returns?


The issue I am tracking down happends when a syscall is issued.
When the control is handed back to user-land the registers contains some garbage value from time to time.




Home | Main Index | Thread Index | Old Index