[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: monit and grsecurity
From: |
Jan-Henrik Haukeland |
Subject: |
Re: monit and grsecurity |
Date: |
Mon, 08 Sep 2003 22:57:09 +0200 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Reasonable Discussion, linux) |
Martin Pala <address@hidden> writes:
> What does the other developers think about it? I'm +1 to add it to
> 4.0 (this is sort of bugfix => it will not break code freeze stage
> much).
Yeah, I think we should add it, parsing /proc/meminfo is probably
better, altough I think we should use sscanf instead of atoi,
something like:
if(sscanf(ptr1+strlen(FREEMEM)), "&ld", &mem_kbyte_max) != 1) {
<error>
}
Ps. atoi doesn't detect errors.
--
Jan-Henrik Haukeland