From owner-freebsd-stable@FreeBSD.ORG Fri Sep 17 07:46:39 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EDF816A4CF for ; Fri, 17 Sep 2004 07:46:39 +0000 (GMT) Received: from smtp.atlantis.dp.ua (smtp.atlantis.dp.ua [193.108.46.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E8C643D5C for ; Fri, 17 Sep 2004 07:46:37 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from smtp.atlantis.dp.ua (smtp.atlantis.dp.ua [193.108.46.231]) by smtp.atlantis.dp.ua (8.12.6p2/8.12.6) with ESMTP id i8H7kOAV075634 for ; Fri, 17 Sep 2004 10:46:24 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Date: Fri, 17 Sep 2004 10:46:24 +0300 (EEST) From: Dmitry Pryanishnikov To: freebsd-stable@freebsd.org Message-ID: <20040917103749.D73146@atlantis.atlantis.dp.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: Bug in setrlimit() on FreeBSD 4.10-RELEASE-p2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2004 07:46:39 -0000 Hello! > Date: Thu, 16 Sep 2004 18:46:34 -0300 > From: Marcus Grando > > I discovered one bug in setrlimit on 4.10-RELEASE-p2. When setting > rlim_cur < 1474268*1024, system return SIGBUS, but rlim_cur=1474268*1024 > work. > > On 4.10-RELEASE this issue not occurs. > > Example and strace above... Not repeatable here: dmitry@lynx$ uname -a FreeBSD lynx.atlantis.dp.ua 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0: Thu Jul 1 16:04:53 EEST 2004 dmitry@test.atlantis.dp.ua:/usr/obj/usr/src/sys/HOSTING i386 dmitry@lynx$ ./a.out dmitry@lynx$ I would check that kernel build options are the same for RELEASE and RELEASE-p2, and contents of /etc/login.conf are the same too, because code in question hasn't been changed between them. Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE