kernel: allow sysr1 debugging only for hostowner
This commit is contained in:
parent
de46340848
commit
177c175fda
|
@ -17,6 +17,8 @@ extern void checkpagerefs(void);
|
|||
long
|
||||
sysr1(ulong*)
|
||||
{
|
||||
if(!iseve())
|
||||
error(Eperm);
|
||||
checkpagerefs();
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue