Date: Fri, 19 Aug 2005 11:09:11 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/jls jls.c Message-ID: <200508191109.j7JB9BX9025384@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2005-08-19 11:09:11 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
usr.sbin/jls jls.c
Log:
MFC: usr.sbin/jls/jls.c 1.4,1.5
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.
Approved by: re (kensmith)
Revision Changes Path
1.3.12.1 +17 -11 src/usr.sbin/jls/jls.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508191109.j7JB9BX9025384>
