delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/08/09:39:39

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4CFF989E.1040600@redhat.com>
Date: Wed, 08 Dec 2010 07:39:26 -0700
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.6
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: ulimit inconsistency
References: <AANLkTi=h1RJkX83Am5SGehqP_FiiXWZZSjhkcmLteeOB AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTi=h1RJkX83Am5SGehqP_FiiXWZZSjhkcmLteeOB@mail.gmail.com>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--------------enigF5D36280315EE22A53C9FD73
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 12/08/2010 02:11 AM, Csaba Raduly wrote:
> After successfully building LLVM + clang, I wanted to run the tests.
> The tests start out with
>=20
> ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -v 1024000 ;
>=20
> I understand that there is no support for setting those limits, but
> the behaviour of 'ulimit -m' seems inconsistent:
>=20
> /bin/sh: line 0: ulimit: -m: invalid option
> ulimit: usage: ulimit [-SHacdfilmnpqstuvx] [limit]
> --------------------------------^
>=20
> If -m isn't a valid option, it shouldn't appear in the usage.

Patches welcome.  Bash outputs a hard-coded string which corresponds to
the union of all supported options across all architectures, rather than
customizing the string to the few settings that can actually be
supported on a given architecture.  It hasn't bothered me enough to try
to do anything about it in bash.

--=20
Eric Blake   eblake AT redhat DOT com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enigF5D36280315EE22A53C9FD73
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJM/5ieAAoJEKeha0olJ0NqCZsIAKNl8jDoxQ3iwFum5mpaIr9I
jUB35oocdGo3wUgszwiL0GMrQ4AN42vgBZ45haN0EHR5NFfdrxcBCocu5KM/AOnT
OC9kV29PqrfOgrMT8z4q5dK69tS54gMC4HFrL/+lVq1iBNzKIjFoKeQnqYNnusbB
GEliCeGBIw+ILGJv7Sjqopk7bqNIUO6sZ4cOHobMD+jIAjrIJLE7KA0Ehh3gl9yg
RitHzCB8AB/fYJXJZxNZtTifAX+T6me3oRMK8VgT9UKXuP7AotADBp0ev9/gydAK
gH/YupSJqKZy2VUzAzkA/zsIQY8I5NH7ot8D9iEPeM7fjVImBMni6+H7dhOYEjY=
=mZs/
-----END PGP SIGNATURE-----

--------------enigF5D36280315EE22A53C9FD73--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019