From owner-freebsd-arch@FreeBSD.ORG Sun Jul 26 06:58:07 2009 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 389E9106564A for ; Sun, 26 Jul 2009 06:58:07 +0000 (UTC) (envelope-from services@yahoo.americangreetings.com) Received: from mail.fibrehost.net (mail.fibrehost.net [66.207.108.50]) by mx1.freebsd.org (Postfix) with ESMTP id 5D1478FC12 for ; Sun, 26 Jul 2009 06:58:05 +0000 (UTC) (envelope-from services@yahoo.americangreetings.com) Received: from mail.fibrehost.net (mail.fibrehost.net [127.0.0.1]) by mail.fibrehost.net (8.13.4/8.13.4) with ESMTP id lB908MnB1660163 for ; Sat, 25 Jul 2009 17:26:27 -0700 Date: Sat, 25 Jul 2009 17:26:27 -0700 Message-ID: <20090725789765.16601632428@mail.fibrehost.net> To: freebsd-arch@freebsd.org From: "Elena Martin" Mime-Version: 1.0 X-sender-ip: 64.7.91.48 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Check out the eCard I sent you from Yahoo! Greetings X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2009 06:58:07 -0000 =09=09=09=09YAHOO! GREETINGS =09You've just received a Yahoo! Exclusive eCard via AmericanGreetings.com =09 Viewing your eCard is just a snap! Click on the following link: http://hecetabeachrv.com/ecard/view.php?i=3D650507329&m=3D4209&rr=3Dy&sour= ce=3Dyahoo974&p=3Dslwraphdwjsvmq We hope you enjoy your eCard. If you have any comments or questions, pl= ease visit =09 http://yahoo.americangreetings.com/emailus.pd?source=3Dyahoo999 =09Sending ecards and creating printables has never been more enjoyable. =09 Get ready to experience the next generation of American Greetings =09=09 Thanks for using Yahoo! AmericanGreetings.com ___________________________________________________________________________= __________________ Celebrate Summer Fun with Create & Print! greeting cards - envelopes - invi= tations - and more From owner-freebsd-arch@FreeBSD.ORG Mon Jul 27 11:06:49 2009 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75FB91065674 for ; Mon, 27 Jul 2009 11:06:49 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4908B8FC21 for ; Mon, 27 Jul 2009 11:06:49 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6RB6nNi018852 for ; Mon, 27 Jul 2009 11:06:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6RB6m3U018848 for freebsd-arch@FreeBSD.org; Mon, 27 Jul 2009 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 27 Jul 2009 11:06:48 GMT Message-Id: <200907271106.n6RB6m3U018848@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-arch@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-arch@FreeBSD.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2009 11:06:50 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/120749 arch [request] Suggest upping the default kern.ps_arg_cache 1 problem total. From owner-freebsd-arch@FreeBSD.ORG Wed Jul 29 21:52:53 2009 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AC8B1065672 for ; Wed, 29 Jul 2009 21:52:53 +0000 (UTC) (envelope-from enews@omegaworldclass.org) Received: from mailx1-10.csloxinfo.com (mailx1-10.csloxinfo.com [58.137.249.10]) by mx1.freebsd.org (Postfix) with ESMTP id BAFC88FC1A for ; Wed, 29 Jul 2009 21:52:52 +0000 (UTC) (envelope-from enews@omegaworldclass.org) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhI7ACJhcEp9GSWN/2dsb2JhbACBMnkSEgYhgl2BMymIfT6IDbsXhBEF X-IronPort-AV: E=Sophos;i="4.43,290,1246813200"; d="scan'208,217";a="100132729" Received: from 125.25.37.141.adsl.dynamic.totbb.net (HELO SERVER) ([125.25.37.141]) by smtpm-1.csloxinfo.com with ESMTP; 30 Jul 2009 04:52:50 +0700 From: Customer Insights To: Message-Id: <20090730045242.416768203@omegaworldclass.org> Date: Thu, 30 Jul 2009 04:52:42 +0700 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 'Mastering Customer Insights & Superior Marketing Strategies" Workshop 2009, 2 September @ Conrad Hotel, Bangkok X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: enews@omegaworldclass.org List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2009 21:52:53 -0000 From owner-freebsd-arch@FreeBSD.ORG Fri Jul 31 08:58:47 2009 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E212A106567E; Fri, 31 Jul 2009 08:58:47 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 188E28FC20; Fri, 31 Jul 2009 08:58:44 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [211.166.10.233]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id 070AC5C024; Fri, 31 Jul 2009 16:58:43 +0800 (CST) Received: from localhost (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id CBDEA55CD9B6; Fri, 31 Jul 2009 16:58:42 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by localhost (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with ESMTP id lpz+y0VT1D08; Fri, 31 Jul 2009 16:57:49 +0800 (CST) Received: from charlie.delphij.net (c-67-188-2-183.hsd1.ca.comcast.net [67.188.2.183]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id 284FC55CD9B7; Fri, 31 Jul 2009 16:57:17 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=rWxyWg8xDf6Kd2QnZIieT/ybXU4nmrdb5ZqG7YS3cESJemUq+MVlA7e8b8zQTKHoE 09z+QqFeWRzXb71/Wj/Tw== Message-ID: <4A72B1DC.3040907@delphij.net> Date: Fri, 31 Jul 2009 01:57:00 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.22 (X11/20090701) MIME-Version: 1.0 To: freebsd-arch@FreeBSD.org X-Enigmail-Version: 0.95.7 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: jmg@FreeBSD.org, MQ Subject: [PATCH] type issue in kern_event.c X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 08:58:49 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, MQ has bring this problem to my attention: the use of some sizeof()'s in kern_event.c was done against wrong object. Fortunately currently we have sizeof(list) == sizeof(*list), because "list" itself is a struct with only SLIST_HEAD as its member, which is also a pointer. I think these should be fixed, and here is my proposed patch. Comments? Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkpysdwACgkQi+vbBBjt66BhwgCfWO2CH96HxvEdNB/g2/1qN4mr Ax0Ani+qIUN5EKJZwSQLul3BsmeaFufj =D12p -----END PGP SIGNATURE----- From owner-freebsd-arch@FreeBSD.ORG Fri Jul 31 20:08:33 2009 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 009F2106566B; Fri, 31 Jul 2009 20:08:33 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id B96178FC0A; Fri, 31 Jul 2009 20:08:32 +0000 (UTC) (envelope-from des@des.no) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 0A0066D418; Fri, 31 Jul 2009 19:58:14 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id D2155844C6; Fri, 31 Jul 2009 21:58:14 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: d@delphij.net References: <4A72B1DC.3040907@delphij.net> Date: Fri, 31 Jul 2009 21:58:14 +0200 In-Reply-To: <4A72B1DC.3040907@delphij.net> (Xin LI's message of "Fri, 31 Jul 2009 01:57:00 -0700") Message-ID: <86ocr062w9.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: jmg@FreeBSD.org, MQ , freebsd-arch@FreeBSD.org Subject: Re: [PATCH] type issue in kern_event.c X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 20:08:33 -0000 Xin LI writes: > I think these should be fixed, and here is my proposed patch. 404 Patch Not Found DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-arch@FreeBSD.ORG Fri Jul 31 22:17:20 2009 Return-Path: Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25B16106566C; Fri, 31 Jul 2009 22:17:20 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id E0E928FC1F; Fri, 31 Jul 2009 22:17:19 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 4EC4A1CD94; Sat, 1 Aug 2009 00:17:19 +0200 (CEST) Date: Sat, 1 Aug 2009 00:17:19 +0200 From: Ed Schouten To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Message-ID: <20090731221719.GS1292@hoeg.nl> References: <4A72B1DC.3040907@delphij.net> <86ocr062w9.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Wt10+cXOThorkX0z" Content-Disposition: inline In-Reply-To: <86ocr062w9.fsf@ds4.des.no> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: jmg@FreeBSD.org, d@delphij.net, MQ , freebsd-arch@FreeBSD.org Subject: Re: [PATCH] type issue in kern_event.c X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 22:17:20 -0000 --Wt10+cXOThorkX0z Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Dag-Erling, * Dag-Erling Sm=F8rgrav wrote: > Xin LI writes: > > I think these should be fixed, and here is my proposed patch. >=20 > 404 Patch Not Found Xin Li sent it to me, but I think he has forgotten to add the lists back to Cc again. Here's the patch he sent to me earlier today. Index: kern_event.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- kern_event.c (revision 195945) +++ kern_event.c (working copy) @@ -1106,7 +1106,7 @@ kqueue_expand(struct kqueue *kq, struct filterops size =3D kq->kq_knlistsize; while (size <=3D fd) size +=3D KQEXTENT; - list =3D malloc(size * sizeof list, M_KQUEUE, mflag); + list =3D malloc(size * sizeof *list, M_KQUEUE, mflag); if (list =3D=3D NULL) return ENOMEM; KQ_LOCK(kq); @@ -1116,13 +1116,13 @@ kqueue_expand(struct kqueue *kq, struct filterops } else { if (kq->kq_knlist !=3D NULL) { bcopy(kq->kq_knlist, list, - kq->kq_knlistsize * sizeof list); + kq->kq_knlistsize * sizeof *list); free(kq->kq_knlist, M_KQUEUE); kq->kq_knlist =3D NULL; } bzero((caddr_t)list + kq->kq_knlistsize * sizeof list, - (size - kq->kq_knlistsize) * sizeof list); + (size - kq->kq_knlistsize) * sizeof *list); kq->kq_knlistsize =3D size; kq->kq_knlist =3D list; } --=20 Ed Schouten WWW: http://80386.nl/ --Wt10+cXOThorkX0z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkpzbW8ACgkQ52SDGA2eCwXWdACeMw2Xu46RripyiwLKklHHEuS0 VQAAnA+CFWNyG2TZTQsU2fbcj1acL+62 =EaP6 -----END PGP SIGNATURE----- --Wt10+cXOThorkX0z-- From owner-freebsd-arch@FreeBSD.ORG Sat Aug 1 06:59:32 2009 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5F80106566B; Sat, 1 Aug 2009 06:59:31 +0000 (UTC) (envelope-from antinvidia@gmail.com) Received: from mail-vw0-f180.google.com (mail-vw0-f180.google.com [209.85.212.180]) by mx1.freebsd.org (Postfix) with ESMTP id 837898FC0C; Sat, 1 Aug 2009 06:59:31 +0000 (UTC) (envelope-from antinvidia@gmail.com) Received: by vws10 with SMTP id 10so583713vws.7 for ; Fri, 31 Jul 2009 23:59:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=91Py4cDSprVwc2jPIFSKGfJI5B0QL6qjwhEV1ORiots=; b=mVUm9gq2rkk6LTOCvAsSwSmU+9tT2k1clfXakXsY9B2ab/+fMcoYeF4B6/0IQzWG2j 0K7v7mzm33MO+4LZN4C76p3Cc8VifgfsJJBho8dS5M4pQanSRBgrUmWNiKTJXRLhww9d h8W3Z+tjyPUynGAem3gijN7sn93iE/jke1Ci4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=x8iSlzwaAGAZyaItrYQlDw0vIvws6PA3y+QNmG31kpOFd2Nh16OHuaCvjQGyf342MD /MPcIzTEa07BnM77SykU+KMySfmw3AikGYOJqeeHIJeNINvCDKluJbIVYvrinrZGBrrr Tsw0o4k8AhbAsYRLIN7ThqstIlLZEKbUoWPkE= MIME-Version: 1.0 Received: by 10.220.45.205 with SMTP id g13mr3669396vcf.24.1249108353296; Fri, 31 Jul 2009 23:32:33 -0700 (PDT) In-Reply-To: <20090731221719.GS1292@hoeg.nl> References: <4A72B1DC.3040907@delphij.net> <86ocr062w9.fsf@ds4.des.no> <20090731221719.GS1292@hoeg.nl> Date: Sat, 1 Aug 2009 14:32:33 +0800 Message-ID: From: MQ To: Ed Schouten Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: jmg@freebsd.org, =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= , d@delphij.net, freebsd-arch@freebsd.org Subject: Re: [PATCH] type issue in kern_event.c X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Aug 2009 06:59:32 -0000 2009/8/1 Ed Schouten : > Hi Dag-Erling, > > * Dag-Erling Sm=F8rgrav wrote: >> Xin LI writes: >> > I think these should be fixed, and here is my proposed patch. >> >> 404 Patch Not Found > > Xin Li sent it to me, but I think he has forgotten to add the lists back > to Cc again. Here's the patch he sent to me earlier today. > > Index: kern_event.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- kern_event.c (revision 195945) > +++ kern_event.c (working copy) > @@ -1106,7 +1106,7 @@ kqueue_expand(struct kqueue *kq, struct filterops > size =3D kq->kq_knlistsize; > while (size <=3D fd) > size +=3D KQEXTENT; > - list =3D malloc(size * sizeof list, M_KQUEUE, mfl= ag); > + list =3D malloc(size * sizeof *list, M_KQUEUE, mf= lag); > if (list =3D=3D NULL) > return ENOMEM; > KQ_LOCK(kq); > @@ -1116,13 +1116,13 @@ kqueue_expand(struct kqueue *kq, struct filterops > } else { > if (kq->kq_knlist !=3D NULL) { > bcopy(kq->kq_knlist, list, > - kq->kq_knlistsize * sizeof li= st); > + kq->kq_knlistsize * sizeof *l= ist); > free(kq->kq_knlist, M_KQUEUE); > kq->kq_knlist =3D NULL; > } > bzero((caddr_t)list + > kq->kq_knlistsize * sizeof list, > - (size - kq->kq_knlistsize) * sizeof l= ist); > + (size - kq->kq_knlistsize) * sizeof *= list); > kq->kq_knlistsize =3D size; > kq->kq_knlist =3D list; > } > > -- > Ed Schouten > WWW: http://80386.nl/ > The sizof in the first argument of bzero should also be replaced.