Re: [PATCH 2/3] SELinux: add security_task_setmempolicy hooks to mm code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 21 Jun 2006, James Morris wrote:

> From: David Quigley <[email protected]>
> 
> This patch inserts the security hook calls into the setmempolicy function 
> to enable security modules to mediate this operation between tasks.

Setting a memory policy is different from migrating pages of an 
application. The migration function migrates a process, it does not set 
any memory policies. Cpuset may change memory policies of the tasks 
contained in it but sys_migrate_pages() cannot.

We need a similar hook for the sys_move_pages() function call in mm right?

If this is a generic hook then I would suggest to have some hook that 
contains the term "memory placement" somewhere that would fit both system 
calls.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux