pjd d5f324cb09 Not sure why, but SYSCTL_OUT() can sometimes keep returning ENOMEM
in sysctl_jail_list(). Because of this, jls(8) could enter into
an endless loop. The strange thing is, that we can call jls(8) while
the other one is in loop and it will succeed - SYSCTL_OUT() will
not return ENOMEM there.

Maybe SYSCTL_OUT() returns first ENOMEM, because there is no memory,
but is marking some memory range as wired even on failure and another
SYSCTL_OUT() calls are not going to succeed, because process exceeds
limit of wired memory? ENOVMCLUE.

Anyway. Fix jls(8) to ignore ENOMEM and retry only 4 times.

Submitted by:	Niklas Saers
PR:		kern/79245
MFC after:	3 days
2005-08-15 12:15:21 +00:00
..
2005-01-18 20:02:45 +00:00
2005-07-28 19:41:52 +00:00
2005-08-06 16:52:30 +00:00
2005-02-13 22:25:33 +00:00
2005-03-24 01:26:40 +00:00
2005-05-20 12:44:04 +00:00
2005-01-18 20:02:45 +00:00
2005-02-09 18:07:17 +00:00
2005-05-04 08:57:12 +00:00
2005-07-15 15:32:52 +00:00
2005-02-09 12:17:52 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-08-11 15:23:23 +00:00
2005-02-13 22:25:33 +00:00
2005-03-11 14:20:09 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-01-11 11:47:22 +00:00
2005-01-18 20:02:45 +00:00
2005-02-09 18:07:17 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2005-02-09 18:07:17 +00:00
2005-01-18 20:02:45 +00:00
2005-01-18 20:02:45 +00:00
2005-03-03 06:38:00 +00:00
2005-06-14 12:26:36 +00:00
2005-02-09 18:07:17 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-06-14 12:26:36 +00:00
2005-02-13 22:25:33 +00:00
2005-02-09 18:07:17 +00:00
2005-06-14 12:26:36 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-06-03 15:25:13 +00:00
2005-04-09 14:59:10 +00:00
2005-04-09 14:59:10 +00:00
2005-02-09 18:07:17 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-02-09 18:07:17 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-02-15 09:27:00 +00:00
2005-08-10 17:09:08 +00:00
2005-01-18 20:02:45 +00:00
2005-06-09 09:28:35 +00:00
2005-02-13 23:45:54 +00:00
2005-02-09 18:07:17 +00:00
2005-01-18 20:02:45 +00:00
2004-12-21 10:49:29 +00:00
2004-12-21 10:49:29 +00:00
2005-07-11 04:14:42 +00:00
2005-01-18 20:02:45 +00:00
2004-12-21 12:44:20 +00:00
2005-02-13 22:25:33 +00:00
2005-01-18 20:02:45 +00:00
2005-06-14 12:26:36 +00:00
2005-01-18 20:02:45 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 23:45:54 +00:00