Re: [PATCH 1/1] Platform app domain sdcard accesses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



YES..... correct... 

On Fri, Jul 27, 2012 at 10:54 AM, Stephen Smalley <sds@xxxxxxxxxxxxx> wrote:
On Fri, 2012-07-27 at 10:54 -0700, Haiqing Jiang wrote:
> ---
>  app.te |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/app.te b/app.te
> index df0f5df..818f5c0 100644
> --- a/app.te
> +++ b/app.te
> @@ -86,6 +86,9 @@ net_domain(browser_app)
>  # App sandbox file accesses.
>  allow platformappdomain platform_app_data_file:dir create_dir_perms;
>  allow platformappdomain platform_app_data_file:notdevfile_class_set create_file_perms;
> +# App sdcard file accesses
> +allow platformappdomain sdcard:dir create_dir_perms;
> +allow platformappdomain sdcard:file create_file_perms;
>
>  #
>  # Untrusted apps.

In that case, we should be able to delete the rules for platform_app and
media_app to sdcard, right?

--
Stephen Smalley
National Security Agency




--
-----------------------------------
Haiqing Jiang, PH.D student

Computer Science Department, North Carolina State University



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux