Bug in setrlimit() on FreeBSD 4.10-RELEASE-p2

Dmitry Pryanishnikov dmitry at atlantis.dp.ua
Fri Sep 17 00:46:39 PDT 2004


Hello!

> Date:      Thu, 16 Sep 2004 18:46:34 -0300
> From:      Marcus Grando <marcus at 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 at 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 at test.atlantis.dp.ua:/usr/obj/usr/src/sys/HOSTING  i386
dmitry at lynx$ ./a.out
dmitry at 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 at atlantis.dp.ua
nic-hdl: LYNX-RIPE


More information about the freebsd-stable mailing list