]> Zhao Yanbai Git Server - minix.git/commitdiff
VM: hide harmless ACL warning for RS at startup 74/3174/1
authorDavid van Moolenbroek <david@minix3.org>
Fri, 4 Sep 2015 23:10:41 +0000 (01:10 +0200)
committerDavid van Moolenbroek <david@minix3.org>
Thu, 17 Sep 2015 17:14:58 +0000 (17:14 +0000)
Change-Id: Ied8167bc44ffc336b4ab2478f11586b7d6ae0016

minix/servers/vm/acl.c

index d7e11bde0a3582124d5e1d08d9374c32cc637b04..536b3a05ba3dc8256968abd25965f9349d79a37a 100644 (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 (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);