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
|
long
|
||||||
sysr1(ulong*)
|
sysr1(ulong*)
|
||||||
{
|
{
|
||||||
|
if(!iseve())
|
||||||
|
error(Eperm);
|
||||||
checkpagerefs();
|
checkpagerefs();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue