Subject: Re: CVS commit: syssrc/sys/kern
To: None <jdolecek@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 11/23/2001 20:10:04
Jaromir Dolecek wrote:
> Module Name:	syssrc
> Committed By:	jdolecek
> Date:		Fri Nov 23 18:56:33 UTC 2001
> 
> Modified Files:
> 	syssrc/sys/kern: kern_resource.c
> 
> Log Message:
> Two changes to setrlimit(2):
> * return EINVAL if new current (soft) limit is lower than hard limit.

Oops, it should have been:
"""return EINVAL if specified current limit exceeds specified hard limit"""

I'm fixing the log entry now.

>   This behaviour is required by SUSv2 (noted by Giles Lean on tech-kern)
> * return EINVAL if an attempt is made to lower stack size limit below
>   current usage; this addresses bin/3045 by Jason Thorpe, and conforms to SUSv2

Jaromir