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 from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html