delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=Yo0xWqo6I9xNo5cPxISCjcdLY4otOjG2qyXInanTVya0ADBMRXVIr | |
bZXFoDX03VmhP/VsiCW1P5MaVvmRkETDlQpMIWeLveD0/YTDcnEZf8ui8YFD35Az | |
V3yHGndcr0UNzIq7aUd/4YwyvYine3L5d8wF8qqJr9P9UZ/R685wdk= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=4FIPJ6ykfZxd3UNT+/6crvLjURA=; b=qUczFSKSEUOT5WrHbSPdLhn3zK/l | |
ngKK4QWvcecWx8MRpkrAWZEAWqvsj2/KR0OUVsfnqMNY02ZK+B0ou6bRm4ea+3hL | |
jP7Fi0XRiRW6mbFzl1OmnTZW0ypLY4U8hf9R6UoVxuH7MxeVeChtAebCrm8778ia | |
8WRI2f3FEzTs5vM= | |
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 |
X-Spam-SWARE-Status: | No, score=-1.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1 |
X-Mail-Handler: | Dyn Standard SMTP by Dyn |
X-Report-Abuse-To: | abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) |
X-MHO-User: | U2FsdGVkX1+cptNE0HU+hGVo7ZNBI3vs |
Date: | Wed, 1 May 2013 17:20:08 -0400 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: setrlimit() does not check for excess "cur" values |
Message-ID: | <20130501212008.GA6268@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <5F8AAC04F9616747BC4CC0E803D5907D0AF74D33 AT MLBXv04 DOT nih DOT gov> |
MIME-Version: | 1.0 |
In-Reply-To: | <5F8AAC04F9616747BC4CC0E803D5907D0AF74D33@MLBXv04.nih.gov> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
On Wed, May 01, 2013 at 06:14:47PM +0000, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: >It looks like Cygwin's implementation of setrlimit() does not check >whether a "cur" value being set for a resource has been requested >higher than the "max" value. It should have returned EINVAL. Thanks for the test case. I've checked in a fix to CVS. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |