aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2006-03-21 01:47:37 -0500
committerDavid S. Miller <davem@davemloft.net>2006-03-21 01:47:37 -0500
commitc841aa030437bdf1b6fb22d93eb760e35380a4ed (patch)
treef23ec860be9deb035eacc15359549d2808a7ee15
parente35fc385655ac584902edd98dd07ac488e986aa1 (diff)
[SECURITY] getpeersec: Fix build breakage
A recent changeset removes dummy_socket_getpeersec, replacing it with two new functions, but still references the removed function in the security_fixup_ops table, fix it by doing the replacement operation in the fixup table too. Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--security/dummy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/dummy.c b/security/dummy.c
index a326d6e0b6d7..a678f094b72d 100644
--- a/security/dummy.c
+++ b/security/dummy.c
@@ -1008,7 +1008,8 @@ void security_fixup_ops (struct security_operations *ops)
1008 set_to_dummy_if_null(ops, socket_getsockopt); 1008 set_to_dummy_if_null(ops, socket_getsockopt);
1009 set_to_dummy_if_null(ops, socket_shutdown); 1009 set_to_dummy_if_null(ops, socket_shutdown);
1010 set_to_dummy_if_null(ops, socket_sock_rcv_skb); 1010 set_to_dummy_if_null(ops, socket_sock_rcv_skb);
1011 set_to_dummy_if_null(ops, socket_getpeersec); 1011 set_to_dummy_if_null(ops, socket_getpeersec_stream);
1012 set_to_dummy_if_null(ops, socket_getpeersec_dgram);
1012 set_to_dummy_if_null(ops, sk_alloc_security); 1013 set_to_dummy_if_null(ops, sk_alloc_security);
1013 set_to_dummy_if_null(ops, sk_free_security); 1014 set_to_dummy_if_null(ops, sk_free_security);
1014 set_to_dummy_if_null(ops, sk_getsid); 1015 set_to_dummy_if_null(ops, sk_getsid);