See other email. Supervisor state is not available outside the kernel as a
matter of security.

-- R; <><




On Sat, Nov 10, 2018, 11:00 Donald Russell <[email protected] wrote:

> I want to use a privileged instruction (diag, stidp, etc) in __asm__();
> statement.
>
> How do I get into supervisor state to run that and then return to problem
> state?
>
> The purpose of stidp is to verify I’m running on VM before I go doing “vm
> things”. :-)
>
> I’m expecting my program to run setuid as root if need be. But root on its
> own isn’t enough. Makes sense, root should not imply supervisor state.
>
> Thanks,
> Don
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to