Re: [PATCH -next] nommu: Provide mmap_min_addr definition.

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

 



On Tue, 9 Jun 2009, Paul Mundt wrote:

> With the "security: use mmap_min_addr indepedently of security models"
> change, mmap_min_addr is used in common areas, which susbsequently blows
> up the nommu build. This stubs in the definition in the nommu case as
> well.
> 

Thanks.


Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next

> Signed-off-by: Paul Mundt <lethal@xxxxxxxxxxxx>
> Cc: Christoph Lameter <cl@xxxxxxxxxxxxxxxxxxxx>
> Cc: James Morris <jmorris@xxxxxxxxx>
> 
> --
> 
>  mm/nommu.c |    3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/mm/nommu.c b/mm/nommu.c
> index b571ef7..2fd2ad5 100644
> --- a/mm/nommu.c
> +++ b/mm/nommu.c
> @@ -69,6 +69,9 @@ int sysctl_max_map_count = DEFAULT_MAX_MAP_COUNT;
>  int sysctl_nr_trim_pages = CONFIG_NOMMU_INITIAL_TRIM_EXCESS;
>  int heap_stack_gap = 0;
>  
> +/* amount of vm to protect from userspace access */
> +unsigned long mmap_min_addr = CONFIG_DEFAULT_MMAP_MIN_ADDR;
> +
>  atomic_long_t mmap_pages_allocated;
>  
>  EXPORT_SYMBOL(mem_map);
> --
> To unsubscribe from this list: send the line "unsubscribe linux-next" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 
James Morris
<jmorris@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux