On Thu, Aug 31, 2017 at 3:03 AM, Christoph Hellwig <hch@xxxxxx> wrote: >> +/* >> + * 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 :) True, that's stale. > Do you also need to update the nommu mmap implementation? Ugh, nommu defeats the MAP_SHARED_VALIDATE proposal from Linus. if ((flags & MAP_TYPE) != MAP_PRIVATE && (flags & MAP_TYPE) != MAP_SHARED) return -EINVAL; ...parisc strikes again. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>