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

Chris Wright
2003-11-25T19:28:55Z

* Ihar 'Philips' Filipau (filia@softhome.net) 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