From: Don Bowman

>I find that if I run the below:
>$ while true; do daemon -f bash -c exit; done

 ...

So the problem is in pmap_pinit().
It calls kmem_alloc_pageable() to obtain a page directory table.

In this case, kmem_alloc_pageable() returns NULL, and the code doesn't check
it.

Now, pmap_pinit() clearly doesn't expect to be able to fail, there's no
provision for returning error.

Does anyone have a suggestion for a fix?

--don

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to