diff options
author | Vivek Goyal <vgoyal@redhat.com> | 2016-07-01 16:34:27 -0400 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2016-07-29 12:05:23 +0200 |
commit | c0ca3d70e8d3cf81e2255a217f7ca402f5ed0862 (patch) | |
tree | 8f1a2e9730bdd327513e31b500da20ad4f1ad36c /sound/arm/aaci.c | |
parent | 39a25b2b37629f65e5a1eba1b353d0b47687c2ca (diff) | |
download | talos-obmc-linux-c0ca3d70e8d3cf81e2255a217f7ca402f5ed0862.tar.gz talos-obmc-linux-c0ca3d70e8d3cf81e2255a217f7ca402f5ed0862.zip |
ovl: modify ovl_permission() to do checks on two inodes
Right now ovl_permission() calls __inode_permission(realinode), to do
permission checks on real inode and no checks are done on overlay inode.
Modify it to do checks both on overlay inode as well as underlying inode.
Checks on overlay inode will be done with the creds of calling task while
checks on underlying inode will be done with the creds of mounter.
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'sound/arm/aaci.c')
0 files changed, 0 insertions, 0 deletions