Date: Wed, 22 Aug 2007 09:05:38 -0700 (PDT) From: James Morris To: Yuichi Nakamura cc: selinux@tycho.nsa.gov, Stephen Smalley , busybox@kaigai.gr.jp, Eric Paris , kaigai@ak.jp.nec.com Subject: Re: [patch] Tuning avtab to reduce memory usage In-Reply-To: <20070822115145.E7D3.YNAKAM@hitachisoft.jp> Message-ID: References: <20070821130540.7AD3.YNAKAM@hitachisoft.jp> <20070822115145.E7D3.YNAKAM@hitachisoft.jp> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov On Wed, 22 Aug 2007, Yuichi Nakamura wrote: > + rc = avtab_alloc(a, nel); > + if (rc) { > + rc = -ENOMEM; > + goto bad; > + } Please also just use the return code here. - James -- James Morris -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.