netdev
[Top] [All Lists]

Re: [PATCH] LSM networking: skb hooks for 2.5.42 (2/7)

To: netdev@xxxxxxxxxxx, linux-security-module@xxxxxxxxx
Subject: Re: [PATCH] LSM networking: skb hooks for 2.5.42 (2/7)
From: Keith Owens <kaos@xxxxxxxxxx>
Date: Sat, 19 Oct 2002 12:54:35 +1000
In-reply-to: Your message of "Sat, 19 Oct 2002 12:33:07 +1000." <4301.1034994787@ocs3.intra.ocs.com.au>
Sender: netdev-bounce@xxxxxxxxxxx
On Tue, 15 Oct 2002 13:10:37 -0700 (PDT), 
"David S. Miller" <davem@xxxxxxxxxx> 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 :(

<nitpick>
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.
</nitpick>


<Prev in Thread] Current Thread [Next in Thread>