Loop in userland_sysctl()

From: Peter Holm <peter_at_holm.cc>
Date: Wed, 3 Mar 2004 10:13:32 +0100
I'm able to provoke a loop in kern/kern_sysctl.c:

 1316           do {
 1317               req2 = req;
 1318               error = sysctl_root(0, name, namelen, &req2);
 1319           } while (error == EAGAIN);

Is the "do while" realy required here?

Details _at_ http://people.freebsd.org/~pho/stress/cons44.html

-- 
Peter Holm
Received on Wed Mar 03 2004 - 00:13:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:45 UTC