"%s", DISABLED);
}
+ // Sdbd root permission
+ snprintf(g_capabilities.root_permission, sizeof(g_capabilities.root_permission),
+ "%s", DISABLED);
// Root command support
if(!request_capability_to_plugin(CAPABILITY_ROOT_ONOFF, g_capabilities.rootonoff_support,
char encryption_support[CAPBUF_ITEMSIZE]; // enabled or disabled
char appid2pid_support[CAPBUF_ITEMSIZE]; // enabled or disabled
char pkgcmd_debugmode[CAPBUF_ITEMSIZE]; // enabled or disabled
+ char root_permission[CAPBUF_ITEMSIZE]; // enabled or disabled
char log_enable[CAPBUF_ITEMSIZE]; // enabled or disabled
char log_path[CAPBUF_LL_ITEMSIZE]; // path of sdbd log
offset += put_key_value_string(cap_buffer, offset, CAPBUF_SIZE,
"syncwinsz_support", g_capabilities.syncwinsz_support);
+ // sdbd root permission
+ offset += put_key_value_string(cap_buffer, offset, CAPBUF_SIZE,
+ "sdbd_rootperm", g_capabilities.root_permission);
+
// Root command support
offset += put_key_value_string(cap_buffer, offset, CAPBUF_SIZE,
"rootonoff_support", g_capabilities.rootonoff_support);