Date: Sun, 12 Jan 2003 02:10:38 -0800 (PST) From: Matthew Dillon <dillon@apollo.backplane.com> To: hackers@freebsd.org, rwatson@freebsd.org Subject: possible cpu_wait() / vm_waitproc() / MAC problem Message-ID: <200301121010.h0CAAcr4081370@apollo.backplane.com>
next in thread | raw e-mail | index | archive | help
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
<dillon@backplane.com>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301121010.h0CAAcr4081370>
