From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 1739B3EDDA for ; Sat, 9 Nov 2002 14:14:53 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id gA9JEqc13080 for axp-list@listman.redhat.com; Sat, 9 Nov 2002 14:14:52 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id gA9JEpD13076; Sat, 9 Nov 2002 14:14:51 -0500 Received: from zcamail05.zca.compaq.com (zcamail05.zca.compaq.com [161.114.32.105]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id gA9Ipww32631; Sat, 9 Nov 2002 13:51:58 -0500 Received: from mailrelay01.cce.cpqcorp.net (mailrelay01.cce.cpqcorp.net [16.47.68.171]) by zcamail05.zca.compaq.com (Postfix) with ESMTP id D46BCD03; Sat, 9 Nov 2002 11:14:45 -0800 (PST) Received: from oflume.zk3.dec.com (bryflume.zk3.dec.com [16.141.40.17]) by mailrelay01.cce.cpqcorp.net (Postfix) with ESMTP id B5AABE72; Sat, 9 Nov 2002 13:14:44 -0600 (CST) Received: from zk3.dec.com by oflume.zk3.dec.com (8.11.6/1.1.22.3/03Mar00-0551AM) id gA9JEhE11546; Sat, 9 Nov 2002 14:14:43 -0500 (EST) Message-ID: <3DCD5E9F.B32BC88B@zk3.dec.com> Date: Sat, 09 Nov 2002 14:14:40 -0500 From: Peter Rival X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Cc: Richard Henderson Subject: Re: [PATCH] [RESENT] compilation warnings 3/6 References: <20021109010039.D18411@Marvin.DL8BCU.ampr.org> <20021109010312.E18411@Marvin.DL8BCU.ampr.org> <20021109010502.F18411@Marvin.DL8BCU.ampr.org> <20021108205012.C3169@twiddle.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: Richard Henderson wrote: > On Sat, Nov 09, 2002 at 01:05:03AM +0000, Thorsten Kranzkowski wrote: > > > > ### i is again a loopcounter with supposedly only positive values. > > ### OTOH this funktion needs more thought. In its current form > > ### it may copy arbitrary amounts of memory when given a negative > > ### value for namelen. 'len' should be removes altogether. > > ### I suppose the 'int namelen' is architecturally defined? > > Can someone with access to Tru64 headers check the definition > of the getdomainname syscall? > > I'm going to leave this hunk out for now. > Ask and ye shall receive. From a cscope database of V5.1A kernel sources: int getdomainname(struct proc *p, void *args, long *retval) { ... } Good 'nuff? - Pete