> +     /* Temporary MAP_PRIVATE-/dev/zero workaround. */
> +     if (is_anon && map->file)
> +             vma_set_anonymous(vma);
> +
>       if (error)
>               goto free_iter_vma;
>  
> @@ -2777,6 +2793,10 @@ static int call_mmap_prepare(struct mmap_state *map,
>       if (err)
>               return err;
>  
> +     /* Hooks cannot mark themselves anonymous. */

Wasn't this supposed to be reworked? :)

In any case,

Acked-by: David Hildenbrand (Arm) <[email protected]>

-- 
Cheers,

David

Reply via email to