Date: Thu, 6 Sep 2007 21:29:53 GMT From: Matus Harvan <mharvan@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 126136 for review Message-ID: <200709062129.l86LTrM7099872@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=126136 Change 126136 by mharvan@mharvan_peleus on 2007/09/06 21:28:52 added CTLFLAG_SECURE to net.inet.icmp.echo_user sysctl variable Affected files ... .. //depot/projects/soc2007/mharvan-mtund/sys.patches/sys.current.icmp-echo_user.patch#2 edit Differences ... ==== //depot/projects/soc2007/mharvan-mtund/sys.patches/sys.current.icmp-echo_user.patch#2 (text+ko) ==== @@ -2,15 +2,15 @@ =================================================================== RCS file: /home/ncvs/src/sys/netinet/ip_icmp.c,v retrieving revision 1.117 -diff -u -r1.117 ip_icmp.c +diff -d -u -r1.117 ip_icmp.c --- ip_icmp.c 19 Jul 2007 22:34:25 -0000 1.117 -+++ ip_icmp.c 24 Aug 2007 17:21:49 -0000 ++++ ip_icmp.c 6 Sep 2007 21:26:08 -0000 @@ -124,6 +124,10 @@ SYSCTL_INT(_net_inet_icmp, OID_AUTO, bmcastecho, CTLFLAG_RW, &icmpbmcastecho, 0, ""); +static int icmpechouser = 0; -+SYSCTL_INT(_net_inet_icmp, OID_AUTO, echo_user, CTLFLAG_RW, ++SYSCTL_INT(_net_inet_icmp, OID_AUTO, echo_user, CTLFLAG_RW | CTLFLAG_SECURE, + &icmpechouser, 0, "Pass ICMP echo requests to userspace rather than" + "replying to them in the kernel");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709062129.l86LTrM7099872>