From owner-freebsd-hackers Sun Jan 12 2:10:40 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5317037B401; Sun, 12 Jan 2003 02:10:39 -0800 (PST) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA4BC43F3F; Sun, 12 Jan 2003 02:10:38 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.6/8.12.6) with ESMTP id h0CAAcYp081371; Sun, 12 Jan 2003 02:10:38 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.6/8.12.6/Submit) id h0CAAcr4081370; Sun, 12 Jan 2003 02:10:38 -0800 (PST) Date: Sun, 12 Jan 2003 02:10:38 -0800 (PST) From: Matthew Dillon Message-Id: <200301121010.h0CAAcr4081370@apollo.backplane.com> To: hackers@freebsd.org, rwatson@freebsd.org Subject: possible cpu_wait() / vm_waitproc() / MAC problem Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG While working on an MFC I noticed that sys/compat/svr4/svr4_misc.c (in CURRENT) is calling cpu_wait() in svr4_sys_waitsys() instead of vm_waitproc(). I believe it needs to call vm_waitproc(). Can anyone say for sure? Also, in kern/kern_exit.c the wait code has this: #ifdef MAC mac_destroy_proc(p) #endif This appears to be missing from svr4_sys_waitsys() as well, also in -current. Could someone confirm that? -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message