From owner-freebsd-security@FreeBSD.ORG Mon Aug 11 01:30:13 2003 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A744F37B404 for ; Mon, 11 Aug 2003 01:30:13 -0700 (PDT) Received: from hysteria.spc.org (hysteria.spc.org [195.206.69.234]) by mx1.FreeBSD.org (Postfix) with SMTP id 4DBB043FB1 for ; Mon, 11 Aug 2003 01:30:12 -0700 (PDT) (envelope-from bms@hysteria.spc.org) Received: (qmail 10549 invoked by uid 5013); 11 Aug 2003 08:27:28 -0000 Date: Mon, 11 Aug 2003 09:27:28 +0100 From: Bruce M Simpson To: nectar@freebsd.org Message-ID: <20030811082728.GH31845@spc.org> References: <20030811080918.GI25513@spc.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="KDt/GgjP6HVcx58l" Content-Disposition: inline In-Reply-To: <20030811080918.GI25513@spc.org> User-Agent: Mutt/1.4.1i Organization: SPC cc: security@freebsd.org Subject: Re: Kernel build fails (RELENG_4_5) X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2003 08:30:14 -0000 --KDt/GgjP6HVcx58l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Jacques, list, On Mon, Aug 11, 2003 at 09:09:18AM +0100, Bruce M Simpson wrote: > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 /usr/src/sys/kern/sys_process.c > /usr/src/sys/kern/sys_process.c: In function `ptrace': > /usr/src/sys/kern/sys_process.c:338: `data' undeclared (first use in this function) ... > *** Error code 1 This looks like it fixes the buildkernel on RELENG_4_5 branch (attached). BMS --KDt/GgjP6HVcx58l Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sys_process.bms.diff" --- sys_process.c.bms Mon Aug 11 09:22:08 2003 +++ sys_process.c Mon Aug 11 09:22:28 2003 @@ -335,7 +335,7 @@ case PT_CONTINUE: case PT_DETACH: /* Zero means do not send any signal */ - if (data < 0 || data > _SIG_MAXSIG) + if (uap->data < 0 || uap->data > _SIG_MAXSIG) return EINVAL; PHOLD(p); --KDt/GgjP6HVcx58l--