Fix set_identity() call documentation to match implementation & assumptions 99/324299/1
authorTomasz Swierczek <t.swierczek@samsung.com>
Thu, 15 May 2025 07:31:14 +0000 (09:31 +0200)
committerTomasz Swierczek <t.swierczek@samsung.com>
Thu, 15 May 2025 07:31:14 +0000 (09:31 +0200)
Change-Id: I682fce4830f0f70e1c8bf90600c4de308e669608

src/include/app-runtime.h

index 02a8c7124fb6b1dce9bee930212c0ef6db15186d..96b40d6a8762c7ad605c0fbb3ab9b7fceef1c9ee 100644 (file)
@@ -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.