[Tizen-submit] 15863: Changes to Tizen:IVI/libprivilege-control

noreply at tizen.org noreply at tizen.org
Fri Oct 11 04:35:50 GMT 2013


Hi,
Michael Leibowitz have made the following changes to libprivilege-control in project Tizen:IVI. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #15863

  submit:       Tizen:IVI:build/libprivilege-control(cleanup) -> Tizen:IVI


Message:
Submitter: Michael Leibowitz <michael.leibowitz at intel.com>
Comments: submit to fix a build break
Git project: platform/core/security/libprivilege-control
Tag: submit/tizen/20131011.043745
Commit: d0f601762b1f1dfe77948209a58e874d44123c01 Fix build break in osp-installer.

State:   new        2013-10-11T04:34:16 tizenrobot
Comment: <no comment>
changes files:
--------------

spec files:
-----------
--- libprivilege-control.spec
+++ libprivilege-control.spec
@@ -2,7 +2,7 @@
 Summary:    Library to control privilege of application
 Version:    0.0.26.TIZEN
 Release:    1
-VCS:        platform/core/security/libprivilege-control#accepted/tizen/20130912.102114-0-gf4c11988c61d85c1bdb628f05deb8c24a66798c4
+VCS:        platform/core/security/libprivilege-control#submit/tizen/20131011.043745-0-gd0f601762b1f1dfe77948209a58e874d44123c01
 Group:      Security/Access Control
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz

other changes:
--------------

++++++ libprivilege-control-0.0.26.TIZEN.tar.gz
--- include/privilege-control.h
+++ include/privilege-control.h
@@ -52,6 +52,14 @@
        APP_TYPE_OTHER,
 } app_type_t;
 
+typedef enum {
+    APP_PATH_PRIVATE,
+    APP_PATH_GROUP_RW,
+    APP_PATH_PUBLIC_RO,
+    APP_PATH_SETTINGS_RW,
+    APP_PATH_ANY_LABEL,
+} app_path_type_t;
+
 /* APIs - used by applications */
 int control_privilege(void) __attribute__((deprecated));
 
@@ -69,6 +77,7 @@
  * @param path file system path to the binary
  * @return PC_OPERATION_SUCCESS on success, PC_ERR_* on error
  */
+int perm_app_set_privilege(const char* name, const char* type, const char* path);
 int set_app_privilege(const char* name, const char* type, const char* path);
 
 /**
@@ -78,6 +87,7 @@
  * @return id of the connecting widget on success, NULL on failure.
  * Caller is responsible for freeing the return widget id.
  */
+char* perm_app_id_from_socket(int sockfd);
 char* app_id_from_socket(int sockfd);
 
 /**
@@ -91,6 +101,7 @@
  * @param app_id application identifier
  * @return PC_OPERATION_SUCCESS on success, PC_ERR_* on error
  */
+int perm_app_install(const char* pkg_id);
 int app_install(const char* app_id);
 
 /**
@@ -104,6 +115,7 @@
  * @param app_id application identifier
  * @return PC_OPERATION_SUCCESS on success, PC_ERR_* on error
  */
+int perm_app_uninstall(const char* pkg_id);
 int app_uninstall(const char* app_id);
 
 /**
@@ -164,6 +176,7 @@
  * @return PC_OPERATION_SUCCESS on success, PC_ERR_* on error
  */
 int app_enable_permissions(const char* app_id, app_type_t app_type, const char** perm_list, bool persistent);
+int perm_app_enable_permissions(const char* pkg_id, app_type_t app_type, const char** perm_list, bool persistent);
 
 /**
  * Remove previously granted SMACK permissions based on permissions list.
@@ -177,6 +190,7 @@
  * @param perm_list array of permission names, last element must be NULL
  * @return PC_OPERATION_SUCCESS on success, PC_ERR_* on error
  */
+int perm_app_disable_permissions(const char* pkg_id, app_type_t app_type, const char** perm_list);
 int app_disable_permissions(const char* app_id, app_type_t app_type, const char** perm_list);
 
 /**

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list