X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=NativeLauncher%2Ftool%2Fdotnettool.cc;h=99bc00c629ece8f616c7c429f6591eec02631b45;hb=1cdab49c2d2a267f43d0ca5a4db2e0efe424cb3a;hp=749ad36c971746cab25c021df524b6ec6e2edce0;hpb=667e87b9e2fd3879ba6100b7fde9295408f9c337;p=platform%2Fcore%2Fdotnet%2Flauncher.git diff --git a/NativeLauncher/tool/dotnettool.cc b/NativeLauncher/tool/dotnettool.cc index 749ad36..99bc00c 100644 --- a/NativeLauncher/tool/dotnettool.cc +++ b/NativeLauncher/tool/dotnettool.cc @@ -18,6 +18,7 @@ #include "ni_common.h" #include "tac_common.h" #include "profile_common.h" +#include "privilege_common.h" #include "multi_target_resolver.h" #include "log.h" @@ -54,6 +55,8 @@ void DisplayUsage() { " (this option should be run as root)\n" " --rm-all-app-profile - Remove application profile of all packages for all users\n" " (this option should be run as root)\n" + " --check-all-app-privilege - Chcek application privilege of all package\n" + " (this option should be run as root)\n" "\n" "Options:\n" " --mibc - Specify Mibc files. Sepatated with ':'.\n" @@ -372,6 +375,10 @@ int main(int argc, char* argv[]) else if (cmd == "--rm-all-app-profile") { removeAllAppProfileData(); } + //sh-3.2# dotnettool --check-all-app-privilege + else if (cmd == "--check-all-app-privilege") { + checkAllAppPrivilege(); + } else { _SERR("Unknown option [%s]", cmd.c_str()); DisplayUsage();