]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MLSXFRM]: Fix build with SECURITY_NETWORK_XFRM disabled.
authorVenkat Yekkirala <vyekkirala@TrustedCS.com>
Fri, 28 Jul 2006 05:01:34 +0000 (22:01 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 21:53:30 +0000 (14:53 -0700)
commita51c64f1e5c2876eab2a32955acd9e8015c91c15
tree1cc49c6ee7a3135ea000956e5fef41ff4c8e2ebe
parent4237c75c0a35535d7f9f2bfeeb4b4df1e068a0bf
[MLSXFRM]: Fix build with SECURITY_NETWORK_XFRM disabled.

The following patch will fix the build problem (encountered by Andrew
Morton) when SECURITY_NETWORK_XFRM is not enabled.

As compared to git-net-selinux_xfrm_decode_session-build-fix.patch in
-mm, this patch sets the return parameter sid to SECSID_NULL in
selinux_xfrm_decode_session() and handles this value in the caller
selinux_inet_conn_request() appropriately.

Signed-off-by: Venkat Yekkirala <vyekkirala@TrustedCS.com>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
security/selinux/hooks.c
security/selinux/include/xfrm.h