Re: 2.2/2.4/2.6 VMs: do malloc() ever return NULL?

From: Chris Wright
Date: Tue Nov 25 2003 - 14:29:59 EST


* Ihar 'Philips' Filipau (filia@xxxxxxxxxxxx) wrote:
> I cannot tell what it does - but name 'security_vm_enough_memory()'
> sounds promising ;-)

This allows a security module to verify that a process can add mapping
for the new pages it's trying to grab. And can be used to control
overcommit.

thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/