[redhat-lspp] Re: [RFC 4/7] NetLabel: core NetLabel subsystem

Paul Moore paul.moore at hp.com
Wed Jun 21 21:24:15 UTC 2006


Steve Grubb wrote:
> On Wednesday 21 June 2006 15:42, paul.moore at hp.com wrote:
>>Add a new kernel subsystem, NetLabel, to provide explicit packet labeling
>>services (CIPSO, RIPSO, etc.) to LSM developers.  NetLabel is designed to
>>work in conjunction with a LSM to intercept and decode security labels on
>>incoming network packets as well as ensure that outgoing network packets
>>are labeled according to the security mechanism employed by the LSM.  The
>>NetLabel subsystem is configured through a NETLINK interface described in
>>the header files included in this patch.
> 
> 
> This patch doesn't build. It fails like this:
> 
> `netlbl_netlink_exit' referenced in section `.init.text' of net/built-in.o: 
> defined in discarded section `.exit.text' of net/built-in.o
> `netlbl_domhsh_exit' referenced in section `.init.text' of net/built-in.o: 
> defined in discarded section `.exit.text' of net/built-in.o
> 
> I deleted the __exit and __init  for now so that the build procedes. But this 
> needs to get fixed in next iteration.

I removed them from the *.c files but it looks like I forget to remove
them from the *.h files.  Sorry.

I'm still very confused as to why I never see these build errors, yet
you do - can you tell me what compiler version you are using?

-- 
paul moore
linux security @ hp




More information about the redhat-lspp mailing list