From 41e14c7f9da5bdf07e2ac7a323c0fddab8a090a0 Mon Sep 17 00:00:00 2001
From: Stephen Smalley <sds@tycho.nsa.gov>
Date: Mon, 12 May 2014 08:41:14 -0400
Subject: [PATCH] Allow installd rename to app_data_file for movefiles command.

Change-Id: I29202292a78f0d2ae3b5da235c1783298f14bed8
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
---
 installd.te | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/installd.te b/installd.te
index 4f93d2b35..8f332b248 100644
--- a/installd.te
+++ b/installd.te
@@ -59,5 +59,5 @@ allow installd system_data_file:notdevfile_class_set { getattr relabelfrom };
 # upon package uninstall.
 # Types extracted from seapp_contexts type= fields.
 allow installd { system_app_data_file bluetooth_data_file nfc_data_file radio_data_file shell_data_file app_data_file }:dir { create_dir_perms relabelfrom relabelto };
-allow installd { system_app_data_file bluetooth_data_file nfc_data_file radio_data_file shell_data_file app_data_file }:lnk_file { create setattr getattr unlink relabelfrom relabelto };
-allow installd { system_app_data_file bluetooth_data_file nfc_data_file radio_data_file shell_data_file app_data_file }:{ file sock_file fifo_file } { getattr unlink relabelfrom relabelto };
+allow installd { system_app_data_file bluetooth_data_file nfc_data_file radio_data_file shell_data_file app_data_file }:lnk_file { create setattr getattr unlink rename relabelfrom relabelto };
+allow installd { system_app_data_file bluetooth_data_file nfc_data_file radio_data_file shell_data_file app_data_file }:{ file sock_file fifo_file } { getattr unlink rename relabelfrom relabelto };
-- 
GitLab