kernel: allow sysr1 debugging only for hostowner

This commit is contained in:
cinap_lenrek 2013-06-10 01:09:52 +02:00
parent de46340848
commit 177c175fda

View file

@ -17,6 +17,8 @@ extern void checkpagerefs(void);
long
sysr1(ulong*)
{
if(!iseve())
error(Eperm);
checkpagerefs();
return 0;
}