[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ulimit block size
From: |
Pete Graner |
Subject: |
Re: ulimit block size |
Date: |
Mon, 1 Oct 2007 16:20:14 -0400 |
On 10/1/07, Chet Ramey <chet.ramey@case.edu> wrote:
> > We received a bug report[1] against bash-3.2 in Fedora 7, where the
> > reporter states that ulimit in bash is using a block size of 1024 vs.
> > 512 which is in the opengroup standard[2].
> >
> > What the upstream position on this?
>
> I'll take a look. If bash is using 1024 while in posix mode, it's a bug.
>
Looking I don't see where is could be changed based on POSIX, according to:
bash-3.2/builtins/ulimit.def:
static RESOURCE_LIMITS limits[] = {
#ifdef RLIMIT_CORE
{ 'c', RLIMIT_CORE, 1024, "core file size", "blocks" },
#endif
~p
--
Pete Graner <pgraner@redhat.com>
Base Operating Systems
Red Hat Inc.