From 904e578339e7a6486c2eb7862a561ade3c00efda Mon Sep 17 00:00:00 2001 From: Marcin Lis Date: Mon, 7 Apr 2014 16:29:49 +0200 Subject: [PATCH] Update deprecated libprivilege-control API functions. Change-Id: I2a32ef588cb69e01ff48d5cc539a040323181385 Signed-off-by: Marcin Lis --- src/app/FApp_AppEntry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/FApp_AppEntry.cpp b/src/app/FApp_AppEntry.cpp index ce76bb0..367edba 100644 --- a/src/app/FApp_AppEntry.cpp +++ b/src/app/FApp_AppEntry.cpp @@ -64,7 +64,7 @@ extern void AppInfo_Update(void); static void AdjustPrivilege(const char* pkgname) { - set_privilege(pkgname); + perm_app_set_privilege(pkgname, NULL, NULL); } extern "C" int capset(cap_user_header_t hdrp, const cap_user_data_t datap); -- 2.7.4