[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scrypt 1.3.0 released



On 2020-01-01 20:02, Ted Unangst wrote:
> Colin Percival wrote:
>> * When estimating the amount of available RAM, scrypt ignores RLIMIT_DATA on
>>   systems which have mmap.
> 
> I'm a bit late here, but this is the wrong thing to do for OpenBSD. On
> OpenBSD, rlimit_data is applied to anonymous mmap (since that's now the heap)
> for consistency. RLIMIT_RSS is a vestigal do nothing define.

Hmm.  RLIMIT_RSS used to have a meaning; why did you get rid of it?

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid