Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 2004 10:46:24 +0300 (EEST)
From:      Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>
To:        freebsd-stable@freebsd.org
Subject:   Re: Bug in setrlimit() on FreeBSD 4.10-RELEASE-p2
Message-ID:  <20040917103749.D73146@atlantis.atlantis.dp.ua>

next in thread | raw e-mail | index | archive | help

Hello!

> Date:      Thu, 16 Sep 2004 18:46:34 -0300
> From:      Marcus Grando <marcus@corp.grupos.com.br>
>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040917103749.D73146>