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)
commit82b22ac8f651aebbf0149cbbbd5808f07753b09c
treee05ed50f2bba8279d397ea7dc87e65b7e6d5f83d
parentfe5fafbebd7e648aa6cb0a419dc812188b4d4ac8
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
This page took 0.04854 seconds and 5 git commands to generate.