am fcd86911: allow init fs_type:dir search

* commit 'fcd86911d7102b049bd3c2208a133b310827cf66':
  allow init fs_type:dir search
This commit is contained in:
Nick Kralevich 2015-02-09 01:55:53 +00:00 committed by Android Git Automerger
commit 9e0aaf000c

View file

@ -91,7 +91,8 @@ allow init dev_type:dir create_dir_perms;
allow init dev_type:lnk_file create;
# chown/chmod on pseudo files.
allow init { fs_type -contextmount_type -sdcard_type -rootfs }:{ dir file } { open read setattr };
allow init { fs_type -contextmount_type -sdcard_type -rootfs }:file { open read setattr };
allow init { fs_type -contextmount_type -sdcard_type -rootfs }:dir { open read setattr search };
# chown/chmod on devices.
allow init { dev_type -kmem_device }:chr_file { read open setattr };