From: Keith Owens Subject: Re: [PATCH] LSM networking: skb hooks for 2.5.42 (2/7) Date: Sat, 19 Oct 2002 12:54:35 +1000 Sender: netdev-bounce@oss.sgi.com Message-ID: <4914.1034996075@ocs3.intra.ocs.com.au> References: <4301.1034994787@ocs3.intra.ocs.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: To: netdev@oss.sgi.com, linux-security-module@wirex.com In-reply-to: Your message of "Sat, 19 Oct 2002 12:33:07 +1000." <4301.1034994787@ocs3.intra.ocs.com.au> Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org On Tue, 15 Oct 2002 13:10:37 -0700 (PDT), "David S. Miller" wrote: > Yes, the size of the *.o files in the security directory can be shrunk a > bit: > text data bss dec hex filename > 6765 776 8 7549 1d7d built-in.o > 3280 392 4 3676 e5c capability.o > 1772 384 0 2156 86c dummy.o > 1713 0 4 1717 6b5 security.o > >It's a whopping 32K on sparc64, and that is only counting >the security/*.o objects. Pressed send too soon :( Double counting: built-in.o == (capability.o + dummy.o + security.o) Also I suspect you double counted text+data+bss+dec, when dec = (text+data+bss). The real size of the *.o security files in the kernel is 7549, not 32K. Not that it makes any difference, there has to be a way to make that size 0 when LSM is compiled off.