Date: Thu, 11 Dec 2008 18:32:05 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/sys resource.h Message-ID: <200812111832.mBBIWLhB064180@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2008-12-11 18:32:05 UTC FreeBSD src repository Modified files: sys/sys resource.h Log: SVN rev 185940 on 2008-12-11 18:32:05Z by ed Don't forget to add "npts" to rlimit_ident[] as well. When I added RLIMIT_NPTS, I forgot to add it to rlimit_ident[]. Make sure the rlimit_ident[] array is always RLIM_NLIMITS elements big. So if we ever forget to add new rlimits to this list again. it will contain a null pointer, instead of random data. Spotted by: rwatson Revision Changes Path 1.34 +2 -1 src/sys/sys/resource.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812111832.mBBIWLhB064180>