vfs: Add permission2 for filesystems with per mount permissions
authorDaniel Rosenberg <drosen@google.com>
Wed, 26 Oct 2016 23:27:45 +0000 (16:27 -0700)
committerStricted <info@stricted.net>
Thu, 11 Oct 2018 16:03:53 +0000 (18:03 +0200)
commitf15b27d8c62c32591e982673dfafa7382690a985
treef065ea49cf30910e6357bfa7e44f31e3958b4b24
parent27d99302501d3ea92a5421e1838e37eb44554e0d
vfs: Add permission2 for filesystems with per mount permissions

This allows filesystems to use their mount private data to
influence the permssions they return in permission2. It has
been separated into a new call to avoid disrupting current
permission users.

Change-Id: I9d416e3b8b6eca84ef3e336bd2af89ddd51df6ca
Signed-off-by: Daniel Rosenberg <drosen@google.com>
fs/exec.c
fs/namei.c
fs/notify/fanotify/fanotify_user.c
fs/notify/inotify/inotify_user.c
fs/open.c
fs/utimes.c
include/linux/fs.h
include/linux/namei.h
ipc/mqueue.c
security/inode.c