]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: Check CAP_DAC_READ_SEARCH for BTRFS_IOC_INO_PATHS
authorKusanagi Kouichi <slash@ac.auone-net.jp>
Mon, 28 Jan 2013 11:33:31 +0000 (11:33 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 20 Feb 2013 14:37:27 +0000 (09:37 -0500)
commit8bbf9793160772d98a4f45690256478768f0d34c
treee05ed50f2bba8279d397ea7dc87e65b7e6d5f83d
parent8735df2f89ad4a6737b86fcb899596196e0d6f66
Btrfs: Check CAP_DAC_READ_SEARCH for BTRFS_IOC_INO_PATHS

CAP_DAC_READ_SEARCH overrides read and search permission check on
file and directory. It seems fit for BTRFS_IOC_INO_PATHS.

Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/ioctl.c