From: Tomasz Swierczek Date: Thu, 15 May 2025 07:31:14 +0000 (+0200) Subject: Fix set_identity() call documentation to match implementation & assumptions X-Git-Tag: accepted/tizen/9.0/unified/20250522.165841~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1ef6575cf4c12a07878614199ad407451fde47b6;p=platform%2Fcore%2Fsecurity%2Fsecurity-manager.git Fix set_identity() call documentation to match implementation & assumptions Change-Id: I682fce4830f0f70e1c8bf90600c4de308e669608 --- diff --git a/src/include/app-runtime.h b/src/include/app-runtime.h index 02a8c712..96b40d6a 100644 --- a/src/include/app-runtime.h +++ b/src/include/app-runtime.h @@ -377,7 +377,10 @@ int security_manager_get_client_privilege_license(const char *privilege, char **license); /** - * Set credential of calling thread to one of system-roles or an application based on app name. + * Set credential of caller to one of system-roles or an application based on app name. + * + * On smack enabled system this operates on per-thread Smack labels. On smack disabled + * system, this changes process attributes. * * When process identifier is incorrect or not related to any package, this function will * return SECURITY_MANAGER_ERROR_NO_SUCH_OBJECT.