From: David van Moolenbroek Date: Fri, 4 Sep 2015 23:10:41 +0000 (+0200) Subject: VM: hide harmless ACL warning for RS at startup X-Git-Url: http://zhaoyanbai.com/repos/README?a=commitdiff_plain;h=refs%2Fchanges%2F74%2F3174%2F1;p=minix.git VM: hide harmless ACL warning for RS at startup Change-Id: Ied8167bc44ffc336b4ab2478f11586b7d6ae0016 --- diff --git a/minix/servers/vm/acl.c b/minix/servers/vm/acl.c index d7e11bde0..536b3a05b 100644 --- a/minix/servers/vm/acl.c +++ b/minix/servers/vm/acl.c @@ -43,6 +43,10 @@ acl_check(struct vmproc *vmp, int call) /* If the process has no ACL, all calls are allowed.. for now. */ 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", vmp->vm_endpoint);