# Re: \[PATCH 2/2\] mm: introduce MAP\_VALIDATE, a mechanism for for safely defining new mmap flags

- From: Christoph Hellwig \<hch@lst.de\>
- Date: 2017-08-31 10:04:01 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2017/08/6485139
- Thread: https://ratatoskr.run/linux-mm/2017/08/6485134/t.md

```text
> +/*
> + * The historical set of flags that all mmap implementations implicitly
> + * support when file_operations.mmap_supported_mask is zero. With the
> + * mmap3 syscall the deprecated MAP_DENYWRITE and MAP_EXECUTABLE bit
> + * values are explicitly rejected with EOPNOTSUPP rather than being
> + * silently accepted.
> + */

no mmap3 syscall here :)

Do you also need to update the nommu mmap implementation?

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
```
