patch-2.2.8 linux/net/core/sock.c
Next file: linux/net/ipv4/devinet.c
Previous file: linux/net/core/iovec.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Mon May 10 09:55:25 1999
-  Orig file: 
v2.2.7/linux/net/core/sock.c
-  Orig date: 
Mon Mar 29 11:09:12 1999
diff -u --recursive --new-file v2.2.7/linux/net/core/sock.c linux/net/core/sock.c
@@ -7,7 +7,7 @@
  *		handler for protocols to use and generic option handler.
  *
  *
- * Version:	$Id: sock.c,v 1.79 1999/03/28 10:18:25 davem Exp $
+ * Version:	$Id: sock.c,v 1.80 1999/05/08 03:04:34 davem Exp $
  *
  * Authors:	Ross Biro, <bir7@leland.Stanford.Edu>
  *		Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
@@ -944,7 +944,7 @@
 			 */
 			if (current->pgrp != -arg &&
 				current->pid != arg &&
-				!capable(CAP_NET_ADMIN)) return(-EPERM);
+				!capable(CAP_KILL)) return(-EPERM);
 			sk->proc = arg;
 			return(0);
 		case F_GETOWN:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)