pm: change privilege of memory/pm/state 22/59722/1 accepted/tizen/common/20160301.120641 accepted/tizen/ivi/20160219.001830 accepted/tizen/mobile/20160219.001743 accepted/tizen/tv/20160219.001756 accepted/tizen/wearable/20160219.001813 submit/tizen/20160218.031350 submit/tizen_common/20160229.190608
authorTaeyoung Kim <ty317.kim@samsung.com>
Thu, 18 Feb 2016 01:45:51 +0000 (10:45 +0900)
committerTaeyoung Kim <ty317.kim@samsung.com>
Thu, 18 Feb 2016 01:50:38 +0000 (10:50 +0900)
- All apps can read memory/pm/state in Tizen 2.4
  which means that the key does not have privilege.
  Thus the privilege of Tizen 3.0 needs to be changed
  to public for all of apps.

Change-Id: I16fa763ebef6f920c27b1dbf76c75077e0abbf7c
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
data/vconf-internal-pm-keys.xml
scripts/vconf-internal-pm-keys.sh

index 4ca36cd..044ae7e 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <vconfkeylists>
   <filedef name="__VCONF_INTERNAL_PM_KEYS_H__"/>
-  <vconfkey type="int32" name="memory/pm/state" value="0" gid="6514" uid="" private_spec="true" layer="memory" readPriv="http://tizen.org/privilege/display" writePriv="http://tizen.org/privilege/internal/buxton/readonly">
+  <vconfkey type="int32" name="memory/pm/state" value="0" gid="6514" uid="" private_spec="true" layer="memory" readPriv="http://tizen.org/privilege/internal/default/public" writePriv="http://tizen.org/privilege/internal/buxton/readonly">
     <header>VCONFKEY_PM_STATE</header>
     <creator/>
     <email/>
index 2932969..c00e605 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-/usr/bin/buxton2ctl -i -d create-int32 "memory" "memory/pm/state"  "0"  "http://tizen.org/privilege/display" "http://tizen.org/privilege/internal/buxton/readonly"
+/usr/bin/buxton2ctl -i -d create-int32 "memory" "memory/pm/state"  "0"  "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/buxton/readonly"
 
 /usr/bin/buxton2ctl -i -d create-int32 "memory" "memory/pm/custom_brightness_status"  "0"  "http://tizen.org/privilege/internal/default/platform" "http://tizen.org/privilege/internal/default/platform"