VM: hide harmless ACL warning for RS at startup

Change-Id: Ied8167bc44ffc336b4ab2478f11586b7d6ae0016
This commit is contained in:
David van Moolenbroek 2015-09-05 01:10:41 +02:00
parent ef52a26bab
commit fbbf2570b4

View file

@ -43,6 +43,10 @@ acl_check(struct vmproc *vmp, int call)
/* If the process has no ACL, all calls are allowed.. for now. */ /* If the process has no ACL, all calls are allowed.. for now. */
if (vmp->vm_acl == NO_ACL) { if (vmp->vm_acl == NO_ACL) {
/* RS instrumented with ASR may call VM_BRK at startup. */
if (vmp->vm_endpoint == RS_PROC_NR)
return OK;
printf("VM: calling process %u has no ACL!\n", printf("VM: calling process %u has no ACL!\n",
vmp->vm_endpoint); vmp->vm_endpoint);