Re: stacker and vm_enough_memory

From: Tony Jones (tonyj@private)
Date: Tue Jun 28 2005 - 20:27:21 PDT


On Tue, Jun 28, 2005 at 11:04:45PM -0400, James Morris wrote:

James,

I was working off what Serge posted to -lkml.

Patch "[patch 9/11] lsm stacking: selinux: remove secondary support" removed 
selinux_vm_enough_memory.

It didn't dawn on me that the stacker patch would have removed this from
SELinux, my bad for not checking.

Thanks,

Tony

> > I note that SELinux doesn't implement the vm_enough_memory hook right now, so
> > fixup_ops gives them dummy_vm_enough_memory.
> 
> 
> What do you mean?
> 
> static struct security_operations selinux_ops = {
> ...
>         .vm_enough_memory =             selinux_vm_enough_memory,
> ...
> 
> 
> 
> -- 
> James Morris
> <jmorris@private>



This archive was generated by hypermail 2.1.3 : Tue Jun 28 2005 - 20:32:18 PDT