Re: [RFC][PATCH] Security hook for vm_enough_memory

From: Stephen Smalley (sdsat_private)
Date: Mon Jun 23 2003 - 12:04:55 PDT

  • Next message: Ling, Xiaofeng: "RE: about LSM in kernel 2.5"

    On Mon, 2003-06-23 at 12:40, Alan Cox wrote:
    > Is there any reason for not wrapping the entire vm_enough_memory() function
    > and using the current one as default. In some environments being able to make
    > total commit constraints based on roles may actually be useful.
    > 
    > (Think "sum of students memory < 40% of system" 8))
    > 
    > vm_enough_memory has to be kernel side but its basically policy so pluggable
    > IMHO is good.
    
    This sounds useful; I'll rework the patch accordingly and resubmit.
    
    -- 
    Stephen Smalley <sdsat_private>
    National Security Agency
    
    _______________________________________________
    linux-security-module mailing list
    linux-security-moduleat_private
    http://mail.wirex.com/mailman/listinfo/linux-security-module
    



    This archive was generated by hypermail 2b30 : Mon Jun 23 2003 - 12:06:23 PDT