Re: Repost: Missing security_mmap_file() in remap_file_pages syscall

2019-03-25 Thread Stephen Smalley
On 3/25/19 1:33 PM, TongZhang wrote: Dear Kernel Developers, We’d like to bring this up for a discussion again. Several months ago we posted an email discussing a case where remap_file_pages() has no security_mmap_file() check. At that time we were told that do_mmap_pgoff() will base the new V

Re: Repost: Missing security_mmap_file() in remap_file_pages syscall

2019-03-25 Thread Kirill A. Shutemov
On Mon, Mar 25, 2019 at 01:33:51PM -0400, TongZhang wrote: > Dear Kernel Developers, > > We’d like to bring this up for a discussion again. > > Several months ago we posted an email discussing a case where > remap_file_pages() has no security_mmap_file() check. > At that time we were told that d