From fbbf2570b4e883d8aa40c5f791fbcac61556357c Mon Sep 17 00:00:00 2001 From: David van Moolenbroek Date: Sat, 5 Sep 2015 01:10:41 +0200 Subject: [PATCH] VM: hide harmless ACL warning for RS at startup Change-Id: Ied8167bc44ffc336b4ab2478f11586b7d6ae0016 --- minix/servers/vm/acl.c | 4 ++++ 1 file changed, 4 insertions(+) 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);